Questions tagged [store-view]
Denotes questions regarding store views (scope, creation, management).
578
questions
1
vote
0
answers
369
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
2
answers
1k
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 ...
1
vote
1
answer
173
views
Magento 2: Load storeview id in controller returns error
I loaded following class into my controller:
use Magento\Store\Model\StoreManagerInterface;
And injected it in my constructor:
StoreManagerInterface $storeManagerInterface,
However it returns ...
0
votes
1
answer
193
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
0
answers
601
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
1
answer
33
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
0
answers
37
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
1
answer
29
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
1
answer
370
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
1
answer
186
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
1
answer
314
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 ->...
1
vote
1
answer
278
views
Magento 2 Model getData for field at specific store_id
In my Model I have a method getSummary() E.G:
public function getSummary() {
return $this->getData(BlogInterface::SUMMARY);
}
I have 3 stores: en_1,fr_2,de_3
I've only set summary in ...
2
votes
0
answers
683
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 ...
1
vote
0
answers
33
views
magento hide product form main page
In my Main Website, I create 2 Store name ram and shyam store and every store have 2-2 view.
I upload product in ram store and shyam store.
Now when I go to ram store view home page display all ...
2
votes
1
answer
616
views
Product image going to the wrong URL
I have this block at the bottom of cms pages that are created by bluefoot and when you click on the image it takes you to a long URL like if it was being searched for but if you click on "add to cart" ...
2
votes
2
answers
56
views
What is the correct way to set up a store/store views?
I am new to Magento and am after some rather initial guidance.
Firstly, what is the correct way to set up stores / store views? Should it be as per option one or two below?
Option 1
>WEBSITE
>...
4
votes
1
answer
199
views
Magento 2 - How to Disable cart only for a specific store view?
I need to hide/remove cart only for PROFESSIONAL ENGLISH store view.
Store structure on attached image.
Is this possible?
0
votes
1
answer
135
views
Help please with correct saving multiselect field for Store view edit form
Please help with correct saving adding custom field for Store View edit form.
Default Magento Store view edit form:
Stores->All Stores->Any Store
https://screencast.com/t/WPA3owq3
https://...
2
votes
4
answers
2k
views
Magento2: Adding custom attribute to category doesn't show store specific value
I have created a custom category attribute using the custom code from here, attribute created successfully and able to save the value.
But I want to save store specific value in this custom attribute,...
0
votes
1
answer
229
views
It's possible to change language without changing store view?
I wonder if there is a way to setup a button to change the locale without having to change the store view, so this way you could create:
Store 1
Store 2
Store 3
And change languages no matter in ...
1
vote
0
answers
123
views
default store view is not selected by deafult when open any category in magento 2 admin
I have migrated Magento 1.9.3.1 to Magento 2.3.0
I am getting an issue in the admin.
When I open category in admin side then English store is selected by default. How can I make default_store_view ...
2
votes
0
answers
123
views
Multi Store views data
In my site having multi stores. I want to made extension for Multi Store views in the store view option in custom module in adminhtml. How to add functionality for that? i want save the data for ...
5
votes
2
answers
1k
views
Error showing special prices when changing store view - Magento 2.3.1
I have 2 store views, one for normal customers (product prices including tax) and one for wholesale customers (product prices excluding tax). See images for reference.
Normal Store View (product ...
1
vote
1
answer
111
views
What is the correct way to show a Currency Symbol or Text across all prices shown in the store, cart and checkout?
Show a Currency Symbol or Text across all prices
For example to show NZD after each $XXX.YY so it would display as
$XXX.YY NZD
This is to be shown on Product pages, cart, checkout.
Is there a ...
0
votes
0
answers
22
views
Magento EE 2.2.2 move store from one multi site instance to another multi site instance
What would be the easiest way to move a store from one multi site instance to another multi site instance on Magento EE 2.2.2?
Need to move store settings, products, product attributes, content ...
1
vote
0
answers
248
views
Magento 2: Change Order's Store View
I have two Store Views defined: 'English' and 'Lithuanian'.
Suppose that a customer makes an order in 'English' (default) Store View. If I printed the Invoice, it would be in English language. ...
6
votes
2
answers
1k
views
Redirected automatically to a store view based on a user group (B2C & B2B) - M2
I have created two store views, one for B2C and one for B2B. I need that when a B2B customer login will be redirected automatically to the view created for their user group. But for B2C customers can ...
2
votes
1
answer
1k
views
M2 | How to set default store view of product while creating the product programmatically?
I am creating simple product programmatically, but for displaying it on frontend I need to edit product from admin side and set its view from
All Store Views
to
Default Store View
Mannually, ...
0
votes
1
answer
37
views
Not showing images on second frontend shop
We have 2 storeviews, everything is working fine on both storeviews except the product images on the second shop.
Main shop url: https://shop.diana-lys.aze.dk/default
Second shop url: https://shop....
-1
votes
1
answer
48
views
Make small design changes on store view
I'm trying to make a few small design changes in my second store view. I was wondering if there is an easy way to do this - without duplicating the theme or stylesheets, example:
I want to change the ...
2
votes
1
answer
542
views
Magento 2.3 - Updating a customer without store_id sets the store_id to default using REST
There are multiple store views in my site. I created a customer and set his store view to some value that is not the default.
Use the rest api to change the first name of the customer (Like: put to ...
4
votes
1
answer
186
views
Magento 2 - Store wise description very hard to manage
I have 1000s of products and there are 3 different stores.
Product descriptions are stored on store level. So everytime I need to update any description I have to update it on all store levels.
Is ...
1
vote
1
answer
806
views
Enable or disable maintenance mode store view 2
Is there any option to enable maintenance mode for a specific store view.
1
vote
1
answer
28
views
Magento 1.9.4.1 Setting up order IDs for different store views under the same store
When checking the order increments for some stores i found the following:
+------------+--------------+------------+----------+------------------+-------------------+------------------+
| group_name |...
5
votes
0
answers
719
views
Web API: Product set use default status for store view
Our products are created and updated via the web API. When we update a product for all /rest/all/V1/products/123 and set status: 2 the product is disabled. But per store view it's still enabled ...
11
votes
1
answer
4k
views
Magento 2 - Store disable issue in Multi stores website
I am working on multi store website, as far I know person should be able to disable store view / website if that is not a default store view / website.
I want to disable some of the store views but ...
0
votes
3
answers
2k
views
Magento 2 Store View multiselect in system.xml
I am not able to add store view selection in system.xml I am only able to add in the ui form field component:
When I tried to add in system.xml it gives the error:
1 exception(s):
Exception #0 (...
1
vote
1
answer
171
views
Magento 1.9.2 - store view in multiple domain
I have a unique website with two store views for two languages (Italian and English). For store view of the first language I would like to keep it in the address www.mysite.it while the second one I ...
4
votes
0
answers
111
views
Custom store view per customer group
I need a solution for showing a different store view to different customer group.
For example:
Store view 1 must be displayed to the Customer Group 1 and Store view
2 must be displayed to the ...
4
votes
1
answer
959
views
Can't change product description in specific store view
I'm using Magento 2.3.
I have created some store View
But in my product i can't change short description and description, all the other field change without any problem, i can only change it in "...
0
votes
1
answer
51
views
Magento2 : How to modify the store view url?
How to change the magento store view url?
For example change "?___store=en" to "?lang=en".
1
vote
0
answers
1k
views
Magento 2.3 Ui grid not working when store column is present
I have created a custom grid using UI component. "Store" column is one of the columns.
The issue is, when there is Store column, export function is not working.
The error comes from the following path ...
1
vote
0
answers
57
views
Magento 2.3 - Save and filter custom ui form record by store view
I want to store custom record by specific store view which is selected and also want to filter UI grid by it.
UI form
4
votes
1
answer
796
views
Multistore, multiple languages: optimal SEO versus user friendliness
I have read these threads, but they don’t seem to answer my confusion:
How to create Multiple Store with different domain in Magento
http://www.ecommercegorilla.com/how-to-set-up-multiple-store-...
2
votes
0
answers
42
views
Language switcher duplicate parameters
I have two store view "en" for english and "ar" for arabic. When i click english store view icon, the url gets changed to
"https://my-magento-store.com/?__store=en"
and after that when i click ...
1
vote
1
answer
170
views
Magento 2.1.3 Build multiple store views with unique subdomains pull CSS and JS from parent website URL?
I've been googling this all afternoon, suffering from Search Engine blindness, so much so I even tried bing for a moment...
I have a multiple language site set up with different URL's assigned to ...
2
votes
0
answers
135
views
How to show only all store views on default store view
How to show all store views on default store view and on other store views only the current store view shows.
my code is
<?php
namespace PME\Hideprice\Model\Config\Source;
/**
* @api
* @since 100....
1
vote
0
answers
50
views
Modifying a query (get products using SQL only)
I am trying without success to obtain all products from MAGENTO database. (SQL only)
After a few attempts i got this query (it is not working properly because it shows empty rows after executing it):
...
0
votes
1
answer
604
views
Magento 2.2.6 - Attributes Issue with Store View and product created by REST
I have a product created in M2 and I create a new product attributes, and when we make an update with c# app using REST Call.
In this case the new added attributes are empty in edit product page with ...
1
vote
1
answer
61
views
How to redirect to particular stores when the site opens
My website has 2 stores
there are two different store codes for that
the first is us and the second is ms
when I enter mysite.com then it redirects to mysite.com/us
but I want to change it to ...