Jump to content

[SOLVED]Changing the default product page title!


Recommended Posts

Hi,

Just wondering whether anyone knows how to change the default: 'Product page title; leave blank to use product name'

I would like to use the short description, product name and shop name as the title in the product pages I know I could just go into every product and edit it all manually through the 'Click here to improve product's rank in search engines (SEO)' drop down option but I beleive there will be away to automatically get that information with a simple rule in tools.php?

As I know that if you leave the title blank in 'Click here to improve product's rank in search engines (SEO)' drop down option then it will automatically set the title as the product name!

Any help would be great

Thanks

Link to comment
Share on other sites

All sorted now!!

Heres how I done it for anyone else wondering how......


Ok in Tools.php file go to

/* Products specifics meta tags */



Replace line 413

return self::completeMetaTags($row, $row['name']);



to

return self::completeMetaTags($row, $row['name'].' - '.$row['description_short']);



Then you have to edit the tiny_mce.js file

find

forced_root_block: "p",



and change that to:

forced_root_block: false,



That should sort out the


tags in the title page


Hope this helps anyone..

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...