Used for: Filtering or altering items based on specific dates.
Date fields are an effective tool in filtering your feed, or for example to check which items 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 in the mapping settings, it's time to set up your date field(s). There are many different date fields you can select from e.g. date, start_date, end_date etc. 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 default 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. Read more about deciding which format to choose on this support page.
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 items are on sale, this is of course also possible:
Filtering items based on their date of creation: