VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Iryn3l on April 26, 2021, 15:12:32 PM

Title: Maximum products ordered
Post by: Iryn3l on April 26, 2021, 15:12:32 PM
Hello
I have a problem at the moment, and I don't know if it can be done from somewhere in Vm so that the client can't add more products to the cart (order) than I have in stock.
A piece of advice for me?
Thank You

VirtueMart 3.8.4 10335
PHP 7.3
Joomla! 3.9.20
Title: Re: Maximum products ordered
Post by: Jörgen on April 26, 2021, 15:16:11 PM
This is set in VM back end VMConfiguration->configuration->Shop Front

Jörgen
Title: Re: Maximum products ordered
Post by: Iryn3l on April 26, 2021, 15:41:47 PM
Hello
You are referring to: "Action when a product is out of stock"

I set this , it is  ok, but I mean the following example:
I have 3 products in stock, and I want a client not to be able to order 4 .. At this moment the client can do that ..
I can't find such a setting in VMConfiguration-> configuration-> Shop Front
Title: Re: Maximum products ordered
Post by: jenkinhill on April 26, 2021, 16:17:13 PM
This is from the add to cart popup for a product with 3 in stock, one on pre-order (ie payment pending), the config/shopfront/action when product is out of stock is set to  Displays 'Notify Me' instead of 'Add To Cart' button.

I try to order 4 - VM will only allow me to add 2 to cart, which is the correct function.

Using VirtueMart 3.8.9 10473 on Joomla 3.9.25  Default VM templates.

(https://i.ibb.co/WGBwG4J/Ashampoo-Snap-Monday-26-April-2021-15-8-9-001-H.png)
Title: Re: Maximum products ordered
Post by: Jörgen on April 26, 2021, 16:20:54 PM
Jenkins has given the exact description.

Jörgen
Title: Re: Maximum products ordered
Post by: Iryn3l on April 27, 2021, 10:41:40 AM
Thank you
Now it's ok, I didn't know about this setting