Multi check box

i,
I try and fail to develop a 4 x 4 table. Each cell in this table has a check box. My goal is to create an algorithm where each such cell is like a puzzle. At the end of all these choices, the person receives a summary of the price of all the selected products.