---
title: "Shipping Country condition"
description: "Limit a discount to customers in certain countries, or exclude countries, using two-letter country codes."
url: https://jxngqfpxd.us.gleap.help/en/articles/14-shipping-country-condition
collection: "Conditions"
updated: 2026-11-06
language: en
---

# Shipping Country condition

Limit a discount to customers in certain countries, or exclude countries, using two-letter country codes.

**In short:** Add **Shipping Country**, choose **Equals** or **Not equals**, and enter two-letter country codes such as `US` or `US, CA`. Shipping discounts apply once the customer has entered a shipping address. Product and order discounts can apply in the cart.

## Set it up

1.  Click **Add Condition** and pick **Shipping Country**.
    
2.  Choose **Equals** (only these countries) or **Not equals** (every country except these).
    
3.  In **Country Code**, enter the two-letter code, for example `US`, `GB`, `CA` or `AU`. Separate several countries with commas: `US, CA`.
    

![A Shipping Country condition set to Equals US, CA, with the note that the customer must choose a shipping country](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/FiLRDyeEfG7UgQ6GQIGKyF42yC9HW75LX9LoCbe7iuzLqkFrRVaD9G7kWKhwoPQ82mRI1KKxybv.png "A Shipping Country condition set to Equals US, CA, with the note that the customer must choose a shipping country")

## Worked examples

-   **Free shipping for UK orders only:** on the shipping discount, **Shipping Country** **Equals** `GB`.
    
-   **10% off everywhere except the US and Canada:** Global Condition **Shipping Country** **Not equals** `US, CA`.
    

## Which country OneCode checks

-   **Product and order discounts** check the country your store is showing the customer, for example the one picked in your store's country selector. There's always a country, so these discounts can apply in the cart as well as at checkout.
    
-   **Shipping discounts** check the country of the shipping address. They only appear once checkout shows shipping rates, after the customer has entered an address.
    

The builder's note "Customer must choose shipping country in checkout before discounts are applied." is about shipping discounts. If customers often shop with the wrong country selected, a product or order discount can show in the cart for one country and change at checkout.

## Good to know

-   Use country codes, not names. `United Kingdom` won't work; `GB` will. The United Kingdom is `GB`, not `UK`.
    
-   Capital letters don't matter: `us` and `US` both work.
    
-   For different offers per country, create one discount per country, or add one discount type per country inside the same code.

## Related

- [Global conditions vs per-discount conditions](https://jxngqfpxd.us.gleap.help/en/articles/10-global-conditions-vs-per-discount-conditions.md)
- [Cart Subtotal, Cart Total and Cart Quantity conditions](https://jxngqfpxd.us.gleap.help/en/articles/11-cart-subtotal-cart-total-and-cart-quantity-conditions.md)
- [Group and Included Items conditions](https://jxngqfpxd.us.gleap.help/en/articles/12-group-and-included-items-conditions.md)
- [Customer Tag and Customer Segment conditions](https://jxngqfpxd.us.gleap.help/en/articles/13-customer-tag-and-customer-segment-conditions.md)
- [Product In Cart condition](https://jxngqfpxd.us.gleap.help/en/articles/15-product-in-cart-condition.md)
