How To Allow or Block Visitors From Specific Countries on Your Shopify Store Without App

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy the first month of Shopify for $1.

I’ve written an article to list all the best Shopify Country Blocker apps. And I’ve also written another article to guide you on how to use one of these best apps to prevent visitors from certain countries from entering your Shopify store. But if you don’t want to use the Shopify app to build this feature, then this article is for you.

This article will guide you on how to allow or block visitors from specific countries on your Shopify store manually.

Follow these steps to build the country blocker feature for your Shopify store:

Step 1: Go to the page via URL: https://www.huratips.com/tools/index.php?page=country-blocker

Step 2: If you want to block any country, you only need to click the country name from the Allowed Countries collum to switch it to the Blocked Countries column. Next, you fill out blocked messages in the fields below.

Step 3: Click on to Get Code button to generate the embed code.

Step 4: Embed the code received in step 3 to your Shopify store.

  1. Copy the above codes.
  2. From your Shopify admin, go to Online Store > Theme.
  3. Find the theme you want to edit and then click Action > Edit code.
  4. In the Layout section, click theme.liquid to open the file in the online code editor.
  5. Find </head> and paste code just above it.
  6. Save and you’re done!

I hope this article is helpful to you.

Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *