Questions tagged [store-switcher]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
7answers
7k 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.
1
vote
1answer
772 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 ...
12
votes
4answers
6k 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() ? '-' ....
4
votes
1answer
274 views

Magento 2.3 - Website switcher instead of store switcher

I run a multi website setup where there is only one store and store view per website. In this scenario the store switcher won't work, so I'd like to implement a website switcher instead. I'd like to ...
2
votes
2answers
3k 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\...
0
votes
0answers
64 views

Magento 2 : store switcher not display store vise filter

I added store switcher in UI grid. Then, I switch store view. But, I can't get proper collection in grid. I used same answer in my module. But, when I switch to Russia store it will still display ...
0
votes
0answers
33 views

How To clear mini-cart when switching between stores in Magento 2.3

I Have 2 stores in my website, I want to clear the Mini-cart, Cart during store switch. For this i wrote below code, app\code\E25media\CustomBlocks\Controller\Cart\Index.php <?php namespace ...
0
votes
1answer
191 views

Magento 2 : Ui form element enable/disable on store switcher

In Magento 2.3.1, I want to do like : If all store view, then input text should be enable. Othervise, input text should be disable. I follow this answer : click here But, still I'm not getting ...