Questions tagged [store-view]

Denotes questions regarding store views (scope, creation, management).

Filter by
Sorted by
Tagged with
0
votes
0answers
8 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
2answers
24 views

Get URL of Current Store View Store Magento 2

I have created multiple stores in one. Now when I change the store view it definitely changes and I have set the Base URLs for this store view accurately. But when I try to get the current store view ...
0
votes
0answers
21 views

“Single Store Mode” data transfer

I have a website where currently only 1 website/store/store view exists. I can therefore switch to "single store mode". The general problem is, that data was partially edited in the "All Store Views" ...
0
votes
1answer
21 views

Magento 2 : How to find out store codes using front-end website only?

I would like to find out the different ways how one can identify store views if website having multi store codes. PS. I'm using store switcher at the moment but is there any other way Magento ...
1
vote
2answers
23 views

How can i translate custom elements in .phtml file according to store view

I have added a tag in form.phtml file which shows on view Cart Page. <h1>Custom Cart Information</h1> which effects as Hence my store is multi-lingual when i change store view to ...
0
votes
1answer
37 views

How to get current store ID for Magento 2.3.2?

How to get current store ID for Magento 2.3.2 version, I set up multiple stores (KS ,UAE), so want to know stores ID.
0
votes
2answers
17 views

Arabic store price format replace , with . magento 1.9x

How can I change the format of the price in the frontend for the Arabic store? Eg:د.إ.‏ 1٬486٫00 to د.إ.‏ 1٬486.00 instead of, I need to change with.
0
votes
0answers
30 views

Javascript problem When changing production mode

I have this console error that occurs only when setting to production and nothing works as expected in storefront view. It works fine when the mode is set to the developer and no console errors are ...
0
votes
0answers
14 views

How we can create store view programmatic

I am trying to create the store view if not exist programmatically. I have tried the below code: How to create store view or store programmatically and do it right in Mage 2? However, its not ...
0
votes
1answer
28 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
16 views

Magento 2 duplicate product entry in default store view

In my magento2 store I only have one single store assigned to the default view and all the products in were in "all store view". So the store view column in the csv was blank. But somehow someone ...
0
votes
0answers
6 views

Magento 2 search based on store view not working fine

I have two different stores like cars and bikes. When I'm in car store and when I search for some bike products I get vice versa in bike store also. I also updated the attributes to store view. My ...
0
votes
3answers
48 views

Delete Stores in Magento 2

I have a Magento Site which have around 20 stores. I have deleted 17 stores as they are not useful to me but when I go to Admin panel and go Catalog -> Categories then it shows me the following ...
1
vote
1answer
28 views

How to get the store code in a phtml file of Magento2?

In a custom phtml file I have to get the code associated to the store view (not the Id), any idea how to get this?
2
votes
1answer
27 views

How to get all stores collection include the store id 0 in magento 2

I have tried to get all the stores in Magento 2. $stores = $this->storeManager->getStores(); $ids= array(); foreach ($stores as $storeId => $storeData) { $ids[] = $storeId; } print_r($...
0
votes
0answers
47 views

The store that was requested wasn't found. Verify the store and try again in orders grid Magento 2

When I navigating to Admin dashboard -> Sales -> Orders. I am having this issue "The store that was requested wasn't found. Verify the store and try again." I cannot able to see my orders list, I can ...
0
votes
1answer
24 views

Category Link go to 404 on store switch

I have used Magento 2 with 2 store view and My default store is English and set Category Link in Mega Menu but when i change my Store view from English to french that category link goes to 404 page. ...
2
votes
0answers
19 views

Magento 2 : Set current store throughout the site

I want to set currentstore according to geoip of customer.for that i have tried below code: MagentoDir/app/code/Shasha/Geoip/Observer/Redirect.php <?php namespace Shasha\Geoip\Observer; ...
0
votes
0answers
14 views

How to display product categories in different languages when adding a product?

I am using Magento v2.3.2. Facing this issue, I have store with 2 views English and German, everything is setup "correctly" but when I am trying to add new product, I cannot switch the view. The ...
1
vote
1answer
59 views

How to display all stores on the home page

How in custom created module to make the logic of receiving and displaying all links to stores. The display should be on the homepage. I tried the solution that suggested Google search, but I can’t ...
0
votes
0answers
6 views

Magento 2 CE/EE - Custom price and quantity at Store or Store view level

in Magento2 (CE or EE version) there's a way to set custom quantity and custom price for products based on Store or Store view? Or it's required to set that informations at Website level?
0
votes
0answers
18 views

Magento 2 Multi website for “product_websites” column in CSV file

I'm using multi website. When I upload products using CSV I set "product_websites" column as "default" instead of "sports". Again I make changes in "product_websites" column as "sports" and tried to ...
3
votes
1answer
249 views

Magento 2.3 : Customer after login Storeview switcher/redirect problem

I have created 3 store for example: Australia India USA and created related store view as show below: In my case if any customer is register from any store or store view. They are successfully ...
0
votes
0answers
17 views

Redirect to Home Page on store switch

Magento 2.2 How to redirect to homepage on store view switch? I have a multilingual site and want to redirect to homepage every time the store view change. Thanks!
2
votes
1answer
93 views

Magento 2: Extending Store Group model

We need to extend the Store Group model a bit by adding a couple of fields, needed mostly for external integrations. Following the example here we've added the extra columns to the database. Now we ...
0
votes
0answers
41 views

Magento 2 : What tables should be created to make product price Store-view wise? [ Multi Storeview Pricing ]

I want to create functionality like product prices can be set at the store-view level for that I've added one more option as Storeview in a configuration for Stores > Config > Catalog > Catalog > ...
1
vote
1answer
160 views

magento 2.3 add store view switcher in custom header template

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 ...
1
vote
0answers
30 views

Magento 2.3: problem understanding store views

I am having problems in understanding the Magento 2 store views. We have used the default settings in Admin -> STORES -> Settings -> All Stores We are only using one store view. However, I have not ...
0
votes
1answer
146 views

Magento 2 : How to set the different product price to Storeview?

I have this Extension StoreViewPricing, you can set product price in store views, but in Layered Navigation when I'm applying price filter it's not showing proper results as expected. Here's the ...
1
vote
1answer
119 views

Magento 2 : Change Store view programmatically at front end side

I want to change store view programmatically same as like when we switch store from store switcher at front end side. I try this answer. But, it's not working. It's just change store view name from ...
1
vote
2answers
35 views

Magento 2: How redirect from controller to another controller to POST method?

I am trying to redirect the customer when their store view is not correct. When I redirect the _request method it is GET and I need it to be POST if ($currentStore !== $customerStore) { $...
1
vote
0answers
19 views

Store, websites Magento 2 catalog

I'm very confused. I exported all my products and saw I have the same product in default store and "no store", I mean, my catalog have the same products twice. Not sure what it causes and how this ...
0
votes
0answers
17 views

Switch Store View on Login

I have created a custom module that observes the Login button so that when it is clicked I can switch the store view to a different store view. So far, this appears to be mostly working. However, upon ...
0
votes
0answers
37 views

Magento 2.3.2 Set Product Image Role Per Store View

I want to parse my product data and ensure all child products in each store view have swatch_image, image, small_image, thumbnail image roles set to the current image. I have tried $_store = $this-&...
1
vote
2answers
87 views

I Need Help In Issue In My Theme Configuration: Magento 2

I think there is must be in-store and storeview the name of my store and store view ?? it was working but now when I go to edit anything in this design configuration it does not apply on my website .. ...
0
votes
0answers
20 views

Magento 2 some urls redirected to specific store view

I have 2 websites and three store views set up in my mangento 2 : domain.nl domain.be domain.be/fr/ I dont know for some reason, some urls in front-end and back-end get redirected to domain.be/fr/. ...
0
votes
0answers
21 views

Magento 2.3: Change the store view when a certain category is clicked

How do I set up store views to be switched as soon as a category is clicked? We do run a Magento store that offers products for various customers. Let's set three categories in order to simplify the ...
0
votes
0answers
37 views

Magento 2: Allow switching store view on a CMS page with different URL keys

My store has multiple store views for different languages. When the user is on a CMS page (for example 'contact') and switches to a different store view, the URL remains the same so the user sees the ...
0
votes
2answers
78 views

Magento 2.3.1 Get Allowed Countries by storeview

It seems in Magento 2, we can only configure Allowed Countries per WEBSITE or STORE. but not STOREVIEWS. I found this solution https://magento.stackexchange.com/a/245401/26668, where we can add ...
0
votes
0answers
17 views

Magento 2 check whether value retuned from SCOPE_STORE Config is default(0)

I have this: $data = $this->_config->getValue(self::MY_CONFIG_PATH, ScopeInterface::SCOPE_STORE); $data will contain the my data whether it's a string or [] for the simplicity lets say it ...
1
vote
1answer
28 views

Magento 2: Load storeview id in controller returns error

I loaded following class into my controller: use Magento\Store\Model\StoreManagerInterf‌​ace; And injected it in my constructor: StoreManagerInterf‌​ace $storeManagerInterface, However it returns ...
0
votes
1answer
37 views

Remove Store name in URL

I setup store theme with demo. It setup 5 stores with different homepage. now my URI is including store name, which I dont need my store URI should be 'xyz.com/' How I can remove this /english1 ...
1
vote
0answers
84 views

How to rewrite store view code in Nginx?

I have some trouble to fix this issue. I have a Magento 2 installation with two websites and several store views: https://www.websiteone.com/onenl https://www.websiteone.com/oneen https://www....
0
votes
1answer
27 views

One storeview error to many redirect

We have a multistore in multilanguage and as test we set one to connect the media and static url through static.domain.com to a CDN but that is not working. But now the template for that storeview ...
0
votes
0answers
24 views

Setting up Multi-Website/Store Views

I am looking to setup my Magento stores as follows: Australia [URL: https://example.com.au/] >Australia >>English United States [URL: https://example.com.au/us/] >United States >&...
0
votes
0answers
22 views

controller not reaching magento2

One strange thing is happing in my application, I have one custom link in my email. On development server everything works fine, but on production server when I clicked the link nothing happens, ...
0
votes
1answer
21 views

M2 - Search for translations

I need to translate some notification messages, but I can't find the correct string to translate... I've installed a extension for a dutch language pack, but where can I find the files where the ...
0
votes
1answer
45 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 ...
0
votes
1answer
51 views

Magento 2: Multiple stores with multiple languages, how to setup properly?

I'm building a webshop that contains multiple stores, each store has multiple languages, like so: Website A |__ Store A |__ StoreView EN |__ StoreView DE |__ StoreView FR ...
0
votes
1answer
34 views

Magento 2 Create multiple store views in an easy way?

I need to create more than 100 store views to my Magento website. Is there an "easy" way of doing this, like by using command line? It will take a long time if I create each store in admin -> stores ->...