Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
In an effort to streamline fulfillment, we want to add the Product Types in the order, in the Order Tags.
We are using the default syntax, but get a "Order tags is invalid" error.
Solved! Go to the solution
This is an accepted solution.
You are using shop productTypes, which a list of all types in your shop. Highly recommend you remove that as it will not work.
I think you want to put the product type of each item in the Order. That would be located at:
Order / lineItems / product / productType
Additionally, to add each as a separate tag, you need to separate them by a comma in the liquid. And finally, if your product types have commas you need to remove them because commas are used by the tag action to create separate tags. Assuming you want to substitute a hyphen, this would look like:
{% for lineItems_item in order.lineItems %}{{ lineItems_item.product.productType | replace: ",", "-" }},{% endfor %}
This is an accepted solution.
You are using shop productTypes, which a list of all types in your shop. Highly recommend you remove that as it will not work.
I think you want to put the product type of each item in the Order. That would be located at:
Order / lineItems / product / productType
Additionally, to add each as a separate tag, you need to separate them by a comma in the liquid. And finally, if your product types have commas you need to remove them because commas are used by the tag action to create separate tags. Assuming you want to substitute a hyphen, this would look like:
{% for lineItems_item in order.lineItems %}{{ lineItems_item.product.productType | replace: ",", "-" }},{% endfor %}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025