Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Make correct header change


worldheadja

Recommended Posts

Posted

i'm new to php so i have no idea how to make this change the correct way.

I managed to change my page title on only the home page of my shop, but when u browse to any other page the title switches back to oscommerce. Can someone tell me how to make this title change the correct way so that whatever page i browse the title stay to my shop name?

 

thank you :thumbsup:

Posted

did you made the changes in include/Header and include/Footer?

 

or did you just added a CSS to the index.php?

at the end of the day the code will be good

Posted

The only thing i did was to make changes to my catalog/index.php

 

<title><?php echo TITLE; ?>My Site Name</title>

 

i though if i made the changes to index it would work.

Currently it has "osCommerceMySiteName" - i was living to live with that but it changes to osCommerce when i go to another page.

Posted

You need to set the store name from Admin>Configuration>My Store>Store Name

 

Then you can leave that code as it is <title><?php echo TITLE; ?></title> unless you want to do that to all the root level files.

 

If you want more control, you can install the Header Tags Controller contribution.

Posted

I did change the store name from admin panel but it still shows osCommerce. i went and double checked and my store name is there.

Posted

And on line 48ish of includes/languages/english.php do you have this:

 

define('TITLE', STORE_NAME);

Posted
And on line 48ish of includes/languages/english.php do you have this:

 

define('TITLE', STORE_NAME);

 

Thank You that took care of my prob :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...