Questions tagged [store-switcher]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Full-page cache breaks store switcher

FPC is activated on the site. When I switch the store view on the Home page the Category page changes the language but the switcher remains unchanged. The store code is added to the cookie correctly. ...
1
vote
1answer
33 views

Magento 2 : Change store view when currency is changed

Is it possible to change the store view when currency is changed? For example, On my site, I have 3 currency and 3 stores view, Now when I'm switching my currency USD then storeview also needs to ...
0
votes
1answer
18 views

Magento2 Change Store URL

I need some urgent help in Magento2. I have a live website say abc.com, and there are around 70 stores. This website was created in cake php. Now i have converted it in Magento2. Everything is done. ...
0
votes
1answer
15 views

How to sort ordring of store view change list in magneto 2.3.4

i want to sort alphabetically this store view change list.Can anyone help to how can i do this in magneto 2.3.4
0
votes
1answer
80 views

Magento 2 Change default store view in admin

Can Anyone know how to set a default store view in admin? Please let me know if anyone have any idea about this.
0
votes
1answer
23 views

Store switching module still pulls theme and payment methods from main site

I'm currently trying to create a module for Magento 2 (2.3.4) which switches the store based on customer group using observers. The code seems to work (uses the correct logo, header for the switched ...
0
votes
1answer
71 views

Store switcher gives 404 error with customer logged in and folder structure in Base URL

Did you ever face 404 Error when the customer is logged in and switching the store switch with having folder structure is Base Url? Something like, Base Url is http://examplemagento.com/b2c/ I have ...
2
votes
3answers
344 views

“The store that was requested wasn't found. Verify the store and try again.”

Everytime I'm switching from the English store view to the Italian's one and viceversa, it takes me to the equivalent homepage (no matters where I am) and it throws this error: Here's my setup: ...
0
votes
2answers
76 views

how to move switch store to header on magento 2.3

I created a child for the luma theme and created multi store for change language. how to move store switcher from footer to a header ( i am using magento 2.3)
0
votes
0answers
20 views

Magento 2.3.x: Diffrent Tax Rule for for different store

Is it possible to create multiple stores for the same country (to all states) and each store has assigned for different tax rules.? Example for the country US I want to create three different stores. ...
0
votes
0answers
22 views

Magento 2.3.x: How can change the position of STORE-SWITCHER on product details page

I create two store US and IN. I want to move this store swither on product details page just in the place of US-tax rule check below images. any help will be appreciated.
2
votes
0answers
58 views

Magento 2 : Store Switch Problem it throws an error

When I try to Switch store in Front-end I got below strange error message. The store that was requested wasn't found. Verify the store and try again. Store redirect properly there is no issue ...
2
votes
1answer
78 views

Magento 2.3.3 Store Switcher error

I have created multiple stores with multiple domains but when I select a store from frontend than giving below error. I have attached the screenshot of the error. Store Cookies does not set on ...
0
votes
0answers
22 views

Magento 2.3.3 : Requested store not found (for logged user)

Normally, the switch between stores works without problems. This is the result when I'm switching from kids to women: exemple.com/kids/clothes -> before switch exemple.com/women -> after switch But ...
0
votes
0answers
17 views

Magento 2.3 : change store view bypass from url

i want to change my store view from url is it possible ? so I just type url : http:// xxx. com/urltochangestoreview
0
votes
1answer
93 views

Keep default store selected in Store switcher in Admin

I have created custom grids in Admin and given store switcher by XML file as below. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
0
votes
1answer
77 views

magento 2.3.1 Store redirect based on Geo IP

I want to redirect user to a specific store based on IP address. I am using front controller dispatch method. i have overridden this method through plugin and using before dispatch method. I am also ...
1
vote
0answers
57 views

Magento2 store switcher not working when enable the add stores codes

magento2 store switcher not working when enable the Add Store Code to Urls in configuration. Thanks
0
votes
0answers
22 views

Unable to switch store

I upgraded my Magento website from 2.1.9 to 2.3.3. Now, I was unable to switch the store view, it is always the default store view that is displayed. I tried to disable all tiers modules, same issue.
0
votes
2answers
205 views

Magento2 - multistore using different domains, relative folder in base url & store codes… language switcher broken

This is a Magento 2.3.2 CE project Let's assume url of default storeview is https://www.domain.com/store/es Url of second storeview is https://www.domain.pt/pt Language switcher gives error, ...
0
votes
1answer
265 views

Magento 2.3.2 - Switch Website (store) without going to base URL

I'm using the following code to switch websites. app/design/frontend/[Vendor]/{Child_theme}/Magento_Store/templates/switch/languages.phtml <?php /** @var \Magento\Store\Block\Switcher $block */ ...
4
votes
1answer
2k 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 ...
0
votes
1answer
110 views

Magento 2 Storview switcher is gone?

In Magento 1.9, when we created multiple storviews and enable all of them, then in the top navigation part of the page on frontend, there will be a dropdown to let customers to switch between ...
2
votes
0answers
237 views

Magento 2.3.1 Change store view in controller_action_predispatch event

In my extension, the default storeview is English and I want to set Arabic storeview, only one time when the customer comes first time on my website. I'm using controller_action_predispatch event to ...
0
votes
2answers
66 views

What is the best AUTO store switcher for Magento 2?

What is the best AUTO store switcher for Magento 2? I have come across a few options just by searching on Google and they all seem to offer similar features. Is Amasty a better provider that Mage ...
0
votes
1answer
322 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 ...
0
votes
0answers
37 views

Want to show the Stores based on countries

I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries. For Example Saudi ...
1
vote
0answers
877 views

Magento 2: I want to Display a Store switcher drop down in Top Header

I'm trying to make a drop-down for a store not store views on the top header. I had searched more and more, but unfortunately always getting the store views solutions. I had created an on ...
2
votes
0answers
47 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?
2
votes
2answers
6k 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 following ...
0
votes
1answer
2k 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) Store ...
0
votes
0answers
52 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
152 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
134 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&...
1
vote
0answers
55 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
270 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
601 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
4k 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\...
11
votes
1answer
1k 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 ...
1
vote
0answers
1k 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
329 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
910 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
256 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
30 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 ...
2
votes
0answers
746 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
3answers
2k 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,...
5
votes
2answers
7k 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
116 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
871 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
1answer
6k 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 ...