Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Categories/Subcategories


freak763

Recommended Posts

Folks....

 

I have been working on a store for a client, and have managed to install some great mods from the community, change the colour and fonts on the site and do a few other neat things.

 

However, my client is not very computer savy. They have an extensive product list, but initially they only want to carry a few of the products and add more over time. I have loaded all the products into the db via easy populate (kudos to the developer, this is great) and inactivated the ones they won't be using right away.

 

The probelm is that the categories and subcategories still show up even though all the products that may be in them are inactivated. Does anyone know of a mod or a setting I may of missed that will hide a subcategory/ category if there are no active products in the downline?

 

Thanks

Darcy Elliott

Link to comment
Share on other sites

I managed to do it for the side box.... a little line of code here.... a little line there and presto boom. If anyone is interested in how I did it, drop me an e-mail..

 

 

Darce

Link to comment
Share on other sites

http://www.oscommerce.com/community/contri...arch,categories

 

This contribution does exactly what you require similar to how active/inactive products are supported.

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...