Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding a description in subcategories?


antiqueboutique

Recommended Posts

I downloaded a great contribution for description on categories, but was wondering if it possible to create a short description on subcategories:

 

 

This is the code for categories in general.php:

 

// Return category description by +++++frofi+++++

$description_string = sprintf('Nothing here');

function tep_cat_description() {

if ($_GET[cPath] == "21") {

$description_string = sprintf(TEXT_CAT_BATHTIME);

}

if ($_GET[cPath] == "22") {

$description_string = sprintf(TEXT_CAT_BEDDING);

}

 

I was wondering how to edit the code to add text in subcategories, any help or contributions? I did not see any.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...