Stores Flags

for Magento 2

Stores Flags extension adds country flags to Store View.

Contact Developer

Stores Flags is an extension that adds country flags to Store View. The extension use own "choose store" template and shows up country flags in drop down instead of simple text.

You can simply add a country flag to your store in admin. Administrator can manage extension settings and enable or disable it on frontend.

Features:

  • new "choose store" template on frontend.
  • ability to enable/disable store flags in admin settings
  • ability to enable/disable compiled styles in admin settings
To install the extension follow the instructions below:
  1. Backup your web directory and store database.
  2. Download Stores Flags installation package.
  3. Upload contents of the Stores Flags installation package to your store root directory.
  4. In SSH console of your server navigate to your store root folder:

    cd /path/to/store/root/folder
  5. Enable Stores Flags extension:

    php bin/magento module:enable MageKey_StoresFlags -c
  6. Upgrade magento system to apply Stores Flags extension:

    php -f bin/magento setup:upgrade
  7. Deploy static view files:

    php -f bin/magento setup:static-content:deploy
  8. Flush store cache. Log out from the backend and log in again.
Stores Flags extension is now installed and ready for work.

Overview

Stores Flags is an extension that adds country flags to Store View. The extension use own "choose store" template and shows up country flags in drop down instead of simple text.




Setup Store Flag


To set up a flag to your store navigate to Stores > All Stores menu.

Select Store View you need to update. On store view edit page choose Store Country in Store View Flag section

Click Save Store View to update store view settings.

Configuration


To change Stores Flags extension settings navigate to Stores > Configuration > General tab > Stores Flags section.

The Configuration screen is represented with the one setting block: General.

General

  • Enabled - enable/disable the extension.
  • Use Compiled Styles - if this option is enabled the compiled css styles will be added to the head of your page on the frontend.