Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [store-switcher]

The tag has no usage guidance.

2
votes
0answers
23 views

Magento 2 language switcher cause form resubmission when i redirect back

Changing store view and going to the other page, when i click back in my browser it cause form resubmission. How can i, for example, set redirect on controller with GET method? Any help, please?
0
votes
1answer
68 views

Magento 2.3.0 - The store that was requested wasn't found

I have a multi website | Store | Store View setup on one magento 2.3.0 install, setup using this guide. For example xyz.com xyz.com/us xyz.com/uk As of late the main site xyz.com gives the ...
0
votes
1answer
30 views

How to setup multi setup using multi website in magento 2 [duplicate]

I want to set up multiple stores in multiple websites and display all store in the website.
0
votes
1answer
60 views

How to get list to store views collection along with stores in magento2

I have two stores Sweeden and France and two storeviews for each sweedish,english and french,english respectively. i.e Store Sweeden(SE) has two Storeviews Sweedish(se) and English(se_en) ...
0
votes
0answers
25 views

Store switch is not working for custom categories

I have added a categories and called that through CMS block. When I go to that category from homepage it is going fine. After that if I try to change the language,it is not accpeting. say: http://...
2
votes
0answers
26 views

Magento 1.9 multi website with language switcher enabled

I have a multilanguage and multicurrency installation: test.com and test.com/en test.com has Italian language and euro currency test.com/en has english language and dollars currency I needed to ...
2
votes
0answers
82 views

How to remove store code when changing store views?

So I've setup multiple views for my website, but the thing is, when I change store views, the URL ends up looking like this: https://www.domain.com/shop/product1.html?___store=english&...
0
votes
0answers
18 views

Multiple website with same domain in magento1.9

I want to create new store-views(say cities) but here issue is we cannot set different prices for same product in a store-view and cannot enable/disable a product in store-views. Now If I have create ...
1
vote
0answers
36 views

Magento Multi Store - identical store code/language codes

I'm refering to this answer: https://magento.stackexchange.com/a/60657/51738 I know this question is quite old but I assume this workaround should still work on Magento 1.9.x and maybe also on ...
0
votes
0answers
63 views

Magento 2 store switcher - store cookie not changing because of full page cache

I have a Magento 2 site with a basic store switcher that lets the user switch between 2 stores using the URL method (e.g __store=default). When I have FPC enabled, the cookie that sets the current ...
1
vote
2answers
70 views

Magento 2.2.3 - Can't get the URL of logo from core_config_data

I was trying to pull the logo_src from the database table core_config_data but can't return it on the frontend. I was trying to do this via objectManager and know that this is not the correct way. ...
2
votes
2answers
1k views

Magento 2 : Requested store is not found when store switching

In magento 2.2, I have 2 store in my website. When, I switch to default store to other store. Then, it will display error like this 1 exception(s): Exception #0 (Magento\Framework\Exception\...
6
votes
1answer
635 views

Magento 2.1.9 : Change store based on country

Important: I don't want to buy any GeoIP extension. I have a Magento 2.1.9 website with multi-site and multi-store setup. I have setup website for KSA, UAE, CHINA, EGYPT etc. and under each website ...
0
votes
0answers
230 views

Setting the Store View programmatically in Magento 2

I need to have the functionality where if a customer has a VAT number added to their account then I need to change them to a trade store view. I have the following code however the store view doesn't ...
0
votes
1answer
224 views

Magento Store Switcher display one store instead of all

I've create multiple website like below: And in frontEnd i've displaying Store Switcher in the footer but my problem is not displaying all the stores defined above it will display only main website. ...
4
votes
1answer
332 views

M2 How to use URL parameter passing to select store view

We are setting multi language with different store view. In the launching page there are links to redirect to different store views. However the __store=storeview parameter seems cannot write to ...
1
vote
2answers
99 views

Language switcher is broken when using multiple times : Magento 2.2.1

In language switcher when i switch from the default storeview (French in my example) to English, the url changes to: https://example.com/?___store=en Using the language switcher in the header, switch ...
1
vote
0answers
17 views

Avoid __store in URLs when behind a proxy

I have this setup in Magento 2 How does Magento determine the route / getting 404 behind proxy Magento behind a NGINX reverse proxy Rewriting store urls from /en/shop to __store=en Now I am only ...
1
vote
0answers
476 views

Switch store programatically magento 2

I am trying to switch stores programatically. I used following code to achieve it : /** * @var \Magento\Store\Model\StoreManagerInterface */ protected $_storeManager; public function __construct( \...
0
votes
2answers
758 views

Store View Switch Stopped Working After Magento 2.2 Upgrade

Since I have upgraded my website to Magento 2.2.0 (from 2.1.9), the store view switch stopped working on all the pages save for the homepage and the contact page. I have 2 store views for 2 languages,...
4
votes
2answers
3k views

Magento 2.2 store view switching add ___store=default to url

Preconditions: Magento 2.2 With 2 store views ( default and en ) Steps to reproduce: Load home page: url = myeshop.com/ Switch store view: url = myeshop.com/?___store=en Switch again store view: ...
3
votes
1answer
108 views

Products on multi-store Magento installation will display for one website but not the other

I have a Magento 1.9 store and we're trying to implement a multi store set up on it as we're in the UK and we want to cater for the US market too. I've installed the Mageworx Store & Currency Auto ...
1
vote
1answer
545 views

Website switching in magento 1.9 without changing the default url

I have a website in Magento 1.9 called www.example.com. In Magento, we know that we can create multiple websites so I have created like that multiple websites with their own store and store view. so I ...
2
votes
2answers
3k views

Store switcher not showing in frontend magento 2

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 heare i ...
1
vote
1answer
549 views

How to create popup to switch store on landing page

I am using Magento 2 and created 2 stores in site. By default store switcher is available only at bottom of page. I wish to have a pop up on first landing page which asks to select store.
5
votes
7answers
5k views

Magento 2, Change On hover instead of 'click' for mini cart

In magento 2. For mini cart and store switcher, they are dropdown with click. How to change on hover instead of 'click'. I had tried with jquery trigger click, but It don't work.
9
votes
4answers
4k views

Magento 2 Store switcher error in “section-config.js” Uncaught TypeError: Cannot read property '*' of undefined(…)

I'm implementing a custom store switcher in my custom theme. Block template is as follow: <?php if (count($block->getStores())>1): ?> <?php $id = $block->getIdModifier() ? '-' ....
9
votes
1answer
1k views

Magento 2: User login sometimes requires to login twice on multi store setup

I am trying to setup a multi store with shared cart. However, the user login sometimes does not work. The Store Switcher works fine, but the frontend User Login on 2nd and 3rd Store requires me to ...
9
votes
2answers
193 views

Show Default values option in store switcher in admin product edit page

I am using magento enterprise edition and I am super admin of it. For some admins I have allowed only particular store to be accessed. For me, the default values option in store switcher of product ...