Why a rule did not match, using Test mode and Trace
This gives you a check to run when a rule should have applied and did not. Work through this list before writing in.
Before you start
You need the rule in question and the checkout's details: total to pay, item count, country, province, shipping method and payment method.
Steps
- Check that the rule is Live (Edit from Home, under Name and status) and that you have published its module since your last change. Only Publish payment rules or Publish checkout requirements reaches checkout. See What Draft, Live, Paused and Published mean.
- Go straight to Trace: click "Why isn't this working?" beside the rule on Home, fill in "Test it against a checkout" with the same checkout details, and click "Run the test." (Test mode checks every rule at once instead.)
- Read "The answer." It opens "At the checkout you described, this rule would apply" when it matches, or a "would do nothing" sentence when it does not. Under "Condition by condition", each condition is marked Holds, Does not hold, Cannot hold or Can never hold here.
- If the failing condition is the payment method, check its spelling against your checkout. The rule editor's own note says: "The name has to match your checkout, punctuation included, for example "Cash on Delivery (COD)". Capitals and spaces at the ends do not matter. A different spelling means the rule does nothing." See Hide a payment method using its checkout name. If it is a card on a store in the United States or Canada below Shopify Plus, see Why a payment rule may not affect credit cards in the United States or Canada instead.
- Rule out a condition Cartwright cannot see: the rule editor's "What a rule cannot see" card. A payment rule: "A payment rule cannot see customer tags, so a wholesale, VIP or staff customer looks the same as anyone else." A checkout requirement: "A checkout requirement cannot see the payment method, because it is given the cart, and the cart does not carry one." Neither kind of rule reads the day of the week or the time of day at checkout; both are settled when you publish.
- Check the Status section on Home. Its one badge covers the whole page; if it reads "Switched off in Shopify," the sentence under it names the module, for example "Your payment rules are switched off in your Shopify settings, so they are not applying at your checkout." Open Settings in your Shopify admin. For payment rules, choose Payments and switch "Cartwright payment rules" on. For checkout requirements, choose Checkout and, under Checkout rules, switch "Cartwright checkout requirements" on.
How you know it worked
Trace's answer opens "At the checkout you described, this rule would apply" for that scenario. Confirm with one real checkout using the same numbers.
If it did not work
If the rule is not Live or not published since editing, see What Draft, Live, Paused and Published mean. If Trace says "The test did not run," a number you typed could not be read, or something failed on Cartwright's side. Check the numbers and run the test again. If it fails twice, write to Cartwright support. If the condition that does not hold is the payment method, see Hide a payment method using its checkout name.
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: