Post by kelemvor » Wed Oct 18, 2017 10:57 am

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

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by bumcarks » Thu Oct 19, 2017 1:30 am

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';

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by kelemvor » Thu Oct 19, 2017 1:54 am

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.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by D3MO » Wed Jun 30, 2021 4:21 am

Change all:
'name' => $this->language->get('text_default')

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

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am
Who is online

Users browsing this forum: No registered users and 84 guests