RuffRuff Order Limits

(Use Case) Sell Only to Specific Countries / Block Specific Countries

This example combines the shipping destination country condition with "Hide the specified delivery options" to sell only to specific countries, or to block specific countries.

This is a delivery rule setup example for selling only to specific countries, and for stopping sales to specific countries. Use it for controls such as "sell only to Japan, Hong Kong, and Macau" or "don't sell to China and Russia."

Prerequisite: The initial delivery setup must be complete. If you haven't done this yet, see "Initial Setup (Delivery Limits)".

A delivery rule shows or hides delivery options only when all of the configured conditions are met. If even one condition is not met, Shopify's shipping settings are shown as they are. Because of this, even if you set the countries you want to allow as "Selected countries" and use "Show only the specified delivery options," the rule does not apply to countries you have not allowed, so their shipping methods remain.

This example sells products with the ASIA ONLY tag only to Japan, Hong Kong, and Macau. It hides all "Shipping" type delivery options when the destination is a country other than the ones allowed.

The behavior after setup is as follows.

Cart contents

Destination

Result

Contains an item with the ASIA ONLY tag

Japan, Hong Kong, or Macau

The rule does not apply, and Shopify's shipping methods are shown.

Contains an item with the ASIA ONLY tag

A country other than the above

The "Shipping" delivery options are hidden.

Does not contain an item with the target tag

Any country

The rule does not apply.

(1) Create a delivery rule

Open the app admin → "Delivery rules" → "Create rule".

(2) Enter the settings

Configure the following.

Field

Value

Title

Any internal title (e.g., ASIA ONLY - hide shipping outside allowed countries)

Display mode

Hide the specified delivery options

Delivery types

Shipping

Shipping methods

Not specified (targets the entire "Shipping" type)

Languages

All languages

Customers

All customers

Products

Specific product tags (e.g., ASIA ONLY)

Orders

Specific orders

Shipping destination

All except selected (select Japan, Hong Kong, and Macau)

(3) Save and enable the delivery rule

After saving the settings, select "Enable."

This example blocks sales of products with the RESTRICTED tag to China and Russia. It hides all "Shipping" type delivery options when the destination is one of the specified countries.

The behavior after setup is as follows.

Cart contents

Destination

Result

Contains an item with the RESTRICTED tag

China or Russia

The "Shipping" delivery options are hidden.

Contains an item with the RESTRICTED tag

A country other than the above

The rule does not apply, and Shopify's shipping methods are shown.

Does not contain an item with the target tag

Any country

The rule does not apply.

(1) Create a delivery rule

Open the app admin → "Delivery rules" → "Create rule".

(2) Enter the settings

Configure the following.

Field

Value

Title

Any internal title (e.g., RESTRICTED - hide shipping for blocked countries)

Display mode

Hide the specified delivery options

Delivery types

Shipping

Shipping methods

Not specified (targets the entire "Shipping" type)

Languages

All languages

Customers

All customers

Products

Specific product tags (e.g., RESTRICTED)

Orders

Specific orders

Shipping destination

Selected countries (select China and Russia)

(3) Save and enable the delivery rule

After saving the settings, select "Enable."

Note: If you want to "sell only to specific countries," setting the shipping destination to "Selected countries" (the countries you want to allow) and using "Show only the specified delivery options" will not achieve this. Countries you have not allowed fall outside the condition, so the rule does not apply, and Shopify's shipping methods are shown as is. To sell only to specific countries, use "Hide the specified delivery options" + "All except selected" (select the countries you want to allow).

Note: A rule can have up to 128 shipping destination countries. You cannot save 129 or more. If you have many countries, split the rule or invert it to "All except selected."

  • The country entered in the shipping address at checkout is used to evaluate the shipping destination.

  • If you also want to hide pickup in store or local delivery, add those to the delivery types as well.

  • There is no bulk import feature for countries. Add them one at a time from the country selector.

  • With "All except selected," countries added to the app's country selector later are automatically included as well. If you want to exclude a country, add it to the list whenever it's needed.