Use several "Action when a Product is Out of Stock" depending of product

Started by Yaya27, November 03, 2021, 10:35:50 AM

Previous topic - Next topic

Yaya27

Hi,

In our VM configuration, we selected this "Action when a Product is Out of Stock" : Products Out of Stock are orderable.

I wanted to find out if VirtueMart (even with an extension) allows to override this behavior by another for only few products or a category. For example stop the sale for few products in spite of the general setting.

Thanks for your help.
Hervé

Full Stack Web Developer for

[FR] FDBI - https://www.fdbi.com
[EN/FR] Imprimante3dfrance - https://imprimante3dfrance.com

pinochico

Add product to new category
Edit productdetail.php and add if/else

"If product is from the new category, don't call sub layout add to cart"

very easy end quickly.
Go on :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products