Here’s a link to the template: https://shopify.com/admin/apps/flow/web/editor/templates/908286d2-3e4c-4d9d-8e28-3cf9b12db4df
If that doesn’t work, look for the one titled, “Update a product metafield if a product tag has a certain prefix”
A user seeks to automatically populate product metafields from prefixed tags (e.g., ‘brand_nike’) using Shopify Flow, since they cannot fully transition to metafields due to collection limitations and listing integrations.
Solution Provided:
{% for tag in product.tags %}{% if tag contains "brand_" %}{{ tag | remove: "brand_" }}{% endif %}{% endfor %}Key Limitations:
Common Issues Resolved:
{{- tag -}})Alternative Approach:
Here’s a link to the template: https://shopify.com/admin/apps/flow/web/editor/templates/908286d2-3e4c-4d9d-8e28-3cf9b12db4df
If that doesn’t work, look for the one titled, “Update a product metafield if a product tag has a certain prefix”