Questions tagged [store-view]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Error Being Caused by Observer Extension in Magento 2

I am currently using an instance of Magento 2.3.2 I have now implemented the following code in the app > code folders: registration.php file inside GroupSite/SiteSwitch/ <?php \Magento\...
0
votes
0answers
8 views

Magento 2.3.x: Dropdown Tax Rule do not selecting correct Tax rate for product

Here I create a dropdown for the user to choose the tax rate, for the same country same state. but different store. Two different stores US and US1 for the common country (i.e. united states) https:...
0
votes
0answers
36 views

Magento 2.3.x: How can we display separate tax on the selecting particular stores from the dropdown?

I need, Multiple stores have a common country (i.e. united states and states should be all) then different tax rules for all stores(*). I create two different stores US and US1 for the common country ...
0
votes
0answers
20 views

Magento 2.3.x: How can customise tax rules for different stores for common country

I need, Multiple stores have a common country (i.e. united states and country states* should be all) then different tax rules for all stores. I create Two different stores US and US1 for the common ...
0
votes
0answers
14 views

Magento 2.3.x: How can set Different Tax rule for multiple store to common country

I create Two different stores US and US1 and set tax rule US-tax rule and US1-tax rule next In Tax Zones and Rates set country US and Tax rate 5% and 10%. from admin -stores>configuration>...
0
votes
0answers
20 views

Storeview switching

I have 2 storeviews, 1 for dutch and 1 for English. Everything works fine if I'm switching from the panel-header, but we want to switch storeviews with help of flags (img) so for instance if I press a ...
0
votes
0answers
10 views

Magento 2 - changing store view from observer

I have an observer in my module (fired on controller_action_predispatch) which checks the current logged in customer billing country, and sets the store view accordingly. For example: $this->...
0
votes
0answers
6 views

Get assigned stock source code by current store id

I have multiple store view and i need to retrieve all assigned source code for current store How can i achieve this?
0
votes
0answers
10 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
55 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
2answers
108 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
26 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
34 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
51 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
17 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
36 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
29 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
57 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
33 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
81 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
51 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
27 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
22 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
60 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
29 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
367 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
18 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
109 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
60 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
267 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
33 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
187 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
170 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
36 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
20 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
72 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
88 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
30 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
22 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
46 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
110 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
18 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
31 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
38 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 2 3 4 5 11