Questions tagged [store-view]
Denotes questions regarding store views (scope, creation, management).
578
questions
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 ...
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
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
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 ...
0
votes
1
answer
189
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
283
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
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
3
answers
455
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
1
answer
87
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 ...
1
vote
1
answer
828
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
236
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
75
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
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
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.
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
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 ...
0
votes
1
answer
183
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....
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
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 ...
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..
0
votes
2
answers
528
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
1
answer
613
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):
...
1
vote
1
answer
746
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 ...
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?
0
votes
0
answers
133
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 ...
0
votes
1
answer
157
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: ...
0
votes
2
answers
145
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 ...
1
vote
1
answer
418
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 ...
1
vote
1
answer
1k
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.
....
0
votes
1
answer
235
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 ...
2
votes
1
answer
228
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
27
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 ...
1
vote
0
answers
172
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
1
answer
224
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[] = [
...
0
votes
2
answers
805
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
28
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 ...
1
vote
1
answer
2k
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
305
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
1
answer
345
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
2
answers
516
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
1k
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
217
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',
[
...
1
vote
0
answers
40
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
327
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
1
answer
41
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://...