call to replace anchor tags contains '/admin' in href

How to create IP based language store?

Scenario

You want to set IP based language in your store. You want your customers in France to view the store in French.

Steps 

StoreHippo provides the support for multilingual in its stores. The customers can view the store in their native language as per their geolocation. You can set different languages for different locations by setting up Store variants. Follow the below steps:

Adding Language

  1. Go to Settings > Languages in StoreHippo admin panel.
  2. Click on Add New button to add a language.
  3. Select the language code as "FR" from the drop-down. The language is automatically filled when you select a language code.
  4. Select the checkbox to publish the language.
  5. Click on Save to save the language. 

    Create Store Variants

  6. Go to Site > Theme section in StoreHippo Admin Panel.
  7. Click on Store Variants
  8. Click on Add New.
  9. Enter the Name as "French store". 
  10. Click on Add conditions. Select the Field as "User Countries", Operator as "One of these" and Values as "France".
  11. Click on Insert Conditions to add the condition.
  12. In Action, select the language as "French".
  13. Click on Save to save the variant.
  14. You can do the same for other countries to set different languages for different geolocations.
2019-04-15T10:53:42.783Z