Questions tagged [store-switcher]

The tag has no usage guidance.

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
2answers
232 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 ...
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 ...
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 ...
2
votes
0answers
235 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 ...
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
0answers
149 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&...
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( \...
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 ...
1
vote
0answers
56 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
1
vote
0answers
871 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 ...
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 ...
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 ...
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 ...
0
votes
0answers
23 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. ...
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
77 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
70 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 ...
0
votes
2answers
74 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.
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
90 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
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
1answer
263 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 */ ...
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
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 ...
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://...
0
votes
0answers
269 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 ...
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. ...