Add the Rules Executor to your checkout
In short
Checkout rules only run when the Rules Executor app block is in your checkout. Add it in Shopify's checkout editor, allow it to block checkout progress, and save.
✓ Applies to
- Deluxe plan only (checkout rules aren't included in Advanced)
- Shopify Plus stores (and development stores for testing)
- Every rule action: Hide payment method, Show Error Message, Modify Cart and Validate Via API
✕ Doesn't apply to
- Custom Blocks. Those are placed with the Custom Block app block and a Block ID
- The thank-you and order status pages
Before you start
- Make at least one rule under Rules, set to Active. Draft rules don’t run.
- Your store needs Shopify Plus. A development store works for testing.
Steps
Open the checkout editor
In Checkout Ninja, open Rules. Click the checkout editor link in the Setup Guide card. Or go to Settings → Checkout → Customize in Shopify.
Add the Rules Executor
Click Add app block and choose Rules Executor. No Block ID needed. One Rules Executor runs all your active rules.
Let it block checkout
Click the block you added. In its settings, allow it to block checkout progress. Rules with Show Error Message or Validate Via API need this.
Save
Click Save in the checkout editor.
Skip step 3 and buyers may see your error but still continue. Shopify only lets the block stop checkout when you allow it.
Where to put it
Buyers only see a quick loading spinner, so the spot doesn’t matter much.
- One-page checkout: anywhere.
- Three-page checkout: on the step where the buyer has entered what your rule checks, or later. A shipping-country rule needs a step after the address.
Check it works
- Make a test rule: a Cart Total condition your cart matches, plus Show Error Message. Set it Active.
- Go to checkout and try to continue. The error shows and you’re stuck.
- Change the cart so it no longer matches. You can continue.
- Set the test rule back to Draft.
Good to know
- The app sometimes calls it “Rule Executor”. It’s the same block.
- It reads only 10 rules, drafts included. With more, some active rules may not load. Delete old ones.
- A rule with no conditions always applies.
Not working?
- Not in the Add app block list: you’re editing the thank-you or order status page. Switch to checkout.
- Rules do nothing: check each rule is Active and you saved the editor. Full checklist.
- Buyers get past errors: turn on step 3. Fix.
Frequently asked
The app says 'Rule Executor'. Is that the same block? +
Yes. The setup text in the app calls it Rule Executor, but in Shopify's checkout editor the app block is named Rules Executor. Pick that one.
Do I need one Rules Executor per rule? +
No. One Rules Executor loads your active rules and runs them all. You don't paste an ID into it, and it has no settings of its own.
Will buyers see the Rules Executor block? +
Only briefly. It shows a loading spinner while it evaluates your rules and nothing otherwise. Anything buyers see, such as an error message or a hidden payment method, comes from the rule's actions.
Do rules work on non-Plus stores? +
The Rules Executor is a checkout app block, and Shopify only allows those in the information, shipping and payment steps on Shopify Plus. Development stores can use it for testing.