VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Mister Paul on December 30, 2019, 16:00:29 PM

Title: How to set an ending date of availability for a product?
Post by: Mister Paul on December 30, 2019, 16:00:29 PM
Hi,

I'd like to make a Virtuemart product unavailable after a date.
Unfortunately I don't see in my VirtueMart 3.4.2 version any parameter for that in the Product/Product Status tab (I see only a date for the begining of availability).

The only way I found is to go in Product/Product Information tab/Product pricing. Set Available for All Shopper Groups and set an enddate. The bad thing is that I get a button : COM_VIRTUEMART_PRODUCT_ASKPRICE. So I have to creat an override to avoid this button.

Did I miss something and is there a more natural way to set an ending date of availability for a product?

Thanks for your help
PAul
Title: Re: How to set an ending date of availability for a product?
Post by: Jörgen on January 02, 2020, 08:40:33 AM
AFAIK There is No standard way stop displaying a produkt. You have to make overrides in your template for this.

Jörgen @ Kreativ Fotografi