BUG 2.0.22a: Wrong prices shown in cart for stockable variants

Started by atrus, September 20, 2013, 08:29:09 AM

Previous topic - Next topic


Hi to all,

Noticed the following issue in VM2.0.22a:

When adding child products with different prices in the cart, the price shown in the cart is the same for all products! (It takes the price of the last added product and uses it for all children). When refreshing/change page, all prices are shown normal. We are using the stockable variants type.

You can see here:


Checked with template developer and they advised that this is VM bug. It seems that the methods:

$cart = VirtueMartCart::getCart(false, false);
            $cartAjax = $cart->prepareAjaxData();

always return the same prices after an ajax-request.

Would appreciate any advice.



Lowestoft, Suffolk, UK

Retired from forum life November 2023

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


Thanks for your reply,

Just tested VM2.0.22e, problem is still there!