Questions tagged [store-view]

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

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

Product Review display multiple store view(multi languages ) in magento 2

I created four website and four store . Two store view for a one website and store. Customer give product review and display one store view. My question how to display both store view.
1 vote
1 answer
47 views

How to change store based on country location in Magento244?

In magento2 how to change store according to country using geoip location..
0 votes
2 answers
76 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
0 answers
16 views

Magento 2 - Programmaticaly add current store view code to body class

I need to add the store view code of the current store view to the body class. How can I do it?
  • 2,551
0 votes
1 answer
30 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
0 answers
22 views

how to get store name display in a shipping method

I'm new here, please help. when you click shipping method a display of store view name show below using knock out js to display.
0 votes
1 answer
72 views

Error while trying to load site

I wanted to add multilanguage support to a website I am creating, thus I followed a guide to do so. After completing the steps, I tried to refresh the site and got the following error 1 exception(s): ...
0 votes
1 answer
244 views

Magento 2 - How to add specific base url for store

In Magento 2 I try to add specific base url for store view. This is my configuration : My website 1 contains two store view : Store view 1 : my_store_view_1 Store view 2 : my_store_view_2 Base urls ...
  • 107
0 votes
0 answers
8 views

magento 2 currency issue

I have two stores UK & SE using Magento ver. 2.4.3-p1. Base currency is set to Swedish. Default Display Currency is also set to Swedish. In SE store view Default Display Currency is set to Swedish....
  • 98
0 votes
4 answers
221 views

Magento 2 - How to delete store view

I need to delete a store view, but there is no way. How does it work?
  • 2,551
0 votes
0 answers
56 views

Magento 2.3.5 Customer getting wrong reset password link in email

We have 2 store_view and both are pointed on the different domain. Desktop Store URL: www.example.com Mobile Store URL: m.example.com Customers are sharing on the website. Customer account ...
  • 1,965
0 votes
0 answers
11 views

storeview tables still in db after storeview remove

Hi, I had 10 storeviews in mi Magento 2.3.5-p1 installation I removed 4 storeviews and ran a bin/magento indexer:reindex after that but i still can see all the storeview tables in the db full ...
0 votes
1 answer
40 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: ...
  • 118
0 votes
0 answers
172 views

How to change store based on country location Magento2?

We have two stores mentioned below. would like to set store based on the user location. Canada - English & French United States - English If the user accessing the website from Canada location, ...
0 votes
2 answers
77 views

Magento 2 - Creating a new store view throws error - Integrity constraint violation

I need to create a new store view, but I get this error: Integrity constraint violation: 1062 Duplicate entry 'studioline-4' for key 'URL_REWRITE_REQUEST_PATH_STORE_ID' I checked the database, but ...
  • 2,551
0 votes
1 answer
93 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 ...
  • 2,551
0 votes
1 answer
572 views

Magento 2 - new store view - category url's not working

I created a new store view with code app. I made a new subdomain for it called app.example.com, if this Url ist getting loaded, then the MAGE_RUN_CODE changes to app, otherwise it is default. ....
  • 2,551
0 votes
1 answer
63 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 ...
  • 562
2 votes
1 answer
114 views

How I Fix error Magento 2 ‘Requested Store Is Not Found’?

I get this message "Requested store is not found" when I want to fix it. The requested Store Is Not Found situation come up while migrating Magento 2 store to the latest version of Magento.
0 votes
0 answers
26 views

Invalid security or form key Please refresh the page [duplicate]

Happens when I go to any product page in the back office. I can access the default store view. I can access the first store view. But I can't access the second store view without triggering that error ...
  • 853
0 votes
0 answers
68 views

Warning: array_replace_recursive(): recursion detected in /app/***/vendor/magento/module-config/App/Config/Type/System.php on line 207

I am on Magento 2.4 (Cloud) and my problem is that I cannot create new websites/stores/store views via the admin panel. Warning: array_replace_recursive(): recursion detected in /app/***/vendor/...
0 votes
0 answers
128 views

Use Magento 2 Product's Scope Switcher in custom module

My problem is, that I wan't to use scope switcher that is, for example, in product editor in the toolbar: It has a really nice ability to quickly switch between store views and usage default values ...
  • 41
0 votes
1 answer
85 views

Magento 2: set Tier price programmatically face issue of unchecked default store view

Before I set in admin like below After I execute script to update tier price for same product it changes as like below which is issue Code I use to set tier price is below $tierPrices[] = [ ...
  • 1,038
0 votes
2 answers
408 views

Wanting to remove multi stores and go back to single store view scope in Magento2.3

Is it possible to switch our store back to single store mode? Is this possible now? It says, "This setting will not be taken into account if system has more than one store view." We have ...
1 vote
1 answer
23 views

Magento 2 : price issue

I am using Magento ver. 2.4.2 EE & React Frontend In front-end when switching the region between US/UK/EU the price sign is still in $ (us dollar) Can you please share which things i can check to ...
  • 397
1 vote
1 answer
892 views

Magento 2: Get all the option label (per store scope) from attribute code

Currently my code is use Magento\Eav\Model\Attribute; use Magento\Eav\Model\AttributeRepository; use Magento\Framework\Api\SearchCriteriaBuilder; $searchCriteria = $this->searchCriteriaBuilder-&...
0 votes
1 answer
104 views

How to remove ?___from_store=default from other store code url of my magento 2 website?

I have 2 stores on my Magento 2 website. one for Srilanka & the other for Australia. I am redirecting my customers based on customer's IPs to relevant sores. Whenever I am redirecting the customer ...
  • 2,609
0 votes
1 answer
61 views

Magento 2: changes made on one store must be apply to default store too

When you edit a product on the All Store View scope it applies the changes to all the stores. I want the reverse of it like if I made changes to a different store then that change must be applied to ...
  • 891
0 votes
2 answers
273 views

Is it possible to manipulate the default Store View programmatically?

I recently tried to update some product-information on the default storeView (id 0). Instead of applying the changes to the default store, it instead applied them to the product in the next higher ...
0 votes
2 answers
553 views

Create Store Programmatically on frontend

I want to create stores/store_views programmatically from the frontend. Is it possible to do that? I have not found any useful tutorial explaining to create stores/store views. I am using Magento 2.4....
2 votes
0 answers
109 views

How to set different product attribute Default value for different store view?

I'm using magento 2.4, i just created a new product attribute like this: $eavSetup->addAttribute( \Magento\Catalog\Model\Product::ENTITY, 'brand_history', [ ...
  • 135
1 vote
0 answers
27 views

Stocks sources of other website's showing on applying store switcher in admin

Ours is the multi website store(UAE and Oman), and each website is assigned its own stock source under Stores > Stocks But when I Go to product edit, and switch store to Oman website, user is able ...
0 votes
1 answer
136 views

How can I get the store code inside a block in the product page using the dependency injection?

I have to check which is the current store view. In order to do that I was using the Object Manager to get the store code like this: $storeCode = \Magento\Framework\App\ObjectManager::getInstance() ...
  • 115
0 votes
1 answer
28 views

Magento 2 how to create a store, store view and root category programatically?

I was doing a research on how to create this 3 elements, I already have 1 website, but I will have a form that will fill the information of store and store view. I found this question https://...
2 votes
1 answer
267 views

Magento2 : Redirect store view on the basis of currency switch

We have 2 store views (en and us) on our website. we have around 5 currencies in that. we need to do the following functionality on our website. When customers switch the currency to $ (US Dollar) ...
0 votes
1 answer
148 views

How to sort ordering of store view change list in Magento 2.3.4

I want to sort alphabetically this store view change list. Can anyone help with how can I do this in magneto 2.3.4?
0 votes
1 answer
185 views

Homepage for a new store : There was no Home CMS page configured or found

I've just created multiples 'Pro' stores like this one. The Mayotte store is already existing and working. The Mayotte pro is a new store based on the same website as the Mayotte one. But when I go ...
  • 853
0 votes
1 answer
233 views

Products are not updating programmatically Magento2

I'm trying to update product details by this code - public function updateProducts(){ $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // instance of object manager ...
0 votes
1 answer
386 views

How to add scope option in adminside magento 2

How to add website scope option in my custom module to the admin side programmatically if any idea or suggestion link please let me know to do this functionality.like this see the below snap.
3 votes
0 answers
142 views

Magento 2: How to Add or Update different store product attribute options label based on default label and store id?

I have a custom Product options dropdown attribute and i want to add or update the label option based on the store id and default label, for example, I have a data like this: $attribute_code = '...
  • 79
1 vote
0 answers
21 views

Show Store Stock against each Products

need to show, store wise qty. > karama 01 19 left > karama 02 10 left there is two stores and qty mentioned
1 vote
0 answers
55 views

Is it possible to view 'default storeview' dropdown attribute values in product Admin Grid?

I've got a dropdown attribute as is in M2.3.4 admin Admin => 1 Default Store view => 'Text for id 1' Admin => 2 Default Store view => 'Text for id 2' But when I go to product section, even ...
0 votes
1 answer
28 views

magento 2 list not showing in Stores > Settings > All Stores

i'm trying to setup a new magento site in 2.3.5p1 with multiple store views. after creating all the store views, i added all products. Now when i visit the stores list in Stores > Settings > All ...
0 votes
1 answer
28 views

Store switching module still pulls theme and payment methods from main site

I'm currently trying to create a module for Magento 2 (2.3.4) which switches the store based on customer group using observers. The code seems to work (uses the correct logo, header for the switched ...
  • 370
0 votes
1 answer
569 views

Magento 2.3: Duplicate entire store view to a new one language

I want to add a new language in my store. It's a language that is really similar to another one already inserted: as example en_GB and en_US. I'm looking to duplicate it because a big percentage of ...
  • 135
1 vote
1 answer
336 views

Add to Cart Success Message Translation issue?

<?= $block->escapeHtml(__( 'You added product %1 to the <a href="%2">shopping cart</a>.', $block->getData('product_name'), $block->getData('...
0 votes
1 answer
261 views

Magento 2 : Product attributes color and size Translate issue

It is a Configurable product and the default store view is Swedish store and this text Color and size need to be translated in Swedish but These words are not translated in Swedish ?? I have tried ...
0 votes
1 answer
75 views

Add to cart success message

<?= $block->escapeHtml(__( 'You added product %1 to the <a href="%2">comparison list</a>.', $block->getData('product_name'), $block->getData('compare_list_url')), ...
0 votes
2 answers
472 views

Magento 2.3 insert a product into a specific store

i have Magento 2.3 and i create three different store view with different ID. After i created a product i can change the price, the name ecc... by the select on the upper-left. But when i create a ...

1
2 3 4 5
12