Creating multiple database entries with one button


I have made a list with products in which you can enter required quantites. in each line I have placed a button when this is pressed the a new entry in the cart collection is made. This means that I have to press the button for each and every line.

I would actually prefer to enter the quantites for all the items and then click a button once and then all the entries are created at the same time. My problem is that if I place a button outside the list then I can not refer to the information in the table.

Can anyone maybe help with this

Best regards


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.