Forums / General Questions / Show stock level in sub categories..

Show stock level in sub categories..

Views: 890

Results 1 to 5 of 5
20 Jun 2011, 11:50 PM
#1
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Show stock level in sub categories..

I have a shop that has lots of products in many sub categories...

I want to write a query so that I can have a section on my admin where I can show the stock level in a particular category including all products in following sub categories.

Is this possible?

21 Jun 2011, 10:15 AM
#2
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Show stock level in sub categories..

If I can edit that, I can use that function to show current stock levels instead of product count... can anyone help?

      if (SHOW_COUNTS == 'true') {

        if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {

          $content .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;

        }

      }
21 Jun 2011, 11:53 AM
#3
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Show stock level in sub categories..

Anyone... it seems my questions are always too hard to get solved...

21 Jun 2011, 12:22 PM
#5
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Show stock level in sub categories..

I don't use attributes