Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacture Name in Title Bar


overbound

Recommended Posts

I would like to have the manufacture name in the title bar when I select a manufacture page. Is there an easy way to do this? Thanks in advance.

-Bryce

Yes... in the index.php file, you'll have to look for the section where it checks for no cPath variable, but an existing manufacturer_id variable... it'll probably say in a comment next to it that that's for the manufacturer page section... when you find that, it should pull the manufacturer data from the db using that id, and all you have to do at that point is stick the manufacturer's name into the <title></title> tag of your store further down in the file... if it's trying to stick something else into that tag by default, you may just find where it's pulling that from, and create a variable called $title or something, populating it with manufacturer name in the case of viewing the manufacturer page, and populating it with whatever the value was originally in all other cases...

Richard Lindsey

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...