Help CenterContact support
All Checkora: Hide Shipping Method articles

How do I block checkout and show a message in the buyer's language?

Updated

On this page
  1. Create a blocking rule
  2. Which language the buyer sees
  3. Write a helpful message
  4. Good to know

A rule whose action is Block checkout stops the buyer from completing checkout while the rule matches, and shows your message. Use it when an order can’t be delivered, for example chilled goods to an island or any order to a territory you don’t ship to.

Create a blocking rule

  1. Open Rules and click Add rule. Or click Add from EU preset and start with Block checkout with a message in 7 languages, which fills in ready-made messages.
  2. Add the conditions, for example Product tag wine and Postcode ES 35*, 38*.
  3. Under What should happen, choose Block checkout.
  4. Under Show the message on, choose Whole checkout or a delivery address field: Delivery postcode, Delivery country, Delivery region, Delivery city or Delivery address.
  5. Under Message, write the text in one or more languages: English, German, French, Italian, Spanish, Dutch, Polish. At least one is required.
  6. Turn on Switched on and click Save.
  7. On the Rules page, under Checkout functions, make sure Checkout blocks is on. If it is not, click Turn on.

Which language the buyer sees

Checkout picks the message in this order:

  1. The buyer’s checkout language, if the rule has text in it.
  2. Your Default message language (in Settings under Buyer messages).
  3. English.
  4. Any text the rule has.

A German buyer sees your German text. If you left German empty, they see your default message language, then English.

The same order applies to the new titles of Rename delivery options rules.

Write a helpful message

Say what is wrong and what the buyer can do, for example: “Chilled and frozen products can’t be delivered to this address. Remove them from your cart or choose another delivery address.” Once the buyer changes the cart or the address and the rule no longer matches, checkout can continue.

Good to know

  • Address conditions only count once the buyer has entered a delivery address, so nothing is blocked by mistake before that.
  • Test the rule in the Simulator first. It shows whether checkout would be blocked and the exact message for the language you pick.
  • The app does not count or store blocked checkouts.
  • Shopify gives checkout functions a processing budget. The Rules page shows how many different items a cart can have while your rules are still checked. If a cart is larger, checkout continues as if no block rule matched. To stop such carts instead, open Settings › Checkout blocks and set If a cart is too large to check to Block checkout; this also stops checkout if the function fails for any other reason.

Built and supported by StoreFleet, Shopify app developers since 2021.