Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I always display all categories and subcategory items in category box?


nycharms

Recommended Posts

I'd like always display all category itmes with subcategory items together in category box as below.

 

Silver Jewelry

Silver Rings

Silver Bracelets

Silver Necklaces

Costume Jewelry

Earrings

Bracelets

Neckalces

Pins

Pet Accessories

Jewelry

Toy

 

How can I do that?

 

Thanks in advance.

Ken

Link to comment
Share on other sites

you need to modify your catalog/includes/boxes/categories.php The code there checks for the current categories path and only lists subcategories under a selected category. You need to modify the code there to achieve this.

 

This is the place in that file:

 

  //------------------------
 if (tep_not_null($cPath)) {
$new_path = '';
reset($cPath_array);
while (list($key, $value) = each($cPath_array)) {

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...