Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change "What's New Here" to product category


jonnyfilmboy

Recommended Posts

I've been looking for the last 90 minutes as to how to change this heading title and I am so frustrated. I had to reinstall my OSC because something got screwed up with a contribution that I couldn't fix. Now I want to get rid of that lame title on the pages that reads, "What's New Here?" to the name of the category and the name of the product.

 

I have seen how to do this somewhere on these forums, but I can't find the flipping thread! Someone please direct me to it or tell me how to do this. I don't want to just change the words to something else, I want to change it so that it reads the category or product name and displays that.

 

Thanks in advance!

Link to comment
Share on other sites

The file is in catalog/includes/languages/english/index.php

 

Change the define to

 

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

 

 

then a little below that change

 

the nested define from

 

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

 

to

 

} elseif ($category_depth == 'nested') {

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

 

HTH

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...