Cartwright

Create and test your first minimum-order rule

This gets you a rule that stops a checkout when the total to pay is under an amount you choose, tested before it touches a real checkout.

Before you start

Testing this rule in Test mode is free on any store; publishing it needs a paid plan, an active free trial, or a development store.

Steps

  1. Open Templates, find "Stop a checkout when the total to pay is under 25," and click Add as a paused rule. You should see an "Added" banner with a Review it now link.
  2. Click Review it now to open the rule editor.
  3. Under Read back, the rule reads: Stop a checkout with the message "Our minimum to check out is 25, shipping included. Add a little more to your cart to check out." when the total to pay is under 25 in the checkout currency. The amount 25 appears twice. Change both to your real minimum, and put the message in your own words.
  4. Under When it applies, the top line warns: "Amounts compare in the currency the shopper's checkout shows. On a store selling only in USD, that is always USD. On a store selling in several currencies, a rule at 30 means 30 in each of them, so test a real checkout before trusting a money rule." Your store's own currency appears in place of USD.
  5. Click Save rule.
  6. Under Name and status, turn the Live switch on and click Save rule. This alone does not change your checkout; only publishing does.
  7. Open Test mode. Under Describe a checkout, enter a total below your new minimum and click Run the test. Your rule is Live now, so it shows under "Would apply."
  8. Run the test again with a total at or above your minimum. It shows under "Would do nothing here."
  9. Go to Home and click Publish checkout requirements.
  10. Build a cart under your minimum on your own storefront, go to checkout, and confirm your message stops it.

How you know it worked

After Publish checkout requirements, a "Done" banner in that section reads: "Done. Your 1 live checkout requirement is on your checkout now."

If it did not work

If Test mode still shows "Would do nothing here" for a total below your minimum, click Save rule first: Test mode only runs saved rules, not unsaved edits. If publishing shows "Something went wrong in Cartwright and nothing was published," click Publish checkout requirements again. If a real order is still not stopped, see Why a rule did not match, using Test mode and Trace.

Still stuck

Write to Cartwright support. Cartwright aims to reply within five business days. Use this link so the first reply can help: Email support with the details filled in

Or send an email to support@getcartwright.com with these lines filled in:

To: support@getcartwright.com
Subject: Cartwright support: [module]: [one-line problem]

Shop domain (the .myshopify.com one):
Module (payment rules or checkout requirements):
Rule id or rule sentence:
Rule state (draft, live, paused):
Last publish result and when:
Test mode scenario and verdict, if run:
What you expected, and what happened: