Used for: Filtering or altering products based on specific dates.
Date fields are an effective tool in filtering your product feed, or for example to check which products in your feed are newer than others.
To use the date fields, the first and most important step is to map them correctly. To do this, click the ''Setup'' tab on the left hand side of the screen, after which you click ''Edit mapping'', as seen in the screenshot below.
Once you are inside the mapping settings, it's time to set up your date field(s). There are three different date fields you can select: date, start_date and end_date. All of them have the same properties, they only differ in name. Date fields are used by connecting them to an existing field from your import feed. In the screenshot below, you can see how this is done. It is important to uncheck ''Custom'', without doing this you cannot select the date fields.
After you connected your imported field to a date field, it is important that you select the correct date format. By clicking the ''+'' sign as seen in the screenshot below, you can select the specific format that is used in your import feed.
Note: If your date has the format of 'year-month-day', you might have to select the ISO 8601 option from the date format drop down. This is an international standard that also has the 'year-month-day' format, so you might have to try both options to see which one works.
After following these steps, you have successfully created a date field, nice! Now, it's time to actually use them. In the screenshots below are some examples of how the date fields can be used.
Removing a sale ''sign'' from your title:
And if you want to add something to a field, like letting your customers know certain products are on sale, this is of course also possible:
Filtering products based on their date of creation: