Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I'm preparing to transition from tags to metafields, and need to create a flow to add multiple values to one metafield based on product tags. For example, a product might be tagged "French" and "Modern", and both of those values should be added to the "Period" metafield.
The issue I'm having is that my flow will only add one value to the metafield, not both.
The simpler way to do that is to write some code instead. Something like:
Put liquid code in the update product metafield to loop over the tags and build that list. Or put in a Run code action to do that via JavaScript instead. This code example is similar, except it looks for tags that have a prefix on them. https://github.com/Shopify/flow-code-examples/blob/main/run-code-examples/product-tags-to-metafields...
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024