facebook tracking image

Tagging Shopify Products Based on Date of Creation

Feel free to watch our companion video or follow this article.

In this article we are introducing our new filter condition called Time Since Product Creation. This new condition allows Shopify products to be filtered based on the date they were created. With this filter at your possession, you can easily tag ‘new’ or ‘old’ products.

In this tutorial we will demonstrates how this condition can be used to create a New arrivals page for your store. Of course, this is just one scenario of many that are enabled by this new functionality.

So our goal is to create a page called New Arrivals where products created in the past 90 days are displays. We want to fully automate this so new products are automatically added to this page and old ones are automatically removed.

On the Shopify side, we simply create a new collection where products tagged with “New Arrivals“ will be included in the collection. Then we simply create a navigation menu that will navigate to our new collection. Simple as that.

Of course, no one wants to manually add the New Arrivals tag to every new product. Let’s demonstrate how Tag Genie will help us to automatically tag products with New Arrivals based on how old a product is.

Step 1 - Create Custom Tag Operation To Add Tag

The first step is to create a new tag operation to add the tag New Arrival. Since we do not want to add this tag to all products, let’s add a condition called Time since product creation.

Step 1 Image

This condition will select only products that have been created in the past 90 day. Now that we are working with those products only, let’s add the respective tag.

Step 2 Image

We are ready! Go ahead and create this operation. This operation will add the tag to any new products - if there are any.

So far so good but let’s go ahead and automate this operation. We do not want to manually execute this operation every time there are new products.

Step 2 - Automate Tag Operation

Go ahead and navigate to Automations and choose to create a new automation. This is where we tell Tag Genie to execute a tag operation automatically based on a schedule or other automation types. Choose a good name for this automation and then the operation that should be automated - the operation we have just created in the previous step.

Step 3 Image

We choose a recurring schedule to execute the operation every day. Here we can choose an option that is best for the respective store. You can choose the operation to be executed more frequently like every 30 minutes but that probably does not make any sense in this scenario.

Click Create, to create the automation. Now, this operation will be executed automatically every day and any new Shopify products will be tagged with New Arrivals.

So far so good but we are not done yet. What about products that have been tagged as new but are more than 90 days old? Now we need to create operation to remove the New Arrivals tag when a product becomes older than 90 days.

Step 3 - Create Custom Tag Operation To Remove Tag

We will use the same filter condition but this time we are going to use the option “is at least“ to select products that are older than 90 days.

Step 4 Image

Here we want to remove the tag New Arrivals.

Step 5 Image

Once this operation is created we need to automate it the same way we automated the first operation.

Step 4 - Automate Remove Tag Operation

Go ahead and create a new automation, this time selecting the operation that we have just created using the same schedule we used before.

Step 6 Image

Create the automation and we are done.

Summary

We now have a fully automated process for tagging products with New Arrivals when a new product is created on our store. Once any product becomes older than 90 days, the tag will be removed and the product will no longer appear in the New Arrivals section.

Amazing!

layouts/posts/single.html
Key Value
Template layouts/posts/single.html
Content Source posts/2021-10-18-tagging-shopify-products-based-on-date-of-creation/index.md
Type posts
Kind page
Section posts
Layout
maps.Params{"authors":[]string{"Milan Nankov"}, "categories":[]string{"News"}, "date":time.Date(2021, time.October, 18, 0, 0, 0, 0, time.UTC), "draft":false, "image":"posts/tagging-shopify-products-based-on-date-of-creation/featured.png", "images":[]string{"posts/tagging-shopify-products-based-on-date-of-creation/featured.png"}, "iscjklanguage":false, "lastmod":time.Date(2021, time.October, 18, 0, 0, 0, 0, time.UTC), "publishdate":time.Date(2021, time.October, 18, 0, 0, 0, 0, time.UTC), "slug":"tagging-shopify-products-based-on-date-of-creation", "summary":"In this article we will cover the various ways to edit product tag in your Shopify store using Tag Genie and what our apps has to offer.", "tags":[]string{"Releases"}, "thumbnail":"posts/tagging-shopify-products-based-on-date-of-creation/featured.png", "title":"Tagging Shopify Products Based on Date of Creation"} (type:maps.Params)
SiteInfo Variable Value
Title "Tag Genie - Bulk Edit & Automate Tags for Shopify"
Author
Social
LastChange 2022-12-05 00:00:00 +0000 UTC
DisqusShortname ""
GoogleAnalytics "G-DZMZT5Y535"
Copyright ""
RSSLink "https://taggenieapp.com/index.xml"
LanguageCode "en-us"
BuildDrafts false
Params maps.Params{"debugbar":true, "font_base":"'Lato'", "font_heading":"'Roboto'", "footer":maps.Params{"description":"Bulk edit & automate product, customer, and order tags & metafields for Shopify. Reduce overhead and improve sales by fixing missing or incorrect tags.", "facebook":false, "footer_primary_heading":"Product", "footer_secondary_heading":"Resources", "footer_tertiary_heading":"Support", "linkedin":"https://www.linkedin.com/company/tag-genie/", "show_footer_logo":true, "show_menu_footer_primary":true, "show_menu_footer_secondary":true, "show_menu_footer_tertiary":true, "show_social_media_links":true, "show_zerostatic_link":false, "twitter":"https://twitter.com/taggenie", "youtube":"https://www.youtube.com/channel/UCxRhEM0h12RRcLveP2h4Grg"}, "global":maps.Params{"header_fixed":true}, "grey_color":"#E6E9F5", "hero":maps.Params{"hero_background_gradient_one":"#2b3af7", "hero_background_gradient_two":"#2b8cf7"}, "homepage":maps.Params{"features_title":"Take control of your tags!", "show_features":true, "show_testimonials":true, "testimonials_title":"What people are saying..."}, "mainSections":[]string{"posts"}, "mainsections":[]string{"posts"}, "primary_color":"#4654A3", "secondary_color":"#E6E9F5", "secondary_light_color":"#E6E9F5", "sitename":"Tag Genie - Bulk Edit & Automate Tags for Shopify", "title_suffix":"Tag Genie for Shopify"} (type:maps.Params)
navigation.Menus{"footer_primary":navigation.Menu{(*navigation.MenuEntry)(0xc0002c3790), (*navigation.MenuEntry)(0xc0002c3a00), (*navigation.MenuEntry)(0xc0002c3ad0)}, "footer_secondary":navigation.Menu{(*navigation.MenuEntry)(0xc0002c3ba0), (*navigation.MenuEntry)(0xc0002c3c70), (*navigation.MenuEntry)(0xc0002c3ee0)}, "footer_tertiary":navigation.Menu{(*navigation.MenuEntry)(0xc000348410), (*navigation.MenuEntry)(0xc0003485b0)}, "main":navigation.Menu{(*navigation.MenuEntry)(0xc0002c3110), (*navigation.MenuEntry)(0xc0002c3520), (*navigation.MenuEntry)(0xc0002c35f0), (*navigation.MenuEntry)(0xc0002c36c0)}} (type:navigation.Menus)