Store & Currency Auto Switcher

How to disable store switcher for Facebook

Sometimes you need to disable store switcher for Facebook. It can be necessary for ‘Like’ or sharing buttons. To do this you should add the following lines in the ‘User Agent White List’ setting in our extension:

facebookexternalhit\*
facebook\*

How to setup GeoIP City database

If you need to see states, cities, zip codes in order view and at ‘customer online’ page and switch based on countries’ regions, you should install GEO IP City database first:

  • Download the ‘GeoLite City’ database in binary format from Maxmind website GeoLite Databases

  • Unpack it on your computer

  • Upload it to the folder lib/GeoIP/

  • Go to Magento back-end to System ⟶ Configurations ⟶ MAGEWORX tab ⟶ Customers ⟶ GeoIP Database section and change Database Type to GeoIP City.

  • Change Database Path to lib/GeoIP/GeoLiteCity.dat.

How to test redirects from different locations

To test how your site switches visitors from different locations, the client should go to System ⟶ Configuration ⟶ MAGEWORX ⟶ Customers ⟶ Store Auto Switcher section, scroll down to the Choose Country drop-down, select a country and click on View Site button. You’ll see what your website looks like to your customers based on their location.