Save list of products chosen by the client

0

A query: I have a list of products, and for each of them both their name and their id are dynamic, for example I have 50 products, name = NAM + codigoproducto (NAM1, NAM2, NAM3, etc) This list is placed in an HTML table, which has a column for the name, another for the price, another for the amount and has a check in one of the columns for when the user wants to buy the product, how can I save in the database the products that the client has chosen?

Usually I use a form to send the data and through a controler I save the fields, but in this case they can be N products. I am using Java (Play framework) Thank you very much for your support. Greetings.

    
asked by AlexIBK 22.02.2018 в 21:30
source

0 answers