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

Problem with purchase quantity steps

Started by naoko15, September 11, 2018, 11:46:19 AM

Previous topic - Next topic

naoko15

Hi, there are some products in my store that can only be purchased in boxes of 12 or 24 units. My problem is that if the stock is not a multiple of these quantities, the customer can end up purchasing the wrong number of products.

Example:
Product: 1 case of 24 beers.
Minimum Purchase Quantity 24
Purchase Quantity Steps 24
Stock 25

The customer can add 48 bottles to the shopping cart but at checkout it will be displayed 25. They should not be allowed to purchase a wrong quantity, even if stock is incorrect.

In VM 2 this worked correctly.

Is there any way to fix this?

VirtueMart 3.2.14
Joomla! 3.8.12 Stable

Thanks.

Studio 42

You can modify the javascript, it never worked perfectly.
But this need to overide many codes in the template to not call the current step javascript.