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.
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
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.
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'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!
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!
We were discussing something for this problem over here:
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.