Post by blurb » Mon Jan 21, 2013 8:45 am

For the opencart developement team's consideration

A 'Make [your shop name] your homepage' button on the frontpage of opencart.

That would be nice.

Thanks

Have a great day everyone :)


User avatar
New member

Posts

Joined
Fri Jan 11, 2013 3:52 pm
Location - New Zealand

Post by labeshops » Tue Jan 22, 2013 12:29 am

You can do this pretty easily by changing calls for <?php echo $text_home; ?> to <?php echo $name; ?>. In some files, you may have to add a line to your controller file to define $name, but others already have this function. My header for example uses <?php echo $name; ?> <?php echo $text_home; ?> in the top links so my sites read "Sitename Home" instead of just "Home".

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA
Who is online

Users browsing this forum: No registered users and 2 guests