VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mailblade on October 02, 2017, 16:36:00 PM

Title: Limit order quantity based off customfield value?
Post by: mailblade on October 02, 2017, 16:36:00 PM
Hello.

Assume I have a product "White Shirt" with a Stock Quantity of 30. Let's also say I have a customfield_value (store_availability) that has the value "15".

Can I somehow limit the amount you can order to only 15, even though there is 30 in stock?

I have a few stores and each one is shown their own store availability based on their user group.

So one store might have "5", the other "10". However, the logged in user group can only order the amount they have in the custom field (store_availability) for their store.

Is this possible or a bit too far fetched?

Thanks
Title: Re: Limit order quantity based off customfield value?
Post by: K&K media production on October 02, 2017, 19:49:48 PM
product edit -> status tab -> Maximum Purchase Quantity