How to tag orders based on product type in eCommerce?

Solved

How to tag orders based on product type in eCommerce?

leocesario
Shopify Partner
12 0 1

Hi, I'm trying to create a flow that will tag my orders if a certain product is present in the order.

 

So, if the order contains at least one product where the type is equal to "Bundle", a tag labelled "Bundle" will be added.

 

But the flow I created is not working. If the flow is active, it will tag all the new orders, regardless if a Bundle is present.

 

flow-tag-order.jpg

Accepted Solution (1)

TimothyWillard
Shopify Staff (Retired)
3 2 2

This is an accepted solution.

I think you might be using `Shop -> Product types`, which is just a list of all the possible product types in your store. I think what you want to use is `Order -> Line Items -> Product -> Custom Product Type` instead.

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 2 (2)

TimothyWillard
Shopify Staff (Retired)
3 2 2

This is an accepted solution.

I think you might be using `Shop -> Product types`, which is just a list of all the possible product types in your store. I think what you want to use is `Order -> Line Items -> Product -> Custom Product Type` instead.

To learn more visit the Shopify Help Center or the Community Blog.

leocesario
Shopify Partner
12 0 1

Hey, Timothy. Thanks for that. It's working now.