Automation for recovery if there is a MAXIMUM of 1 product in the cart

Automation for recovery if there is a MAXIMUM of 1 product in the cart

carminefox
Visitor
1 0 0

Hello everyone, I set up a recovery automation for abandoned checkouts, and I need the email to be sent ONLY if the customer has 1 product in the cart and no more.

My configuration is as follows:

 

Check if: products added to cart quantity is equal to or less than 1.

 

The problem is that the other day a customer abandoned a checkout with 3 different products in the cart, and Shopify still sent the email. When I checked the executed flow, Shopify sees 1, 1, 1 products in the cart instead of 3.

 

How can I fix this?

 

carminefox_0-1729133753554.png

carminefox_1-1729133770969.png

 

Reply 1 (1)

tim
Shopify Partner
4543 547 1659

You'd need to do Action=>Flow=>Count/Sum first:

Screenshot 2024-10-17 at 3.27.01 PM.png

Otherwise you're checking the quantity of each/any(?) line item.

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com