Showing rules in your store

You can add two optional features to your theme so buyers see your rules before checkout. Checkout uses your rules either way.

Cart messages

The cart page and cart drawer show the same messages checkout would show.

A cart summary with the message: Order Cold Brew Concentrate in multiples of 6. Add 2 more, above the Check out button.
A cart message above the Check out button.

To turn on cart messages:

  1. In the app, click Turn on cart messages. The button is in the Get started checklist on Home and in the health check.
  2. A box explains the next step. Click Open theme editor. Your theme editor opens in a new tab with Cart messages already turned on.
  3. Click Save at the top right of the theme editor, then go back to the app.

Order requirements on product pages

A block on the product page that lists the rules for that product, such as “Sold in multiples of 6”. Rules on everything in the cart aren't listed on product pages. Buyers see them in the cart and at checkout.

A product page with Order requirements: Sold in multiples of 6, under the Add to cart and Buy it now buttons.
The Order requirements block under the buy buttons.

To add the block:

  1. In the health check, click Add order requirements.
  2. A box explains the next step. Click Open theme editor. Your theme editor opens on a product page with the Order requirements block added to the product section. In some themes it's at the bottom. If so, drag it under the buy buttons.
  3. Click Save at the top right of the theme editor, then go back to the app.

Rules only checkout can show

Your theme doesn't have all the information checkout has, so some rules show only at checkout:

  • rules on collections that are hidden from your online store or made up of single variants
  • order amount rules when a buyer shops in a different currency and you haven't set a fixed amount for it
  • rules based on a B2B location's past orders

When you uninstall the app, neither feature leaves any code in your theme.

Themes we've checked

Both features use your theme's fonts and colors. We check them on desktop and on phones with these themes:

  • Horizon (Shopify's current free theme): block under the buy buttons; cart message above Check out.
  • Dawn (free): block under the buy buttons and Share; cart message above Check out.
  • Impact (paid): block under the buy buttons; cart message above the order summary.
  • Impulse (paid): block added under the product's details; you can drag it up under the buy buttons in the theme editor.

Both features work with any theme that supports app blocks (Online Store 2.0 themes). If something doesn't look right, tell us which theme you use and we'll check it.

Need help? Contact us and describe what you're trying to do, or the error you see.