Questions tagged [store-view]

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

183 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
1k views

Magento2: Remove Store Code URL only for default store

I am developing a Magento 2 store with two store views, one for each language(English and Italian). I turned on the "Add Store Code to Urls" option from backend, so my URLs looks like: http://mystore....
6
votes
0answers
1k views

Multi store with different domains, cookie store is causing problem

Please note that it's not another "how to setup multistore". I've read other questions and it seems that my problem is not described. Following are not answering my question: set default page to ...
6
votes
2answers
1k views

New website/store view, all pages 404 (including homepage)

As per the title, I've set up a new store on a different domain and all pages including the home page are returning 404. I've tried pretty much everything, and I'm wondering if any of you can think ...
6
votes
2answers
2k views

Get page URL from current page, different store-view

I'm using different store-views to create different language versions of a shop. Now I'm trying to add links to the other pages. However, I can not find a way to get the actual URL from the other ...
5
votes
0answers
156 views

Multistore with subfolders - Including language code before store group in URL

I have a client who needs to include a language code before the store group in the URL. For example, the current setup is: example.com/store1 example.com/store2 There are two subfolders in the root ...
5
votes
1answer
1k views

collect phrases and lang pack command line different from official doc - Magento 2.0.1

I use magento version 2.0.1, I am trying to add new language package, I have followed the instruction from official doc, that commands are not working command syntax mentioned in official doc ...
4
votes
0answers
39 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
1answer
223 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-...
4
votes
1answer
1k views

Set product name per store view programmatically in Magento 2

How can I set the name of a product in a specific language (store view)?
3
votes
0answers
219 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 ...
3
votes
0answers
237 views

Change order of store-views in multistore setup in ADMIN?

I have 3 store views ie ENGLISH, GERMAN and FRENCH language. When I edit a setting or product details page, store views comes in orders/positions as displayed in below image: I want to change their ...
3
votes
1answer
644 views

Programmatically create static block and add it to selected store views

I need to create static blocks programmatically. How to assign a block to selected store views? I've found tutorials about creating static blocks, but they all add the block to all store views, like ...
3
votes
0answers
1k views

Magento 2 custom module multi scope store view

I am diving into the world of Magento 2 development. I am writing a very simple custom module to show a slider in my store homepage. Each slide has its own title and an image to show and I made them ...
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; ...
2
votes
1answer
172 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
2answers
38 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 >...
2
votes
0answers
41 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 ...
2
votes
0answers
21 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 ...
2
votes
0answers
32 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....
2
votes
0answers
130 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
271 views

Strange behavior with the redirects in Store views, Cms pages, Cookies

Config : Front : I have Two store views 1:simple, 2:pro. Admin : 1Website->1StoreGroup->2Storeviews: simple and pro Cms Pages : I created different Cms pages, let's taking for example : 2 (A,...
2
votes
0answers
259 views

Redirect to customer's store view on login

We would like to redirect to the customer's store view on login, this seems like it should be default behaviour but we always get the default store view (ID: 1). Has anyone accomplished this? We have ...
2
votes
0answers
111 views

M2 - one frontend for one store in routes.xml

How can I have multiple route available for one module but different store ? I have one module that is going to be used for several stores (us / de / fr etc..) I would like to have something like : ...
2
votes
0answers
14 views

How come for a batch of newly imported products the URL structure is different than our normal configuration?

I imported some 34 simple products to our admin store, base site, via MageBees' Import/Export Products extension, as I often do. The problem is that their URLs are rendering as default/catalog/product/...
2
votes
3answers
3k views

Get values of your attribute option text from product

I want to get value of attribute option text from product based on store id. I want to get admin text for attribute option. $attribute_option_id = Mage::getResourceModel('catalog/product')->...
2
votes
0answers
327 views

Configure product custom options for different store views

i want to use the product Custom option in admin panel but i have 2 stores view and i want it should show only in Store 1 and Not store 2 now is it set for global and not for website or store for ...
2
votes
0answers
91 views

Category URL rewrite generating with categoryname (hypen + increment) for n store views

My website has 10+ store views, I observed that while creating new categories the default URL rewrite functionality of Magento is adding hyphen + increment id based on the store views count. like ...
2
votes
1answer
1k views

Magento 2 : Store Switcher In admin not working

In Magento 2 admin side, I added store switcher in phtml file using this code. protected function _prepareLayout() { $this->getToolbar()->addChild( 'store_switcher', ...
2
votes
0answers
3k views

Magento 2: Admin Set to “Default Store View”

Magento 2: Import Script Store Id Related Issue Would like to set Admin to "Default Store View" instead of "All Store Views". How to do it? Is it good idea to achieve my requirement?
2
votes
1answer
113 views

Store view with messed up CSS

I have set up a German view in addition to the current default view and the css is messed up when I change the language. It looks like it goes into mobile mode. The website is http://m.theseolounge.co....
2
votes
1answer
574 views

Setting up multiple stores. Configuring one of them causes immediate redirect and can't login/view default website

I set up a website: http://example.com I set up three store fronts that don't exist yet without a problem. I created the fourth (last) store front http://example4.com without a problem. This domain ...
2
votes
0answers
484 views

B2C/B2B website - Best practices and feedback

I am developing a Magento 1 store which caters to 80% B2C and 20% B2B and I'd like to hear your opinion and experiences about what is the best way to go regarding stores vs website vs customer group ...
2
votes
1answer
810 views

Hide shipping method for multiple store views

I am trying to create a solution for different shipping options in cart based on store view and would really appreciate any advice. In Magento I have 1 website (abc.com) with 2 store views (general) ...
2
votes
0answers
115 views

Best Practice Multi Country with Bilingual Magento 1.9

Wondering how to attain this setup for magento? I have these countries Oman Qatar UAE Saudi Arabia Jordan But Language should only be English and Arabic for all. In this case, products should only ...
2
votes
1answer
2k views

How to Magento remove default store view code from url?

We need your help to solve this problem. we have a 2 view store in English and Arabic URLs now www.example.com/en www.example.com/ar we need to remove code view in English version only as default ...
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?
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 ...
1
vote
1answer
132 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 ...
1
vote
0answers
86 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....
1
vote
0answers
31 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 ...
1
vote
0answers
94 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
0answers
21 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 ...
1
vote
0answers
22 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 ...
1
vote
1answer
18 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 ...
1
vote
0answers
20 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. ...
1
vote
1answer
150 views

Enable or disable maintenance mode store view 2

Is there any option to enable maintenance mode for a specific store view.
1
vote
1answer
21 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 |...
1
vote
1answer
44 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 ...