Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove /edit/ Category Sign on the top


tot25

Recommended Posts

Posted

I need do edit or remove the sign "Let's See What We Have Here" and picture field at the top of each category.

How can I remove them?

Posted
I need do edit or remove the sign "Let's See What We Have Here" and picture field at the top of each category.

How can I remove them?

Have a look at the second post in the installation and configuration forum.

Posted

You can replace them with category name with this:

 

Find: (3 instances)

 

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

 

replace with

 

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

 

If the name does`nt come up with categories name you will need to add a sql query above such as :

 

$category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

$category = tep_db_fetch_array($category_query);

 

the image comes just after the name.

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.

Archived

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

×
×
  • Create New...