News:

Looking for documentation? Take a look on our wiki

Main Menu

I need the value of the number of products. Before adding it to the cart.

Started by miroki, July 11, 2017, 13:40:30 PM

Previous topic - Next topic

miroki

Hello.
I need the value of the number of products before adding it to the cart.
After pressing +, the value increases. I need the new figure. (4 of the attachment)
I expected it to be "quantity". Before adding to the cart, "quantity" is just one unit. And I'm looking for the increased number.
Which variable I can use.
Thank you very much, I wander all day.
VM 3.2.2.
J. 3.7.2

VMTemplates.net

Hi,

try this:

1. open a product
2. select Product Status
3. Type 4 in  Minimum Purchase Quantity field (Products Status area)

Thanks,
Jason.
We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

miroki

Thanks, but I do not ask that.
I'm integrating a credit calculator.
The default quantity is 1 and the calculator works for one product. When you press +, another product is added, but the variable "quantity" continues to be 1. In the row reads 2. And the variable is 2.
Which variable to use to take the new number.
I have to take the number that is visible after pressing + or -.
You have to put it in the calculator to work.
Š¢hanks.