Rules
Manage Cart Validator's rules in Shopify: the list and its order, adding, switching off and deleting a rule, delivery countries and size limits.
Select Rules on the Overview to open your rules. Your rules lists them in the order checkout checks them, each with its type, a summary such as NZ$1,000.00 · Subtotal · New Zealand, and On or Off. Checkout shows the message of the first rule the cart breaks. New rules go to the end of the list.
Adding a rule
A rule's page has four sections from top to bottom: Status, Delivery countries, Limit and Customers.
- 1
Choose a type
Select Add rule and one of the five types: Maximum order value, Minimum order value, Maximum quantity, Minimum quantity or Quantity in multiples.
- 2
Choose the countries
Under Delivery countries, keep All countries or choose the countries the rule checks. See Delivery countries below.
- 3
Set the limit
Under Limit, enter the amount and its Currency, or choose what counts, the product and the quantity. See Minimum and maximum order value and Quantity rules.
- 4
Choose the customers
Under Customers, keep All customers, guests included or limit the rule by customer tag. See Customer tags.
- 5
Save
Select Save in the save bar. Save stays off until the limit is complete and, if you chose countries or tags, at least one is chosen. Checkout checks the rule as soon as it's saved.
Delivery countries
The Delivery countries section is checked against the delivery address, or the buyer's market until there is one. Under Check orders to, choose:
| Option | The rule checks |
|---|---|
| All countries | Orders to every country. This is the default. |
| Only these countries | Only orders to the countries you choose. |
| All countries except these | Orders to every country except the ones you choose. |
With Only these countries or All countries except these, type in Search countries or select Browse. A window lists the countries you sell to: the countries of your active markets that are in your shipping zones. Check the countries and select Done. Each chosen country shows on the page, and its × removes it. Until you choose one, the section says Choose at least one country. If your store doesn't sell to any country yet, set up markets or shipping zones in Shopify first. For which country counts at checkout, see How the check works.
Switching a rule off
On the rule's page, turn off Check this rule at checkout under Status and select Save. Checkout skips the rule until you turn it back on, and its row shows Off. To pause every rule at once, use the switch on the Overview, see Pause and uninstall.
Deleting a rule
Select Delete rule at the top of the rule's page, then Delete. Checkout stops checking the rule right away. This can't be undone.
Room for your rules
Checkout reads at most 3.7 KB of rules and buyer messages together, so that large carts stay fast. The built-in messages don't count, because checkout carries them. What counts:
| What | How much it takes |
|---|---|
| Your rules | Every saved rule. A rule that is off still takes its own room, but adds no price formats or country names. |
| Your own messages | Every message you wrote, in every language you wrote it for. |
| Price formats | For each published language of your store, the format of each currency your rules that are on use. A format that several languages share is stored once. |
| Country names | Only for countries a rule that is on lists under Only these countries, and only in languages whose message for that rule shows {country}, your own text or the built-in one. |
Rules for New Zealand, Australia, the United Kingdom and one rule for the 27 EU countries leave at least 1.5 KB for your own messages in a store with 20 published languages, and they still fit with 35. A store can have up to 100 rules, as long as they fit. From 80 % on, the list says how much room is left, such as 0.5 KB of 3.7 KB left for rules and buyer messages.
Above 3.7 KB, saving stops with a message that says how much your rules and messages would need. Remove rules or countries you don't need, or shorten your own buyer messages, then save again. If your rules grow over the limit without a save, for example because you published another language in your store, checkout keeps checking your last saved rules, and the Overview shows Your rules and messages are over the size checkout checks.