In my store I need to detect the orders that inlcude a high number of samples. The costumer is allowed to choose 2 samples if the total for the order is equal or above 100€. The samples all include the words “Deluxe Sample” in their tittle and they are all part of the collection called “Muestras” and they are also all tagged with “muestra” tag.
Unfortunately I have a lot of customers that abuse the system and end up adding many more samples. I have tried to flag this orders with a workflow in Shopify but it doesn’t seem to work right:
I created the following workflow:
Trigger: order created
Condition: Check if Line items title includes Deluxe Sample AND Line items current quantity is greater than 2
Action: Hold Fullfilment order
Action: Send internal email
Unfortunately this work flow doesn’t hold all the orders that inlcude over 2 samples. Is there another way to make a condition where it checks if the line items belong to a certain collection and then if only those line items have a total quantity of more than 2? That way if someone has added 3 samples and 2 normal products, the workflow can hold the fullfilment.
Right now this workflow only hold orders that inlcude 3 or more units of the same deluxe sample. It seems to me there should be a way to add a subtotal for a given collection.
Thank you for your help.