VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Coding Central => Topic started by: atrus on September 20, 2013, 08:29:09 AM

Title: BUG 2.0.22a: Wrong prices shown in cart for stockable variants
Post by: atrus on September 20, 2013, 08:29:09 AM
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:

http://www.quality-tuning.eu/interlock-stainless-steel-exhaust-flexible-pipes

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.

Rgrds
Title: Re: BUG 2.0.22a: Wrong prices shown in cart for stockable variants
Post by: jenkinhill on September 20, 2013, 11:01:42 AM
What about in the current version, 2.0.22d ?  (See http://virtuemart.net/news/list-all-news/446-important-security-release-vm-team-at-joomladay-germany for notes about template override changes)
Title: Re: BUG 2.0.22a: Wrong prices shown in cart for stockable variants
Post by: atrus on September 23, 2013, 15:01:03 PM
Thanks for your reply,

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

Rgrds