Issue with Quantity Increment in Shopping Cart

23.05.2025 23:55
#1
kreativ quadrat
User kreativ quadrat
Name: garry
25.11.2010
Сообщения: 406
Quote
Issue with Quantity Increment in Shopping Cart

Hello admin,
I hope you’re doing well. I’d like to report a behavior I’ve encountered in the shopping cart that I believe could be improved.

Steps to reproduce:
Go to any product page and select a quantity (e.g., 6 pieces).
Click “Add to Cart.” The cart correctly shows “6 × [Product Name]”.
Return to the same product page and click “Add to Cart” again (without changing the quantity selector, which remains at 1 by default).

Current behavior:
Instead of updating the existing cart line to “7 × [Product Name],” a new line appears for “[Product Name]” with quantity 1.
The cart displays two separate entries: one for 6 units and one for 1 unit of the same product.

Expected behavior:
When adding a product that already exists in the cart, the system should detect the existing entry and increment its quantity accordingly, rather than creating a new line item.

Why this matters:
Consolidating identical products into a single line with an updated quantity improves clarity for customers.
It reduces confusion at checkout and ensures accurate stock management.

Would it be possible to adjust the cart logic so that adding an existing product increases its quantity in the same line item?
Please let me know if you need any further information or logs.

Thank you for your help!

 
24.05.2025 08:39
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28361
Quote
Aw: Issue with Quantity Increment in Shopping Cart

Default. yes - (there is 1 entry with the amount in the basket)
http://demo.joomshopping.com/

Addons can change behavior. (sometimes it is necessary)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.