Skip to product information
1 of 1
Published:2024.09.29

Example of setting to tag a customer with the correct total number of orders minus the number of canceled orders in Shopify

Example of setting to tag a customer with the correct total number of orders minus the number of canceled orders in Shopify

Applications

  • Member information management and editing
View full details

When creating a segment in Shopify using the total number of orders placed (orders_placed(count: *)) as a condition, canceled orders will not be excluded. Here is an example of a Flow configuration that assigns the correct total number of orders, excluding canceled orders, as a customer tag.


Example of setting to assign the correct total number of orders minus the cancelled orders as a customer tag


[Setup Method 1] Create a Flow that assigns the total number of orders as a customer tag when creating an order.


[Setup Method 2] Create a Flow that assigns a cancellation log and total order count as a customer tag when an order is canceled.


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Flow that assigns the total number of orders as a customer tag when creating an order: Action to delete all "Total Purchase Count_*" tags

Flow that assigns the total number of orders as a customer tag when creating an order: Action...

Related Post