Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: [SOLVED] Problem with products quantity in cart

[SOLVED] Problem with products quantity in cart 11 years 4 months ago #1499

Hi,
I think there is some bug.
If I use the plugin "stockable variants" to configure sizes, and I put some quantity in cart, it add quantity two by two or three by three.

If I don't use the plugin there are no problems.

This is the link: www.cosecool.com/it/
This is a product with selectable sizes (sockable variants) www.cosecool.com/it/lemare-it/sneaker-beige-detail.html
This is a product without it www.cosecool.com/it/lemare-it/scarpa-blu-detail.html

Would you please help me?

Thanks in advance
Last Edit: 11 years 4 months ago by Sydonia Production srl.
The administrator has disabled public write access.

Problem with products quantity in cart 11 years 4 months ago #1550

Hi,

It is a problem of Virtuemart itself (not our VM Template).
See this forum post for solution:
forum.virtuemart.net/index.php?topic=100101.0

Basically;

Open this JS file;

/components/com_virtuemar/assets/js/vmprices.js
And change the following two lines that you can find at the top of the file:

Change:

plus = cart.find('.quantity-plus'),
minus = cart.find('.quantity-minus'),

with:
plus = cart.find('.quantity-plus').unbind("click"),
minus = cart.find('.quantity-minus').unbind("click"),
The administrator has disabled public write access.
Time to create page: 0.071 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo