Questions tagged [store-view]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Code change to an existing store in Magento2

I changed the code of an existing store view from "at" to "es" and just activated it. I have already entered the translation file for Spanish ---> es_ES.csv. When I try to enter ...
1 vote
1 answer
3k 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 ...
6 votes
1 answer
2k 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)?
0 votes
2 answers
3k 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 ...
1 vote
2 answers
2k views

magento 2 multiple store views with sub domain url

I am trying to have two different store views with different themes but has the same catalog and settings. default store view: website.co.uk second store view should have: migrate.website.co.uk Both ...
6 votes
2 answers
2k 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 ...
2 votes
3 answers
4k 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')->...
0 votes
1 answer
31 views

How to remove a product from a specific website by uploading a CSV file

Currently, I want to delete products from a specific website in bulk, as it is a huge list of SKU's, So I want to do this via a CSV file. But I have not identified which field removes the check mark ...
0 votes
0 answers
11 views

How can i change product url key in other language?

How can i change the url key of a product in an other language? For example: For our Dutch website i have a product url and we push our product also to another storeview for Germany. How i can change ...
0 votes
2 answers
3k views

Magento 2 change store view

I'm trying this script to detect browser language and redirect to Italian store view if the language is Italian or English store view if the language is not Italian. The country code is correctly ...
0 votes
3 answers
2k 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
1 answer
2k views

Magento 2: get Logo URL for a specific store in controller

I just started developing a module in Magento 2. It is a copy of a module I made in Magento 1. I'm already stuck with Magento 2 logic. I want to get the logo URL of every store view. In Magento 1 I ...
2 votes
1 answer
1k views

Hide shipping method for multiple store views

I am trying to create a solution for different shipping options in the cart based on store view and would appreciate any advice. In Magento, I have 1 website (abc.com) with 2 store views (general) and ...
3 votes
1 answer
7k views

What is App Emulation In magento

I want to know what is app emulation in magento... I saw its forcefully set store id ....in store...but why this is use in magento.. I use this in my project..but i want to know Detail about App ...
0 votes
1 answer
239 views

getting store view at admin gird

How can I get the store_view into the admin grid? I have a second table to store the key and the store_id. how can I retrieve the data from that table to the grid? I have below, but it is showing ...
0 votes
2 answers
63 views

Magento 2 - Multistore with same store codes

We want to create the following setup: Main Web Site (code: store) -> Store BE (code: store-be) -> Store View NL (code: nl) Main Web Site (code: store) -> Store BE (code: store-be) -> ...
0 votes
1 answer
23 views

How to manually create a html link to another store view in CMS content?

I need to insert a link to CMS content that will point to the same site's different store view. How can I do that?
0 votes
4 answers
1k views

Magento 2 - "The store that was requested wasn't found. Verify the store and try again."

If I call php bin/magento setup:upgrade I get: “The store that was requested wasn't found. Verify the store and try again.” What can I do?
0 votes
0 answers
11 views

I have thousands of URLs including /?___store=3&___version=1659330000&__signature= What are these URLS?

When I crawl the site, I have thousands of URLs showing up with URLs such as this: ?___store=3&___version=(number similar to this 1659330000)&__signature=, and it ends with a timestamp. What ...
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 ...
0 votes
1 answer
190 views

Multi Store can't show different "Display Out of Stock Products" options on frontends - 2.4.6

My issue is that I can't get my different frontends to show different "Display out of Stock Products" options. Does anyone have any tips on which stock Magento module I need to look into to ...
1 vote
1 answer
293 views

Custom field for product custom options - Magento 2.4

We used the following method, to create a custom field for the product custom option section: https://devhooks.in/blog/magento2-how-to-add-custom-field-in-custom-option This works fine, but we can not ...
0 votes
1 answer
79 views

Magento 2.4.2 address on storeview level although customer config is Account Sharing Options not global

I have a Magento 2.4.2 with 3 websites, 1 B2C and 2 B2B shops. I have setup the global customer setup to Share Customer Accounts -> Per Website But when I want to add an customer address the inputs ...
0 votes
3 answers
461 views

Store view category description

We want to check or load the category description from the store view itself, instead of the general. By default it is loaded as <?= $category->getCurrentCategory()->getDescription() ?> ...
0 votes
0 answers
45 views

switch store view with select country in checkout / cart

I would like to trigger the store view to change according to the selected country in cart and checkout in Magento 2.4.3 Does anyone do have a clue if or how this is possible? Thanks
0 votes
1 answer
88 views

Category name from store view, only when it exist else default value - Magento2.4

We use the following code, to get the category name of a specific product. This works fine, but we face the issue with the store views. It only works well if the specific store view does have a unique ...
0 votes
2 answers
90 views

attribute on category page don´t show in second store view

I show a few attributes in my categories(list view) on my default store view and that is working well. Magento ver. 2.4.3 Now I created a second store view but unfortunately the attributes didn´t show ...
1 vote
1 answer
848 views

Remove trailing slashes from store URL's - Magento 2.4

We set the "Add Store Code to URLs" option to Yes, so now our store URL's looks like: https://www.example.com/en/ https://www.example.com/de/ https://www.example.com/fr/ And by default ...
0 votes
1 answer
240 views

set up one storeview for multiple domains

Is there a way to create a Magento 2.4 instance, that has one website => one storeview and this one storeview is divided depending en each functionality to multiple domains for exemple: myacountabc....
0 votes
0 answers
77 views

Magento sets wrong cookie domain

I have two store views. The default store view and a store view for english language. If I go to the english store view, then im logged out and need to login again... so I want to set the same cookie ...
1 vote
2 answers
35 views

How to locate HTML files associated with the mobile view of a theme?

I installed a Magento theme on my server and wanted to make some changes to the menu within the theme.I am able to view the HTML codes related to the desktop view menu in the block section of the ...
0 votes
0 answers
17 views

Is there any way to view the store name and store address using the rest api?

I've tried all the store related endpoints such as storeConfigs, storeViews, and etc but I've yet to find any that give the store information located in the configuration tab on magento.
8 votes
2 answers
3k 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 ...
0 votes
1 answer
25 views

Magento 2 - Invalid Form Key for new storeview

I created a new storeview and noticed that I can't log in as a customer. It works on the main store view perfectly fine. There are no errors in the server and magento logfiles. I always get: "...
1 vote
2 answers
146 views

Magento 2 - Store View redirects to main domain

I am running magento 2 in a VM on apache2. I created a new store view for another language of our shop. Main domain: company.com Storeview subdomain: de.company.com Problem: If I go to "http://de....
0 votes
1 answer
185 views

Magento 2 different routes per store view

I have one online store with two store views, English and French. How can I add different routes per store view in a custom module on a Magento 2.4 store, following the attached example? EN: www....
1 vote
1 answer
426 views

Magento 2 - New storeview redirects back to default store view - status code 302

I created a new storeview accessible under the URL app.example.com I added this to the .htaccess to set the MAGE_RUN_CODE Environment Variable to app if the URL app.example.com is called: SetEnv ...
3 votes
1 answer
9k views

REST API - categories by store view code

I'm using Magento 2 and try to consume my categories by calling the REST API via /categories. How can I achieve it, to get the categories by an given store view code? Do I have to extend the api by ...
0 votes
1 answer
24 views

How to develop a module for store rating. Magento 1.9 (store-view)

I need to get a module that the customer can use to review (rating) the store in general, and not the products. Is there any module that has this functionality? Or how could I develop it in magento 1
0 votes
1 answer
158 views

JQMIGRATE: jQuery.parseJSON requires a valid JSON string

I am facing JQMIGRATE: jQuery.parseJSON requires a valid JSON string this error in console log on Aheadworks store locator, please if you know about this issue kindly tell me solution. NOTE: ...
1 vote
2 answers
1k 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 ...
1 vote
1 answer
154 views

How to change store based on country location in Magento244?

In magento2 how to change store according to country using geoip location..
3 votes
2 answers
1k views

Remove default store code from URL, only?

mage 2.1.7 "use Store code in URL" set to YES. Have 3 stores, one for our default/original store at "/" with code "France" and one for our south Korea and north Korea ...
2 votes
1 answer
192 views

Magento same page URL on different stores

I've installed Magento Fishpig module for Wordpress integration. I have two stores and a common blog. The only problem is that every time I accessed the blog page, the first store's layout is ...
6 votes
2 answers
12k views

Create global variable for Magento

I'm looking for a right way to create global variables in Magento that I can use it on every view page. I have some solution in mind but I don't if it's good enough. Create a module which provides a ...
5 votes
2 answers
19k views

Magento 2 phtml get store view being viewed

In Magento 2 I have a phtml file I am trying to get what store view is currently being seen by the website visitor. However it does not seem to work. I dont want to have to create a whole module or ...
1 vote
2 answers
1k views

Remove multi-language storeview code from the url - Magento1.9

I am using Magento multistore view for multiple languages like english, german, french etc. To have clean urls i have enabled the settings "Add Store Code to Urls" to "yes". Now it shows following ...
0 votes
2 answers
530 views

How can I get if is in this table 'catalog_product_entity_text' Use Default value on product Magento 2

In database, I find data like this SELECT * FROM catalog_product_entity_text where entity_id = 70430 AND attribute_id = 76 AND store_id = 5; How can I do it programmatically? I need info if it is ...
0 votes
1 answer
31 views

Why it shows [deleted] next to my order detail's existing store view name?

I have my orders placed via a POS app and everything has been working properly. However, at a tradeshow, I didn't collect my customers' addresses (to speed up the process), therefore the orders weren'...
0 votes
4 answers
1k views

Magento 2 - How to delete store view

I need to delete a store view, but there is no way. How does it work?

1
2 3 4 5
12