Calculate Total Costs

I’m making a cart for my website currently and I’ve managed to make the quantity x price for the price of each product but I’m not sure how to add all of the prices to make the total.

So far it doesn’t take the quantity into account and just adds the base price.

This topic was automatically closed after 70 days. New replies are no longer allowed.