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

Product Quantity and Steps

Started by jwdltd, April 30, 2014, 14:11:26 PM

Previous topic - Next topic

jwdltd

Hi, I have been looking for an answer to the following on VM2

I need to sell a minimum quantity of 10 items but then the quantity can go up in steps of 1

I have set the minimum quantity value to 10 and the steps to 1 but on the front end the quantity value still starts at 1 and allows the client to add this quantity to the cart although it shows 0 value until the client manually selects a quantity of 10.

Is there a way that the quantity value can start at 10 but still go up in steps of 1 after.

jenkinhill

http://forum.virtuemart.net/index.php?topic=79799.0

in VM2.6 on the Product Status tab for each product you can enter a value for Minimum Purchase Quantity    and for Purchase Quantity Steps, and assuming you use Fancybox then the popup will display the minimum required order when someone tries to add less.
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

jwdltd

Thank you for the repsonse.

I have checked that the Minimum Purchase and Quantity steps are set correctly which they are.

Is Fancybox a plugin that I need to install as an addition to make the pop up message work.

jenkinhill

No fancybox is a script installed by default, but some people turn it off in Configuration/Templates which stops the popup.
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

jwdltd

Thank you again for your response and sorry for the delay in getting back to you.

I have since switched on FancyBox which results in the pop up not showing but going to another page saying that the minimum quantity is 10, however, when Fancybox is on I loose functionality of the custom fields on all products.

GJC Web Design

without a url no one can help u - sounds like a JS conflict
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jwdltd

The URL is http://hivisclothing.com.

You will see that the minimum purchase quantity has been set, but if a client selects a quantity less than the specified, it does not bring up a message about the minimum requirements.