Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Is it possible to add a customer's metafield value to a tag in Shopify Flow?
Even if I enter a variable in metafield, I cannot expand the contents of the loop, so I cannot retrieve the value. Is there a way to achieve this?
Solved! Go to the solution
This is an accepted solution.
Hi, you can add metafields values in tag and use liquid loops in as the body of a tag. An example is:
{% for metafields_item in order.customer.metafields %} {% if metafields_item.key == 'yourkeyname' %} {{metafields_item.value}}{% endif %}{% endfor %}
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi, you can add metafields values in tag and use liquid loops in as the body of a tag. An example is:
{% for metafields_item in order.customer.metafields %} {% if metafields_item.key == 'yourkeyname' %} {{metafields_item.value}}{% endif %}{% endfor %}
To learn more visit the Shopify Help Center or the Community Blog.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024