Can I set up a discount code for a specific country?

TK4
Visitor
2 0 0

Hi,

Does anyone know how can I set up a discount code for a specific country?  For example, I would like to set up a discount code only for people whose shipping address is in Canada. People from other countries cannot use the code.

The discount code type we need is percentage and fixed amount. (NOT free shipping. Shopify already has the free shipping one.)

Shopify only has discount code setting for specific product/collections, but not for a specific area.

Strongly appreciate any advice. Thank you.

 

 

Replies 10 (10)
Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1008

Hi TK, 

Nick here from Shopify. 

Great question and the answer is both yes and no here. Natively you can set discounts specific to one country but this is only for customers which have previously purchased from your store. You can see where to do this in the discount settings from the screenshot below. To be able to apply a discount to a specific region outside of this, your best bet would be to use an app from the Shopify app store. There are a couple of apps and ways you could approach this also:

There are a lot more discount apps in the app store which you can a look from in the link above to find one that works for you for customers which have not purchased from you before. 

Hope this helps and don't hesitate to reach out for any other questions should you have any. 

All the best, Nick

To learn more visit the Shopify Help Center or the Community Blog.

DiscountNinja
Shopify Partner
104 0 47

Nick is indeed correct. Discount Ninja does allow you to create promotions that are targeted specifically at a country.

Promotions are triggered only in the countries you select.

Note that Discount Ninja also supports free shipping to specific countries. 

Bart Coppens | Limoni Apps | Building apps for Shopify since 2016
TK4
Visitor
2 0 0

Thank you, Nick.

But I just check them in details, seems like they don't allow users to set up the code based on the location. 

Search a lot of other apps and still don't see anyone works. 

Do you know if there is any document/API that we can use to do that by ourselves? 

If you know there is any way that I can do it, please do let me know. 

Thank you very much.

 

adrienshendev
Excursionist
20 0 4

We were discussing something for this problem over here:

https://community.shopify.com/c/Shopify-Apps/Pricing-based-on-customer-geolocation/m-p/514210#M15847

 

Did you solve your issue yet? Would love to have a chat to more understand the issue and see if the app I'm working on would solve it.

 

Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1008

Hi TK, 

Customizing the back end/ API to do this is something I'm not completely familiar with. Your best bet here would be to reach out to a Shopify Expert directly to see if this is something which can be custom made for you. 

Perhaps someone else who comes across this post might know a custom code edit for this also. 

All the best, Nick

To learn more visit the Shopify Help Center or the Community Blog.

KarlOffenberger
Shopify Partner
1873 184 667

Hi TK,

Nick's solution works fine, but you will need to create those customer groups which are basically saved Customer searches by filter From location. Follow this explanation here to see how it's done. Name your saved searches by location something like "From USA", "From Australia", "From UK" etc. and then you will have these available later on in the Discount code eligibility setup as per Nick's post.

Hope that helps!

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie
viennapitts
Visitor
1 0 0

Nick's solution doesn't quite work, because it would make the promo code only available to existing customers that meet the To Location filter parameters. New customers from the right location would not be able to access the discount.

imsarosha
New Member
37 0 0

Hi TK, Sarosha here from Aiva 🙂

We've helped users in the same situation easily design a geotargeted popup, slide-in or sticky bar with a coupon code. Some stores prefer to ask for an email prior to giving a discount while others display a code to everyone from a certain country. 

We even have new Holiday themed templates you can use ? Feel free to reach out on live chat if you decide to install our free app and have any questions!

5x your website conversion today → Aiva For Shopify
CBSDECOR
Visitor
1 0 4

Good day, 

I see this issue was raised in 2018, is there any difference now that it’s almost 2022? I’d also like automatic discount based on location, specifically by country. 

daxon
Shopify Partner
2 0 0

Found a solution. In the shipping rates of custom or calculated you can add a 'handling fee' which you can set to negative say -5.00 and it will apply to the shipping per country. see the docs: https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/setting-up-shippin...