Skip to content
On this page
How-to Block visibility 1 min read Updated Sep 28, 2026

Show a block by shipping country

In short

Open the block, turn on Enable conditional block visibility and add a Shipping Country condition. Choose Is to show it only for those countries, or Is Not to hide it for them.

✓ Applies to

  • Advanced and Deluxe plans
  • Any Checkout Ninja block, in any checkout position
  • Shipping country and state or province of the delivery address

✕ Doesn't apply to

  • Billing address, IP location or the buyer's market
  • Showing a block in another language. That's done with translations
Want the same block in the buyer's language instead? Translate it →

Before you start

  • Create and save your block. How.

Steps

1

Turn on visibility rules

Open the block. In the Block Visibility card, turn on Enable conditional block visibility. Click Add new visibility condition.

2

Pick the countries

Choose Shipping Country. Pick Is (show only for these) or Is Not (hide for these). Don’t leave it on ”-”. Select one or more countries.

3

Save

Click Save.

For a US state or province, choose Shipping State / Province and type codes like CA or ON in State / Province Codes. Press Enter after each. Use codes, not names.

i

Several conditions on one block work as OR. US + ON shows for every US address and Ontario.

Check it works

  1. Enter an address in one of your countries. The block shows.
  2. Switch to another country. It hides.

Good to know

  • It reads the delivery address only. Not billing, IP or Markets.
  • Before an address is entered, Is hides the block and Is Not shows it.
  • Store pickup has no shipping country, so Is never matches.
  • Different content per country? Make one block per country.

Not working?

  • Never shows: the operator is still ”-”, or the address isn’t in your list.
  • Shows before an address: that’s Is Not. Use Is instead.
  • State doesn’t match: use capital codes, like CA, not California.

Frequently asked

Why doesn't my country block show at the start of checkout? +

Shipping Country reads the delivery address. Until the buyer has a country in that address, an Is condition doesn't match, so the block stays hidden.

Can I pick several countries in one condition? +

Yes. The country field accepts several countries. With Is, the block shows for any of them. With Is Not, it hides for all of them.

How do I target a US state or Canadian province? +

Use Shipping State / Province. Type each code, for example CA or NY, and press Enter after each one.

Can I show the block for a country and a product at the same time? +

Not with one block. A block with several conditions shows when any one of them matches, so conditions work as OR.

Related guides

Still stuck? Open the app and use Support to chat with the team, or contact us. Don't have the app yet? Install Checkout Ninja.