Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Heading Title, I wish to have category in its place


Guest

Recommended Posts

In catalog/index.php find (3 instances):

 

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

 

replace all with

 

<td class="pageHeading"><?php echo ($category['categories_name'] ? $category['categories_name'] : HEADING_TITLE); ?></td>

 

 

Or there a meta solution.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 4 weeks later...

Yours is different to Casandras then.

 

 

/includes/languages/english/index.php

 

 

 

Change this:

 

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

 

 

 

To this:

 

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

 

define('HEADING_TITLE', $category_name);

 

 

 

Change this:

 

define('HEADING_TITLE', 'Categories');

 

 

 

To this:

 

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

 

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...