Checkout rule not applying
In short
Most often the Rules Executor block isn't in your checkout, or the rule is still Draft. If both are fine, check your test checkout really matches the conditions and the action has something to act on.
✓ Applies to
- Rules under Rules in Checkout Ninja
- Shopify Plus checkout (and development stores)
✕ Doesn't apply to
- Custom Blocks that don't show. Those have their own checklist
Check these in order
-
No Rules Executor → add the Rules Executor app block and Save. (The app’s setup text says “Rule Executor”; it’s the same block.) Steps.
-
Rule is Draft → set Status to Active, Save, open a new checkout.
-
Test checkout doesn’t match →
- All Conditions Pass needs every condition to match.
- Cart Total is the subtotal, in your store currency.
- Text is case-sensitive:
PO Boxisn’tpo box. - Address conditions wait for an address.
Remove all but one condition to find the problem. All conditions.
-
Executor on another step → on three-page checkout it only runs on its step. Move it to where the buyer enters the data, or later.
-
A Validate Via API call fails → it stops every rule in that run. Set it to Draft to test. Your API must always return JSON with an
actionsarray. -
More than 10 rules → only 10 load, drafts included. Delete old ones.
The action has nothing to act on
| Action | Check |
|---|---|
| Hide payment method | The text is in the method’s name. One method per action |
| Add Product | Variant is for sale and in stock. Not already in cart if duplicates are prevented |
| Set Product Quantity | Variant is already in the cart. It doesn’t add it |
| Show Error Message | Executor may block progress. Fix |
| Validate Via API | Endpoint allows cross-origin calls and returns actions. Contract |
Always test in a new checkout. An open checkout keeps the old rules.
Frequently asked
How quickly do rule changes reach checkout? +
The Rules Executor loads rules when a checkout opens. Save the rule, then open a new checkout or reload the checkout page to test.
Can I see which rule matched? +
Not in the app. Test one rule at a time by setting the others to Draft.
Do rules run on the thank-you page? +
No. The Rules Executor only runs in the checkout.