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

TK4
New Member
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.

 

 

0 Likes
Nick
Community Moderator
Community Moderator
3501 281 665

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

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
TK4
New Member
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.

 

0 Likes
Nick
Community Moderator
Community Moderator
3501 281 665

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

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
KarlOffenberger
Shopify Partner
1867 182 776

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 and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie

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
0 Likes
adrienshendev
Tourist
18 0 3

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.

 

0 Likes
viennapitts
New Member
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.

0 Likes