Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Title Change


yatesy87

Recommended Posts

When you enter your store name in admin it gets it from there. If you want something else go to catelog/includes/languages/english.php find

// page title

define('TITLE', STORE_NAME);

Change like this

// page title

define('TITLE', 'My New Title');

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

includes/languages/yourlnaguage.php The title also changes once you change the name of your store in admin. I like to edit in english.php as this is a also used for the meta tag and there is a word restriction in admin.

 

Most all editable text will be in your languages folder.Some text is in english.php. change what login says it is in english/login.php, wording for a payment module, it is in yourlanguage folder inside modules and then inside payments.

 

 

Hi

 

I noticed that for the page title it has:

 

<title><?php echo TITLE; ?></title>

 

where is the variable title for me to change it?

 

Thanks,

Link to comment
Share on other sites

  • 3 weeks later...
When you enter your store name in admin it gets it from there. If you want something else go to catelog/includes/languages/english.php find

// page title

define('TITLE', STORE_NAME);

Change like this

// page title

define('TITLE', 'My New Title');

 

Hi, I also want to change the title by adding a little more text but when I do what you have suggested I get this error;

Parse error: syntax error, unexpected T_STRING in /home/mystore/public_html/includes/languages/english.php on line 48

Any suggestions?

 

Thanks

Michele

Link to comment
Share on other sites

line 48 is

define('TITLE', STORE_NAME);

 

Change to define('TITLE', the name of your new store, with added text for the meta tags so search engines can read your title);

 

Don't mess up the code just change the STORE_NAME

 

 

 

Hi, I also want to change the title by adding a little more text but when I do what you have suggested I get this error;

Parse error: syntax error, unexpected T_STRING in /home/mystore/public_html/includes/languages/english.php on line 48

Any suggestions?

 

Thanks

Michele

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...