For a school project we need to make a webshop with shopping cart and database, We are selling games and we have found out how to get a button and send the product to the shopping cart and increasing the number of products with + or decreasing with -. But if we increase the product by pressing +, and go to another tabblad ( for example back to the products tabblad), then it isn’t saved so it is back to 1 product in the shopping cart. i think this might be a problem with the sessions. Can somebody help me please?
I’ve tried it with chatgpt, but it doesn’t work. (Im working with codeanywhere btw)