This is an old revision of the document!


Limit Checkout to Specific Countries (Whitelist or Blacklist)

How do I know which to choose – whitelist or blacklist?

You'll want to select blacklist or whitelist depending upon countries you need to click. If you're only shipping to one country, you'll want to select “Whitelist”, only requiring you to check one box from the list, designating that country as allowed. If you are shipping to most places, but just need to exclude a few countries, you'll select “Blacklist” and check off the countries that you can't ship to. If in doubt, feel free to contact us.

To Whitelist (only allow) specific countries:

​ - ​Go to your templates configuration in the Foxy admin. Here's a link: https://admin.foxycart.com/admin.php?ThisAction=TemplateConfig

  1. If not checked, check the box.
  2. Scroll down to “Customize whitelist/blacklist filtering of countries and regions.”
  3. Change “filter type:” to “Whitelist”.
  4. ​Scroll until you see the countries for which you'd like to offer shipping and select them.
  5. ​Scroll down and click the “Update” ​button to save.
  6. ​Test the cart/checkout to ensure that only your whitelisted countries can be selected.

To Blacklist (not allow) specific countries:

​ - ​Go to your templates configuration in the Foxy admin. Here's a link: https://admin.foxycart.com/admin.php?ThisAction=TemplateConfig

  1. If not checked, check the box.
  2. Scroll down to “Customize whitelist/blacklist filtering of countries and regions.”
  3. Change “filter type:” to “Blacklist”.
  4. ​Scroll until you see the countries to which you cannot ship and select them.
  5. ​Scroll down and click the “Update” ​button to save.
  6. ​Test the cart/checkout to ensure that blacklisted countries cannot be selected.

Site Tools