News:

Looking for documentation? Take a look on our wiki

Main Menu

[FIXED] Mini-cart : Wrong number of products

Started by JoomDav2010, December 30, 2007, 17:52:45 PM

Previous topic - Next topic

JoomDav2010

Description :
In some cases, the number of products shown in the minicart is not correcty updated.

Example :
I buy 4 hammers, minicart updates right and shows "4 products" -> ok
I go back to handtools category and choose product details for handshovel, I add a quantity of 1 red handshovel
The pop-up says that 1 product has been added but the mini-cart still shows "4 products" -> wrong
If I go back to the handtools category list, the mini-cart is updated "5 products" -> ok
But, if I had to cart a nice saw from the product details page, the minicart updates wrong and shows again "4 products" -> wrong.

=> To me, it seems that the bug occurs only when you add a product in the product details page. Then the mini carts updates wrongly and shows the quantity of the first article you bought in the session.

There's no problem with the regular cart that shows all the products with the right quantities.


VirtueMart Version : Nightly build 1112

Joomla Version : 1.5 RC4 nightly build (25/12/2007)

System info:
Local wampserver 2
Php 5.2.5
Apache 2.2.6
browser : IE 7

jenkinhill

#1
Confirmed for Joomla 1.5 (legacy mode) - minicart is correct if page is refreshed. With Joomla 1.0.13 the minicart works as expected, the cart is updated correctly.

Database Version: 4.1.22
PHP Version:       5.2.4 and 4.4.4
Web Server: Apache
VirtueMart 1.1: Ver. 1112
Joomla! Version: Joomla! 1.5 Beta4+ Rev 9682 2007-12-20

Added to tracker: http://dev.virtuemart.net/cb/proj/tracker/itemDetails.do?task_id=1627
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


jenkinhill

Product number in cart updates OK for me on J1.5.3 VM1.1 final
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum