Automatically add a product to the cart at checkout
In short
Make a checkout rule that adds a product to the cart when a condition matches, for example: cart over 100, add a lip balm. The product is added at its normal price. The Rules Executor block must be in your checkout.
✓ Applies to
- Deluxe plan only (checkout rules aren't included in Advanced)
- Shopify Plus checkout, with the Rules Executor block added
- Adding a variant to the cart, or setting the quantity of a variant already in the cart
✕ Doesn't apply to
- Making the added product free. Use a Shopify discount for that
- Removing a product from the cart
Before you start
- Add the Rules Executor block to your checkout. How.
- The product must be for sale on your Online Store and in stock.
Set it up
Start a new rule
In Checkout Ninja, open Rules → New checkout rule. Give it a short Title.
Set when it runs
Click Add condition. Choose Cart Total → Greater Than → 100.
Choose the product
Click Add Action → Modify Cart → Add Product. Pick one variant (for example, the Mint lip balm) and a Quantity.
Turn it on
Keep Prevent adding duplicate products ticked. Set Status to Active and click Save.
Don’t untick Prevent adding duplicate products unless you also set Limit total quantity in cart. Otherwise the product keeps getting added.
Check it works
- Fill a cart with 120 of other products and open checkout. The lip balm appears by itself.
- Start a new cart worth 80. The lip balm isn’t added.
Good to know
- The product is added at full price. Use a Shopify discount to make it free.
- It’s not removed if the cart later drops below 100.
- Need to fix the quantity of something already in the cart? Choose Set Product Quantity instead of Add Product.
Not working?
- Nothing added: check the rule is Active, the Rules Executor is in checkout and the product is in stock. Full checklist.
- Wrong variant added: only the first selected variant is used. Select just one.
Frequently asked
Is the added product free? +
No. It's added at its normal price. To give it away, create an automatic discount in Shopify for that product.
Is the product removed if the conditions stop matching? +
No. Modify Cart only adds products or sets quantities. The product stays in the cart until the buyer removes it.
Can the buyer remove the product? +
Yes. But if the rule still matches, the next time the checkout changes the Rules Executor adds it again.
Why was the product added several times? +
Prevent adding duplicate products was turned off. With it off, the rule adds the product every time it runs while the conditions match. Turn it back on, or set a quantity limit.