Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
so i need to make flow, that checks if date in product metafield was before now, and if so add tag to it.
i created this flow with shopify chat assistant, and its not working
this is metafield
whats wrong?
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.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025