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 %}
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025