cancel
Showing results for 
Search instead for 
Did you mean: 

Set is_featured expiry date on .csv import ?

Set is_featured expiry date on .csv import ?

Morning everyone.

Been using M2 for a few months now, and getting more confident in expanding our .csv product import.

One of the things I'm trying to work out is how to set a new product so that it appears on the 'Featured' section of the homepage, but only for a month or a predefined time period, so that the 'Featured' section is updated with new / fresh items which then stop displaying after a month.

 

We import our stock using .csv which is working well.

 

I have looked at is_featured and new_to_date but it doesn't appear to do much.

 

Any support appreciated, I have searched the forums before posting btw.

2 REPLIES 2

Re: Set is_featured expiry date on .csv import ?

hello @noel_vance 

 

for showing products for an interval
you can create 2 attributes like is_featured_to and is_featured_from and based on your condition you need to change the collection of your home page featured product section block to get your desired output

 

If my answer is useful Click Kudos and Accept as Answer

 

Re: Set is_featured expiry date on .csv import ?

Hi @noel_vance 

Yes, you have these two columns, and the you should re index

new_from_date new_to_date


I hope it will help you Smiley Wink