Test a cart
Run any cart through your Cart Validator rules in the Shopify admin and see whether checkout would stop it, and with which message, without an order.
Test a cart runs a cart through your saved rules with the same check as checkout. Open it with the button at the top of the Overview, or with the Test a cart row under Cart and checkout. It runs in your browser, so nothing is sent anywhere.
Testing a cart
Fill in the buyer and the cart. The result updates as you type.
| Field | What to enter |
|---|---|
| Language | The buyer's language, for the message. The list shows your store's languages. |
| Delivery country | Where the order goes. Choosing a country also sets Currency to the currency of its market. |
| Customer tags | Shown when a rule uses tags. Check the buyer's tags, or leave all unchecked for a guest. |
| Currency | The currency the buyer pays in. |
| Subtotal | The order value before shipping and order discounts. |
| Total | The order value with shipping. Empty means the same as the subtotal. |
| Add products | Opens Shopify's product picker. Each variant you pick gets a line with Quantity: 1. |
To change a line, select it. A window opens with its Quantity, a whole number of at least 1. Select Done to keep the new quantity, Remove to take the line out of the cart, or Cancel to leave it as it was.
The amounts don't follow the products: enter the Subtotal yourself. Products count only for quantity rules.
Results
| Result | Meaning |
|---|---|
| Passes | Checkout would accept this cart. With no rule on, it says that checkout accepts every cart. |
| Checkout blocked | Checkout would stop this cart. The result shows the message the buyer would see, in the language you chose. |
| Would block checkout | The same, while checkout isn't checking carts. Nothing is blocked at checkout right now. |
Until you enter an order value or add a product, the result says Enter an order value or add products to see the result.
Things to know
The tester uses your saved rules, so save your changes before you test them. Like checkout, it shows one message: the one of the first rule the cart breaks. Unlike the cart block, it also checks rules on the Total and rules limited by customer tag. While checkout isn't checking carts, because Validate carts at checkout is off, no plan is active or no rule is on, the page says at the top: Nothing below is blocked at checkout right now.