Hi I have created a form that pops up on the cart page requiring International customers acknowledge they may be charged import duty/tax upon delivery, is it possible for the popup to only show up to customers from outside the UK, or is there a better way of doing this?
Thanks
@JCposters Yes it’s possible
The cleanest way is to show the popup only to non-UK visitors using Shopify’s location data. If the popup is custom, we can conditionally display it so UK customers never see it, and international customers do.
That said, a small notice or required checkbox on the cart (shown only to international users) usually works better than a popup and causes less friction at checkout.
Quick question so I can guide you properly:
Is the popup custom-built or from an app?
This can be done with some custom Javascript.
Shopify Forms app itself can’t do that.
What can be done without coding:
- Have (at least) 2 markets – UK and International and enable automatic redirection;
- Create a separate cart template for International market and embed your form on this template, rather than have a popup form.
With this setup you can also add a checkmark to the cart section as already suggested, but on in a section settings for UK market have a CSS rule to hide it.
Hi I just used the built in Forms to create the popup and ticked to display on the cart page, I like the idea of a required checkbox on the cart better though
@JCposters That makes sense and good call 
With Shopify Forms, the popup unfortunately can’t be targeted by country, so you’re right to move away from it.
The required checkbox on the cart is actually the better solution here:
it’s clearer for customers,
it doesn’t interrupt checkout,
and we can show it only to non-UK visitors using Shopify’s location data.
This can be done cleanly without apps, or with a very lightweight app if you prefer zero code.
Before I point you to the best setup, one quick question so I don’t over-engineer it:
Would you prefer a no-code app solution, or are you okay with a small, safe theme edit if it’s cleaner?
Hi thanks for the reply, I am happy with entering a small code edit in the theme, could you let me know the cost first though please. Many Thanks Jamie
…I’m using the Trade Theme if that makes any difference to the edit.