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.
User | RANK |
---|---|
3 | |
2 | |
2 | |
2 | |
2 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023