Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change the "Category" title over the sub categories


Guest

Recommended Posts

Posted

I need a simple way to change the "Category" title over the sub categories that appear in or below the body of the page to change to the name of the selected category instead of saying "Category" every time. For instance if i am in the "printers" section I would like it to say "Printers" rather then "Categories".

 

Im a noob and i havent slept for a week building my site, i need a little help here... thanks!!

Posted

Ok, you lost me. This should be automatic. Do you mean you want to dynamically change the category box header? Can you clarify the problem or add a link to a page where we can see what you're referring to?

 

Adrienne

Posted

If its what i think you want to do ...

 

 

catalog/includes/languages/english/index.php

 

change

 


define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

 

to

 


$category_name = (isset($HTTP_GET_VARS['manufacturers_id'])) ? $manufacturers['manufacturers_name'] : $categories['categories_name'];
define('HEADING_TITLE', $category_name);

 

 

Further down, change

 

define('HEADING_TITLE', 'Categories');

 

 

to

 

define('HEADING_TITLE', $categories['categories_name']);

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Archived

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

×
×
  • Create New...