Page 1 of 1

Any way to change the "Default" store name to show the actual store name in the admin area?

Posted: Wed Oct 18, 2017 10:57 am
by kelemvor
I am playing with a Multi Store Setup. I have two stores right now. I have named them Store 1 and Store 2. However, every page where setting up a product, category, etc shows them as Default and Store 2. Is there some way to make it use the actual Name of the first store instead of the word "Default"?

Thanks

Re: Any way to change the "Default" store name to show the actual store name in the admin area?

Posted: Thu Oct 19, 2017 1:30 am
by bumcarks
On admin product edit/add page

You need to modify in language file admin/language/en-gb/catalog/product.php
replace the code
$_['text_default'] = 'Default';
with
$_['text_default'] = 'Store 1';

Re: Any way to change the "Default" store name to show the actual store name in the admin area?

Posted: Thu Oct 19, 2017 1:54 am
by kelemvor
Interesting. So for the 2nd, 3rd, etc stores it pulls from a variable but for the original store it's hard coded in a file? That seems like a strange way to do it.

Re: Any way to change the "Default" store name to show the actual store name in the admin area?

Posted: Wed Jun 30, 2021 4:21 am
by D3MO
Change all:
'name' => $this->language->get('text_default')

into:
'name' => $this->config->get('config_name')