Unfortunately, Liquid, the Shopify templating language, does not allow for direct read and write operations on a product's metafields or for date comparisons.
Manipulating metafields and date comparisons are operations that are typically done in the backend of an application using the Shopify API, in a language like Ruby, Python, or Node.js.
While you can access metafields in a Liquid template, you can't use them to trigger actions like adding a tag to a product.
This task would require a custom solution, possibly a custom app, that uses the Shopify API to periodically check the date in the product metafield and add a tag if necessary.
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024