Can anyone help with an example of how using an api like https://ipgeolocation.io/ could be used to retrieve a users continent location and have this effect pricing globally on a store? It would only be used for EU and Non-Eu conditions.
All product prices on the store will be excluding tax, I would like to apply a percentage increase to all display prices pre checkout for EU located customers, non EU customers would see the price as it is on the Shopify admin (excluding tax). Once the product reaches checkout the checkouts tax calculation can take over, (it will be the same rate)
I have Shopify’s geolocation app installed and it takes care of the currency switching and location detection for that just fine, but I’m not sure if there is maybe an endpoint that can be used from that to help? Any help would be greatly appreciated I know there are apps that can do location based pricing but it seems to be a large expense and I’d like to have it implemented in the theme itself if possible