News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cart Quantity Not incrementing properly!

Started by mronayne, February 20, 2015, 02:12:31 AM

Previous topic - Next topic

mronayne

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...

Milbo

yeh, I just noticed the problem myself (3 hours ago). The problem is that the js is bound twice.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mronayne


jenkinhill

I believe the fixed version is already done. Try com_virtuemart.3.0.6.zip from http://dev.virtuemart.net/projects/virtuemart/files
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

mronayne

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
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.

Milbo

is fixed some hours ago. Fix is in svn, we will release soon a vm3.0.6.2
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mronayne

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

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mronayne

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.

mronayne

I just downloaded VM 3.0.6.2 and it did fix this problem!

Thank You!