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.
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.
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.
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.
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...
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022