I have two store views for two languages english and spanish in magento 2.3 EE.
The english store is default one and I want to add store view switcher drop down in my custom header template.
How to show that ?
The main requirement is that I want only one page in spanish with complete spanish header, footer and content. So, for that I have created the above two store views.
I am using custom weltpixel theme.
But store switcher is not showing up on header.
Best Answer
if you use magento default theme then in
layout/default.xml
add below code before</body>
tagUPDATED: full path should be like this - **app/design/frontend/Theme_Vendorname/Theme_name/Magento_Theme/layout/default.xml **
Put below code in default.xml
run php bin/magento cache:clean command run php bin/magento cache:flush command
Now store switcher will show on the header part.