We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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 2

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 2

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