VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mronayne on February 20, 2015, 02:12:31 AM

Title: Cart Quantity Not incrementing properly!
Post by: mronayne on February 20, 2015, 02:12:31 AM
I am running Joomla V 3.4.0, VirtueMart 3.0.6

This problem only occurs on a child variant page after selecting "Choose a variant" from the parent product page.

After selecting the variant, when I click on the "+" button in the Add to Cart Button the quantity increments by twice the value set in the product for "Purchase Quantity Steps". For example, if Purchase Quantity Steps is blank or 1, the quantity in the Add to Cart Button increments by 2 each time the "+" is clicked. If Purchase Quantity Steps is set to 3, the quantity in the Add to Cart Button increments by 6 each time the "+" is clicked.

However, if I refresh the page after selecting "Choose a variant" then the quantity increments properly. If I then choose another variant, the problem reappears until I refresh the page...

You can see the problem here:
http://cejay2014.cejayengineering.com/products/buy-online/cockpit-personal-lighting/glostick-seer-lights/two-color-mk-glo-wand-6-34-double-end-detail

Just select different variants and then click on the "+". This product is configured to increment by 1...
Title: Re: Cart Quantity Not incrementing properly!
Post by: Milbo on February 20, 2015, 16:41:50 PM
yeh, I just noticed the problem myself (3 hours ago). The problem is that the js is bound twice.
Title: Re: Cart Quantity Not incrementing properly!
Post by: mronayne on February 21, 2015, 15:15:50 PM
Any idea when this might be fixed?
Title: Re: Cart Quantity Not incrementing properly!
Post by: jenkinhill on February 21, 2015, 16:08:57 PM
I believe the fixed version is already done. Try com_virtuemart.3.0.6.zip from http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: Cart Quantity Not incrementing properly!
Post by: mronayne on February 21, 2015, 16:53:36 PM
Still broken...
I followed your link - downloaded and installed this version, then re-tested and the problem still exists.
Visit this link: http://cejay2014.cejayengineering.com/products/buy-online/ir-strobes-beacons/distress-beacons/one-color-mk-glo-wand-4-34-single-end-detail (http://cejay2014.cejayengineering.com/products/buy-online/ir-strobes-beacons/distress-beacons/one-color-mk-glo-wand-4-34-single-end-detail)
Under "Please select an option" force a refresh by choosing a different option and then click on the "+". You should see the quantity jump from 1 to 3 when it should increment by 1.
Title: Re: Cart Quantity Not incrementing properly!
Post by: Milbo on February 23, 2015, 14:31:50 PM
is fixed some hours ago. Fix is in svn, we will release soon a vm3.0.6.2
Title: Re: Cart Quantity Not incrementing properly!
Post by: mronayne on February 23, 2015, 14:55:57 PM
Thank you!

Is it possible for you describe how I might apply the fixed code to VM 3.0.4?
I am not ready to update to 3.0.6 due to other issues and I need to try and get my 3.0.4 site working...

Regards,
Mike
Title: Re: Cart Quantity Not incrementing properly!
Post by: Milbo on February 23, 2015, 23:57:55 PM
http://dev.virtuemart.net/projects/virtuemart/repository
Title: Re: Cart Quantity Not incrementing properly!
Post by: mronayne on February 27, 2015, 22:31:53 PM
Any prediction as to when vm3.0.6.2 might be available for download?
It appears that a lot of the things that are preventing me from going live are fixed in this next minor release.
Title: Re: Cart Quantity Not incrementing properly!
Post by: mronayne on March 04, 2015, 18:31:03 PM
I just downloaded VM 3.0.6.2 and it did fix this problem!

Thank You!