Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Showing Only Active Top-Level Category ( and Subs)


kdcomm

Recommended Posts

Posted

I'm new at php ( have only used it for one other os commerce site in the past) -

I need to know how to limit the "categories" listing in the categories box only to the Active top-level category & it's sub-categories -

 

I know it's in the includes/boxes/categories.php -- but I'm not sure enough in php to write/update the code to filter the database results in the box by the cpath passed through the address bar -- Can anybody help???

 

Thanks :)

  • 2 weeks later...
Posted

There is a contribution that does just this, search for "disable categories" I think you'll find it that way

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Archived

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

×
×
  • Create New...