Questions tagged [store-view]
Denotes questions regarding store views (scope, creation, management).
55
questions
20
votes
1
answer
38k
views
How to create Multiple Store with different domain in Magento
How to create multiple stores with different domains in Magento with same products, same database but different customers.
Example :
I bought 2 domains: mystore1.com and mystore2.com (FYI: mystore1....
50
votes
4
answers
40k
views
Difference between website, stores and store views
I have been researching about multi website/store setups and am a little confused.
I completely understand how stores and store views work but my confusion is on the differnece between websites and ...
16
votes
4
answers
36k
views
Reset "Use Default Value" for specific store view on all products
Somehow a number of my products had the "Use Default Value" deselected.
My store has 2 languages, English and French. French uses the Default Store value, so now when I update products it doesn't ...
2
votes
3
answers
4k
views
Implementing payment method per currency
Is it possible to implement a payment method per currency level? The site in question needs to accept both USD and Indian Rupee. When a client pays with USD, it needs to be connected to a US bank/...
25
votes
4
answers
22k
views
how to create multilingual static block
I need to create multilingual static block. So far I have created static block with id 'delivery_returns'.
I'm calling it in catalog\product\view.phtml like this:
$deliveryBlock = Mage::getModel('...
13
votes
5
answers
13k
views
404 on Store Switch with Product Store View Scoped URL Key
By default URL Key on product page is Global scoped.
EDIT:
As suggested by FlorinelChis the scope can be changes in Manage attributes.
However this breaks the store view switcher behavior.
This is ...
13
votes
1
answer
19k
views
How to get all options for all store views for a single attribute?
I am trying to retrieve all options for all store views for a single attribute e.g. color.
For the attribute color I have created two options blue and white. I have tried the following code that is ...
8
votes
1
answer
5k
views
Magento2: store_id in UI Listing Component
I'm developing a Magento2 extension that has an admin grid which is generated using the UI Listing Component. The grid shows the records (a list of blog items) just fine. The extension allows to save ...
0
votes
2
answers
473
views
Images Related to Attribute Label in View.phtml
I try to explain my problem.
I'm working with a Store created by other people and it's difficult to me understanding everything.
The Store have a custom template and, in my view.phtml, I found the ...
6
votes
3
answers
24k
views
Is it possible to have different price and currency per product and per store view?
I have setup multi-site in Magento. I have one Website with two Stores and one storeView per Store.
StoreA is in GBP, StoreB is in Euros. I have productA which I would like to sell for £99.99 from ...
4
votes
3
answers
808
views
Bind subdomain to a Magento Controller
I am working on an application for which I want to create few sub-domains in system, which will be served by Magento application. One example scenario can be creating separate sub-domains for system ...
1
vote
1
answer
301
views
Need cookies help to save information
we have multi store views site.
we provide an option to change store views through dropdown here as below :
once we change option from dropdown, it will display selected store view.
but once we ...
1
vote
2
answers
2k
views
Currency symbol gets lost on specific store view
I got two store views in my shop.
1 english and 1 arabic(ar_SA)
Standard currency is SAR
On english store view the shop shows me SAR 100.00 for example.
On arabic store view I just get the Number ...
1
vote
1
answer
3k
views
Display the store views depending on I.P address
we have 2 store views for 2 countries [India & USA ] with store view codes sv1 & sv2
what we want is ,
if customer visit the site from USA, it should open USA store-view
if customer visit ...
0
votes
1
answer
985
views
Magento 1.9.1.1 : Create Store View : Cardinality violation: 1241 Operand should contain 1 column(s)
Magento Version 1.9.1.1
In adminpanel: /system/manage store/ I Created new website and then created a store for it. When i tried to create store view it shows bellow error(in var/reports)
a:5:{i:0;...
0
votes
1
answer
1k
views
Optimise URL when changing Store and language switcher to maintain SEO standards
I want to optimize the store view URL to maintain the SEO standards when switching the language view in Magento1.9 front end.
Example
localhost/magento/?___store=french&___from_store=german
To
...
15
votes
3
answers
6k
views
Current store is 1 when running upgrade scripts
Any idea why Mage::app()->getStore() returns the store view with id 1 when inside the upgrade scripts independent on the store view I'm running the upgrade script in (even admin)?
I mean, I know ...
9
votes
2
answers
10k
views
Using URL subfolders for multi-language Store Views in Magento 2
I configured Magento 2 with two Store Views in order to have two front-end languages (English and Italian) and I would like to have the following behaviour:
http://example.com/ --> Store View ...
7
votes
2
answers
19k
views
getAttributeText() use default value regardless what store view the user is on
How would I go about getting the Admin value for an attribute, regardless of the visitor's chosen store view?
I've tried:
$_product = $this->getProduct();
$_condition = $_product->getAttributeText('...
5
votes
1
answer
6k
views
checkout_submit_all_after Observer only triggered from one store view?
Afternoon all,
Run into a curious problem, I'm setting up an observer that will be triggered every time an order is made. Code is below;
Config XML:
<?xml version="1.0"?>
<config>
&...
5
votes
2
answers
7k
views
How to create store view or store programmatically and do it right in Mage 2?
I want to create store or store view programmatically and I use the followng code (for store view):
$storeView = $objectManager->create(\Magento\Store\Model\Store::class); // Store - is a ...
5
votes
1
answer
2k
views
collect phrases and lang pack command line different from official doc - Magento 2.0.1
I use magento version 2.0.1, I am trying to add new language package, I have followed the instruction from official doc, that commands are not working
command syntax mentioned in official doc
magento ...
4
votes
1
answer
3k
views
Install script to get access to root category id
I have a data install script which requires access to the default stores root category.
If the code for the module is run when the site is first installed, the value is never available i.e.
Mage::...
4
votes
1
answer
3k
views
Layout update handle per storeview
I'd like to change the title of certain blocks per storeview in my local.xml, however, I've tried numerous things and it doesn't seem to pick up on my changes, not even when I 'unset' the data, and ...
4
votes
1
answer
1k
views
Magento Multi Store Store Code
We want to use one Magento backend for multiple stores and every store have normally 1 store view. We have 2 or more websites with 2 or more store views.
For German, we want to use the store code "...
4
votes
5
answers
20k
views
Magento 2 - Create product programmatically with different store view values
I have created this custom import module that will create products and set different values for each store view. The problem is, when I save a single attribute for the product on a store view, all the ...
4
votes
1
answer
203
views
Magento 2 - Store wise description very hard to manage
I have 1000s of products and there are 3 different stores.
Product descriptions are stored on store level. So everytime I need to update any description I have to update it on all store levels.
Is ...
3
votes
2
answers
3k
views
How can I create language pack for magento 2
I am trying to create language pack for Norway,
but I do not know how to create this .
I am unable to find any Magento extension for Norwegian language .
Please help me.
3
votes
1
answer
1k
views
How Magento manages store-wise cache
I am currently working on an architecture where I'd like to maintain separate caches (block cache, collection cache, FPC) for each zipcode. I am making the user select a zipcode at the beginning of ...
3
votes
1
answer
6k
views
Multi-Store issues with loading some template files/skins
We're having an issue here, where some stores load the store view with Magento defaults (only one of them does this out of 7 of them).
SetEnvIf for MAGE_RUN_CODE is set in .htaccess based on request ...
3
votes
5
answers
5k
views
Magento hreflang tags: How to get URL Key per Store View?
I have been trying to add hreflang tags to a multi-language project following the answers to this question. In my setup there is one website, one store and there are three store views (English, German ...
3
votes
3
answers
8k
views
Magento 2 - add Multiselect Store Views in admin Form
I am developing a custom module in Magento 2.
I would like to add to the editing form a multiselect to allow users to select the store view. In Magento 1.9 it is done in this way:
$fieldset->...
3
votes
1
answer
532
views
Issue - Multi-Store Category Disable Not Working
I have disabled one of my categories, but still the category display on my menu bar in the website.
How can I solve this issue?
Menu Extension :
https://web-experiment.info/webandpeople-custom-...
2
votes
4
answers
2k
views
Magento2: Adding custom attribute to category doesn't show store specific value
I have created a custom category attribute using the custom code from here, attribute created successfully and able to save the value.
But I want to save store specific value in this custom attribute,...
2
votes
2
answers
3k
views
I've created a store view (different language) but I receive "There was no 404 CMS page configured or found." when changing language
I have a store with 3 different languages (EN,DE & FR) and I have installed the language packs for those and I can verify the installation is correct as "app/" has appeared on the file system.
I ...
2
votes
1
answer
560
views
How to Exclude Magento Review tab from tabs and show at bottom
hello guys can you help me in changing Magento review tab position , i want reviews to show after tabs to for more user friendly
1
vote
2
answers
5k
views
Magento remove "default" store code from urls
I have installed Magento ce 1.9.2.4 for my website.
Now I have setup the stores in such a way that my every url has store code of the current store, visitor is in, appended to it.
For business(...
1
vote
1
answer
9k
views
How to setup different prices for same product for magento 2 store view?
We are currently running one website, one store, two store views (languages) for example one default store and second create new store Magento 2 install.
But I want to save prices multiple store views ...
1
vote
1
answer
2k
views
magento 2.2.5 turn back to home when i change store view
i've an issue on magento 2.2.5. I've created two store view it/en, when I'm on product page and change store view from it to en and vice versa,
I'm redirected to the home page. Someone can help me? ...
1
vote
0
answers
254
views
setup upgrade not list the language package extension - Magento 2.0.1
I am trying to create new language store view. after creating language extension, then I have cleared cache
1) When I run setup:upgrade it is not listed my language extension lang_lg_lg
2) In ...
1
vote
1
answer
927
views
How do I detect when a user switches between websites/store views?
I'm trying to work out how to detect when a user has left a store view and landed on another.
Basically I have website A with a domain of magento.com.localhost and website B with a domain of magento....
1
vote
1
answer
590
views
Mulitple store: Same CMS and static pages but loads different content for different stores
Multiple stores (version 1.9): I can add category description individually for each store and it will display individually for specific stores.
Requirement: I want same functionality for CMS and ...
1
vote
4
answers
3k
views
Set different catalog price rules/promotions for each language on a multi-language store
I have a magento eccommerce with 3 different languages (3 store views).
Prices are the same in each language/store view (and all in euro), but I would like to apply different catalog discounts for ...
1
vote
1
answer
74
views
Separate store view which reverts back to the default store view
I am setting up a store view for my mobile app which I am going to strip away the header and footer along with some other customisation.
After creating a store view and then going to it I have ...
1
vote
1
answer
1k
views
In "Default Config" store view, it still shows option of 'Use system Value'
I have installed magento 2 in my local machine. I think there is any problem in my installation because when I tap to Settings -> System -> Configuration and selected my store view as "Default Config"....
0
votes
1
answer
585
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
2
answers
1k
views
Magento 2.3.1 Get Allowed Countries by storeview
It seems in Magento 2, we can only configure Allowed Countries per WEBSITE or STORE. but not STOREVIEWS.
I found this solution https://magento.stackexchange.com/a/245401/26668, where we can add ...
0
votes
1
answer
3k
views
Store id 0 for attributes added programatically
I have one website and one store. When I add product from admin, with some programatically added attributes (for example in table catalog_product_entity_int), they get store_id 0 (adminhtml). Is that ...
0
votes
1
answer
633
views
set default page to Particular store view
I have to store view under a store whose code as default and crescent
when I run the domain name it should be pointing to default store and when I run URL as http://hostname/crescent it should ...
0
votes
2
answers
756
views
Magento 2 styling / CSS not displaying in IE 9
For some reason any Less I have written inside the @media-common = true media query does not load in IE9. I can't find any specific code to prevent this from rendering out in IE9.
It happens whether ...