I try to rearrange the contents of the page based on the location of the country someone at - it a solution for this?

I can see under documentation liquid I can modify the script below and change the dom using jquery. Not sure if it's the best approach.

< script > window.location =

{% If globals.visitor.country == ' to THE ' %}}

' / AU.

{% elsif globals.visitor.country is 'US' %}

"/ We.

{% elsif globals.visitor.country is "GB" %}

"/ Go".

{% other %}

"/ store-unavailable.

{% endif %}

< /script >

Hello Nik and Jose,

Sorry for the late reply, unfortunately as far as I know, the mapping between the IPs and the country codes are out of our control.

But you can make an ajax request to freegeoip.net if you have no more than 10 k request per day.

For example (I googled an IP of Puerto Rico): http://freegeoip.net/json/66.50.137.144

You will get a JSON which allows you to redirect your visitors if PR

It will be useful,

Stoiky

Tags: Business Catalyst

Similar Questions

Maybe you are looking for

  • Satellite L655-1JF does not illuminate

    I recently bought a toshiba satellite l655, now I am facing a problem. that it lights when the switch is pressed.the led just flashes and nothing happens. What could be the main problem in this situation.I tried with battery and without battery with

  • Satellite A30 - after the BIOS update I can not install any OS

    Hey everybody I have a problem with my laptop Toshiba Satellite A30 PSA33E. I update my old BIOS and 1.7 and now I have a problem: I can not install any OS on my PC because it stops whenever I try to install. After 50 tests, I installed a Windows SP2

  • Download drivers for my laptop Hp15-g009ax

    I bought my laptop Hp15-g009ax a few days back. The problems with drivers is irritating. He forced a change in my perception of HP as a brand completely. I don't know where update my drivers, especially the video drivers. I can't yet get on a big scr

  • Photosmart 6525: paper mismatch error photosmart 6525

    I get a "Paper mismatch" error when you try to print from Word on paper 8 1/2 x 11 holiday.  I can print on plain 8 1/2 x 11 paper without problem, but when I load the holiday paper and try printing the same thing I get "Paper Mismatch", and the only

  • Display will not come out of sleep mode

    I have a HP Pavilion p7-1410 Office running 64-bit Windows 8. Power management is in its default configuration.  When I try to wake the computer after being in standby mode, the computer comes out but the screen remains black.  I know with certainty