Change simple product into variable product

Hi Sanjeev,

Following my questions about ‘Bypass the Any Date in Search bar’, I have this question:

Can I change an existing simple product into a variable product?

I don’t see the “Dates and Prices” field or tab when I create a new variable product but I found this on this support site: https://www.support.waituk.com/hc/en-us/articles/115003533705-Entrada-Tours-Attributes-Variations but I’m not entirely clear yet. It says: ‘The dates are the variation type and you can only use dates as your attributes and its variations to create the variations of “Dates and Prices”.’

If I fill in ‘duration’ as Attributes (since I need to fill in an attribute first), can I simply put ‘All days’?

And then under ‘Variations’ > “All days” >

Start date: 2018-01-01

End date: 2028-12-31

Tour: available

When performing a search from the home page, and selecting a specific month (::start_month_year_selectbox function), this doesn’t bring up this new variable tour yet.

Can you see what I’m missing here?

Thanks,

Stone

Hello Stone,

The start date should be a future date. So, from your example, if you change 2018-01-01 to 2018-05-01 or any future date, it will show, until that date is a past date because the tour start date can not be a past date.

Thank you

Hi Sanjeev,

Thank you.

In that case, there is no advantage for us changing our products to variable products. My client would really like to bypass the ‘Any Date’ in the filter Search bar. Can you give me a pointer in which file I can disable this function?

In other words: keep the ‘Any Date’ in the filter Search bar so visitors can still select a specific month but make ALL products show up in any month (as all the cruises are available in all months).

Thanks,

Stone

Hello there,

The file is inside plugins folder entrada-vc-addons >> vc-extended-shortcode.php and around line 431 starting from

/* Entrada VC Search Block

Thank you