Questions tagged [store-view]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 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): ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
  • 95
0 votes
0 answers
7 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....
user avatar
  • 53
0 votes
4 answers
44 views

Magento 2 - How to delete store view

I need to delete a store view, but there is no way. How does it work?
user avatar
  • 2,380
0 votes
0 answers
11 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 ...
user avatar
  • 1,957
0 votes
0 answers
7 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 ...
user avatar
0 votes
0 answers
14 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: ...
user avatar
  • 120
0 votes
0 answers
44 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, ...
user avatar
0 votes
2 answers
58 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 ...
user avatar
  • 2,380
0 votes
1 answer
59 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 ...
user avatar
  • 2,380
0 votes
1 answer
270 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. ....
user avatar
  • 2,380
0 votes
1 answer
41 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 ...
user avatar
  • 508
2 votes
1 answer
89 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.
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 737
0 votes
0 answers
39 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/...
user avatar
0 votes
0 answers
63 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 ...
user avatar
  • 41
0 votes
1 answer
30 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[] = [ ...
user avatar
  • 1,028
0 votes
2 answers
294 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 ...
user avatar
0 votes
0 answers
26 views

Magento 2.4: Attribute option label is not working for different store view

We have created two websites and want to show the different attribute option labels with respective to the locale of the website. However, the scope of the attribute is global and it's not working ...
user avatar
  • 470
0 votes
0 answers
18 views

Disable shipping method

I am Using version Magento ver. 2.4.2 Is their any way i can disable shipping method in "UK" store in website ?
user avatar
1 vote
1 answer
19 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 ...
user avatar
  • 357
0 votes
0 answers
22 views

How product prices are stored in magento 2.4?

I have 2 store views So, how the price will be stored & shown in frontend if i put prices different in all store views ?
user avatar
  • 357
0 votes
0 answers
44 views

Unable to edit the store, the scope or scope ID is invalid. Verify both and try again error while trying to edit the store

I created 2 stores and their views programmatically and I'm unable to edit them from Design > Configuration. I created the stores using GroupFactory and store views using StoreFactory. After that, ...
user avatar
0 votes
1 answer
424 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-&...
user avatar
0 votes
1 answer
58 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 ...
user avatar
  • 2,567
0 votes
1 answer
54 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 ...
user avatar
  • 871
0 votes
2 answers
198 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 ...
user avatar
0 votes
2 answers
428 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....
user avatar
2 votes
0 answers
73 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', [ ...
user avatar
  • 115
1 vote
0 answers
20 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 ...
user avatar
0 votes
1 answer
79 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() ...
user avatar
  • 115
0 votes
1 answer
22 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://...
user avatar
2 votes
1 answer
207 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) ...
user avatar
0 votes
1 answer
97 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?
user avatar
0 votes
1 answer
111 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 ...
user avatar
  • 737
0 votes
1 answer
184 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 ...
user avatar
0 votes
1 answer
327 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.
user avatar
3 votes
0 answers
138 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 = '...
user avatar
  • 167
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
user avatar
1 vote
0 answers
44 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 ...
user avatar
0 votes
1 answer
23 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 ...
user avatar
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 ...
user avatar
  • 360
0 votes
1 answer
501 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 ...
user avatar
  • 115
1 vote
1 answer
276 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('...
user avatar
0 votes
1 answer
207 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 ...
user avatar
0 votes
1 answer
52 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')), ...
user avatar
0 votes
2 answers
343 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 ...
user avatar
1 vote
1 answer
98 views

Declaration warning when extending _afterLoad() in AbstractModel

I've created a backend module to which I've added the possibility to set storeview specific data today. That worked and showed up fine. So I'm trying to load and save my storeview data now but it just ...
user avatar
  • 13
1 vote
0 answers
20 views

Store wih diferent languages have broken images after programmatically product import

I have a script running in cron to import products. This import creates simple products and then creates a configurable one with all these simple ones as children of that. During this process, I ...
user avatar
3 votes
2 answers
1k views

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

Everytime I'm switching from the English store view to the Italian's one and viceversa, it takes me to the equivalent homepage (no matters where I am) and it throws this error: Here's my setup: ...
user avatar
  • 115

1
2 3 4 5
12