How can I add the price of an item selected together?
I have created a shopping cart for my app. I'm trying to make the price of the items within my database add together as the user add to the cart. Can anyone help me with that?
I have a database of Product Names and Price of the product. As the user clicks what product they want, the app searches the database for the item id and returns the name of the product and price to the checkout page. How do I get the price of the items to add together or subtract from one another as the user select or deselect?