1. Install the extension
After finishing the purchasing process, we will immediately send you an email containing the link to download this extension.
(Please turn off Merge-JS before installing the module. Only Turn on Merge-JS when finishing the installation).
Unzip the file
Create another directory called app/code/Bss/GeoIPAutoSwitchStore/. GeoIPAutoSwitchStore is the module's internal identifier. You can find it in the "composer.json" file in the extension ZIP file you downloaded, look at the node "psr-4".
This is what you call the directory, and then you put the contents of the extension ZIP file in there.
Upload the directory app/code/Bss/GeoIPAutoSwitchStore/ into the root directory of your Magento installation. The root directory of Magento is the directory that contains the directories "app", "bin", "lib" and more. All directories should match the existing directory structure.
Go to Magento 2 root directory.
Run: php bin/magento setup:upgrade
Run: php bin/magento setup:static-content:deploy
Clear all Cache
After purchasing this module, just add our skype account at support.bsscommerce, BSS Support Team will help you to install this extension immediately. Further assistance is available via Email and Skype.
In case you have followed all the above steps but the extension still doesn’t work properly, you can delete the file or change the module’s filename to keep your website function as normal. Then please contact us via email@example.com or Skype: support.bsscommerce, our supporters will assist you in resolving any issues within 24 hours.
2. Install/Uninstall/Disable the Hyva Theme Compatibility package
The following instruction is used for the Hyva theme compatibility package ONLY
2.1. To install the Hyva compatibility package:
2.1.1. Install via composer, run command:
composer require hyva-themes/magento2-bsscommerce-geoip-auto-switch-store
2.1.2.Install via gitlab, run command:
composer config repositories.hyva-themes/magento2-compat-module-fallback git firstname.lastname@example.org:hyva-themes/magento2-compat-module-fallback.git
composer config repositories.hyva-themes/magento2-bsscommerce-geoip-auto-switch-store git email@example.com:hyva-themes/hyva-compat/magento2-bsscommerce-geoip-auto-switch-store.git
composer require hyva-themes/magento2-bsscommerce-geoip-auto-switch-store:dev-main
2.2. To disable the Hyva compatibility package, run commands:
php bin/magento module:disable Hyva_BssGeoIPAutoSwitchStore
2.3. To uninstall the Hyva compatibility package, run commands:
Run composer remove hyva-themes/magento2-bsscommerce-geoip-auto-switch-store
- This module needs to install together with the module Bss_HyvaCompatBase. To install it, follow this guide.
Then navigate to Stores > Bss Commerce > Hyvä Theme Compat Base > Rewrite Template, then in Block Header Content choose Yes.
- When installing the module, you need to run the commands to get the css
- Add to file hyva-themes.json
- Run to the path:
- Then run the command
npm run build-dev