Author Topic: BUG 2.0.22a: Wrong prices shown in cart for stockable variants  (Read 2116 times)

atrus

  • Jr. Member
  • **
  • Posts: 127
BUG 2.0.22a: Wrong prices shown in cart for stockable variants
« 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27730
  • Always on vacation
    • Jenkin Hill Internet
Re: BUG 2.0.22a: Wrong prices shown in cart for stockable variants
« Reply #1 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)
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.8.0 10314 on Joomla 3.9.16 PHP 7.0.33

atrus

  • Jr. Member
  • **
  • Posts: 127
Re: BUG 2.0.22a: Wrong prices shown in cart for stockable variants
« Reply #2 on: September 23, 2013, 15:01:03 pm »
Thanks for your reply,

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

Rgrds