Questions tagged [store-view]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
18 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 ...
0
votes
0answers
9 views

Magento2.3.5 Multistore redirects to default store after visiting cart page

We have multiple stores setup which are UK EU and US. Our default store is UK. When we change store from UK to US or EU and adds product in cart then after visiting cart page the store redirects to ...
0
votes
1answer
13 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 ...
0
votes
2answers
34 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
0answers
14 views

How to differentiate in website URLs and store view URLs?

I need to add a check for website URLs and different Store view urls. This means I need to get some unique value that can differentiate all the store view URLs and Website URLs. Basically, One license ...
0
votes
0answers
53 views

Magento 2: Google search index issue URL is not available to Google - Redirect error

I have installed the GeoIP Store Switcher module. When I enter my site's internal URL for example- xyz.com/women/tops It redirects me to the specific store page which is fine but it shows the error in ...
0
votes
2answers
39 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
0answers
18 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', [ ...
0
votes
0answers
15 views

Magento 2 how to export stores, websites and store views?

I have a Magento installation with many websites, stores and store views, each website with it's own configuration for Shipping Methods, Payment methods, categories, etc.. I need to constantly move ...
0
votes
0answers
10 views

Magento2: Validation failed error on deleting store

I just deleted 3 storeviews for a customer. When attempting the fourth it gives a general 'validation failed' in the (red) magento notification system. I put a tail on the system.log & the ...
1
vote
0answers
13 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
1answer
24 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() ...
0
votes
0answers
25 views

Change language switcher URLs in Magento 2.3

I have multiple languages (store views), each in a different domain (.com, .es, .de, .fr, etc...). When I change the language in any page, the url displayed is like bellow (from .es to .de for example)...
0
votes
1answer
18 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://...
0
votes
0answers
29 views

Magento reset settings

Is there any options to reset all configuration setting not the product or attributes. I need to reset only settings because I'm facing some issue.
2
votes
1answer
64 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
0answers
13 views

Magento 2 why I can see products from other storeviews?

I have a website with many stores and storeviews. The thing is that when I search a product from another storeview or store in a different store, I'm able to see those products. Also in the section of ...
0
votes
1answer
24 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
1answer
36 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 ...
0
votes
0answers
4 views

Create store programmaticaly after deleting it the wrong way

I've created a store using this code. /** * @param $groupId * @param $websiteId * @param $storeName * @param $storeCode * @return Group * @throws Exception */ private function ...
0
votes
1answer
51 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
1answer
86 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
0answers
60 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 = '...
0
votes
0answers
46 views

Cart Price Rule based on category does not work via Rest API

I have created a Cart Price rule (not catalog) and applied a discount to it. I can apply the discount fine using the store's UI. I can also apply the discount via Rest API. Then if I add an action to ...
1
vote
0answers
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
0
votes
0answers
6 views

Magento2 Show Store Purchase Point as 1 line instead of old   spaced multiline

So we've been using Magento since 1.3 and now working with M2. Why is the Store Purchase Point still a multiline spaced with   rubble? I would expect Spacing being tackled by css or some form of ...
1
vote
0answers
26 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
0answers
14 views

Magento 2.3: How to delete store specific view without effect other store view disturb?

I have 3 store views, I just want to remove one of them, I can remove that from Magento 2.3 admin but their problem with related categories/products/orders/customers? they will also delete? right? ...
0
votes
1answer
21 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
0answers
12 views

magento 1.9 admin store view

i am having a problem with my magento 1.9 webshop. i have build a multi store. like: location1.domain.nl location2.domain.nl location3.domain.nl every domain has his own store name and store view. ...
0
votes
1answer
27 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 ...
0
votes
1answer
245 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 ...
0
votes
0answers
22 views

Re installing Magento 2.3.4 on existing store without losing products, categories, design etc

After installing a new theme as a new store-view, most of my product images (about 1000) will not show on the new storeview. They are showing OK on the original store view with the old theme. It is ...
1
vote
1answer
142 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
1answer
86 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
1answer
39 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
2answers
96 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
vote
1answer
27 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 ...
1
vote
0answers
19 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 ...
2
votes
2answers
546 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: ...
0
votes
0answers
19 views

Products disappearing from Category pages - Tracking down the cause!

I have an unusual problem with a range of items on my Magento store that after a few days, disappear from the category pages. If I go into the back end, disable those specific items and then re-enable ...
0
votes
2answers
173 views

how to load different css files based on “store view”

I have two "store view"s and I want to only add a css file to one of the views. I have noticed that you must load css files in default_head_blocks.xml. here is what is want: <css src="css/...
0
votes
1answer
50 views

change url for store view

I have Magento 2.3.3 I created store views French, English, Turkish. I want to change url,. for example http://localhost:8080/magento/fr for French store http://localhost:8080/magento/...
1
vote
1answer
73 views

Magento 2 change language for all in Front-end

I have Magento 2.3.3 I created 3 store views French, English, and Turkish I need to translate product descriptions and all Categories is changed the store view. This on the french store. On the ...
0
votes
1answer
37 views

Error Being Caused by Observer Extension in Magento 2

I am currently using an instance of Magento 2.3.2 I have now implemented the following code in the app > code folders: registration.php file inside GroupSite/SiteSwitch/ <?php \Magento\...
0
votes
0answers
19 views

Magento 2.3 : change store view bypass from url

i want to change my store view from url is it possible ? so I just type url : http:// xxx. com/urltochangestoreview
0
votes
2answers
968 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 ...
0
votes
2answers
317 views

“Single Store Mode” data transfer

I have a website where currently only 1 website/store/store view exists. I can therefore switch to "single store mode". The general problem is, that data was partially edited in the "All Store Views" ...
0
votes
1answer
41 views

Magento 2 : How to find out store codes using front-end website only?

I would like to find out the different ways how one can identify store views if website having multi store codes. PS. I'm using store switcher at the moment but is there any other way Magento ...
1
vote
2answers
64 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
2 3 4 5
11