Country Specific Discount Code

LumberjackBeard
Tourist
9 1 2

Hi,

I know currently this isn't a function that can be applied when creating discount codes in Shopify, but I'm looking to create a discount code that applies only to customers from a specific country (UK).

I also know I can set up a discount code for specific groups of customers, but that relies on them having an account and being logged in for that to work.

Is there a way that I could to take advantage of Shopify's own Geolocation app for example to apply a specific discount code based purely on the customers IP address should they be from the UK?

Or does anyone else have another workaround that would enable this to work?

I am aware of certain apps that have this functionality built in, and am currently using one such app on a free plan, but my issue with that is that the apps I've tried don't allow for a Shopify Automatic Discount which I'd also like to take advantage of in store for all users.

Thanks,

Mark

0 Likes
HelpfulHuman
New Member
12 0 0

You can limit the discount to a customer group.

To set that up, just go to Discounts, select "Add Discount" in the top right, then change the "All Orders" dropdown to "Customer in a group" and select "From Canada" as that customer group.

As long as you have had at least one customer from each country, you can create new customer groups for the countries you are interested in:

https://help.shopify.com/en/manual/customers/manage-customers#create-customer-groups

27-50-7uqch-kzaan

I think these apps also provide this country discount feature

0 Likes
LumberjackBeard
Tourist
9 1 2

I am aware of that option, but as I mentioned in my question, that relies entirely upon the customer having an account and being logged in for the country specific discount to then be applied. It doesn't work for all visitors from that specific country so therefore doesn't work for my needs.

I know of the apps as well, and am currently using Discount Ninja, but they don't allow for their discount codes to work in collaboration with Shopify Automatic Discounts so I'm looking for a workaround to that issue as well. 

HelpfulHuman
New Member
12 0 0

Gotcha. Sorry I missed those details.

0 Likes
LumberjackBeard
Tourist
9 1 2

No worries. It turns out Shopify had made alterations to how you set up a 'Buy X Get Y' discount code without me knowing, so as my issue was directly related to the currency exchange rate padding that is set NOT being applied to discount codes when currency is converted, it was easily resolved by simply changing my discount code from a fixed amount of the cost of one item (which I had to do as previously you couldn't set a maximum number of times the 'Buy X Get Y' would be allowed to be used per order each time it became eligible) to a 'Buy X Get Y' discount with a maximum number of uses per order of 1.

After 4 days of racking my brain trying to create code for this myself and failing, I'm glad there was an easy solution in the end.

I'd still love to know if there is a code-based solution to this though if anyone else has any ideas or input?

Thanks,

Mark

0 Likes
Swiss23
Tourist
3 0 1

Hi

Can I set up a discount code for a specific country? I need it to be depending on shipping address and not on the IP.

I want to give a discount only for orders that are ordered to France. 

All the apps I checked work with IP, so if someone makes an order with a french IP he gets a discount even if he orders it to the UK and that's not good for me.

Strongly appreciate any advice. Thank you.

Edward-Newgate
Navigator
505 21 60

Hi @LumberjackBeard 

Have you ever try the Last Second Coupon? If not, 

I'd recommend you use the Last Second Coupon app by Hextom. Last Second Coupon was provided by Hextom and introduced as a supporter of attracting customers’ attention and preventing them from leaving your store. Whenever an act of trying to move away is found, a popup window of discount will be offered immediately to stimulate demand and encourage them to buy. Don’t worry about the codes, based on countries, cart values, websites, and devices, they are set to be totally different from each other, its delivery is completely supported by the Last Second Coupon application. Furthermore, store admins can restrict specific pages for popups to be displayed. On top of that, the app supports different popups for different countries, this can help you easily approach many more customers. Especially, there are various particular pre-made templates on special events such as Halloween, Christmas,… but they can be flexibly edited/removed/replaced to well fit your store design. A free trial of 7 days is provided, install it now with only 1 click and feel free to get support.

Highlight features

  • Present coupon and discount popups to prevent carts from being abandoned
  • Optimize your return by offering flexible code and discount based on the webpage, cart's value, country,...
  • Flexibly change theme/design template only for holidays or events
  • Freely design and upload your popup
  • Restrict certain pages in which popups can be displayed

You can get the app here.

Was my reply helpful? Click Like or Mark it as an Accepted Solution to let me know!
0 Likes
dardacats
New Member
1 0 0

Hello - were you able to find a workaround to your challenge? currently facing something similar. 

0 Likes
Swiss23
Tourist
3 0 1

I didn't. In the end we gave a free shipping discount to the specific country we wanted to give a discount.

I searched all different apps and that's the only discount type I found, Shopify is giving an option it to be depending on shipping destination country.

If you find a way of giving a percentage or fixed discount with option of limiting it to specific shipping destination country, I would be very happy to hear.

0 Likes