Like this.
Is there any way to prevent this or atleast merge the quantity of the 2 same products?
Ive tried looking everywhere and cant find a solution
I’m guessing you’re creating a new line item every time the add to cart button is clicked, even if the product is already in the cart.
So the way to prevent that is by not doing that… i.e. only create a new line item if the product is not already in the cart. And if it is, then just update the existing line item.
@adamhholmes Yes i know that is the solution , but i need to know how exactly im supposed to do that. Ive tried trial and error but im not able to figure it out.
See i understand what you are saying but i really need you to dumb it down to me , i understand the logic of why some things are not working but i do not know how to fix them , i need more specific instructions on what to do ie where to go , what to press , what to change.
Okay i realized how that poses an issue , no thats not what i intend to do.
So i should make it so that every user already has a shopping cart and only the items/products are added to it?
Also now , i realize that i only have surface level knowledge of bubble and i will educate myself further and properly learn what everything does and means instead of posting because of lack of knowledge.
Im really sorry for being a bother and wasting your time.
I would really appreciate it if you stooped down to my level and helped me with this part though.
No bother at all… that’s what this forum is for…
The forum is a great way to get answers on things you’re having problems with, or can’t work out for yourself… so never be afraid to ask things in here.
But, experimenting and trying things out for yourself is also an excellent way to learn how things work… so keep on building and experimenting, and when you get stuck, post your questions in here.