Question

I have created a new website store and store view in magento 2.1.3 backend and configure the new site language but i can't see the store switcher in frontend

Here is my back end setup enter image description here

heare i selected English as default for Indian store and Arabic for Arabic store

And i need to display like below image in frontend enter image description here

Était-ce utile?

La solution

This is because you have created two websites, for the store switcher to display you need at least 2 store views under the website.

So you should have it configured like this:

  • Website
    • Indian Store
      • Indian Store View
    • Arabic store
      • Arabic Store View

Or if all your data (e.g products, user sessions, payment gateways) are the same you could do this:

  • Website
    • Store
      • Indian Store View
      • Arabic Store View
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top