Hello to all,
I hope you will be able to help me.
I am currently creating an e-commerce website for a catering client.
My product pages are created and the links to the shopping cart as well.
Only I have a huge problem that I can’t solve despite multiple attempts.
Let me explain it to you:
When I add a product that we call Ham#1, let’s imagine that I add 5 quantities. In my cart, I have 5 quantities of Ham#1, only if I want to add another ham#1 via its product page and not via the cart, that I click on the “add to cart” button, I end up with 2 boxes of Ham#1 in my cart. The first one has 5 quantities and the second one has 1 quantity (the one I added).So my question is how do I make sure that when I add a product already in my cart, the new quantity is automatically added in the previous quantities and not in a new box?
PS: I’m French, don’t hesitate to answer in French.