Announcement

Collapse
No announcement yet.

Sub Category Product count variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mark Stephens
    replied
    Re: Sub Category Product count variable

    I am still hoping for answer to this, even if the answer is no. Any help out there?

    Thanks,
    Mark

    Leave a comment:


  • Mark Stephens
    started a topic Sub Category Product count variable

    Sub Category Product count variable

    Is there a better variable to use for showing this product count? I'll explain:

    On a number of my category pages, I show a text link to the subcategories that reads, "See all X# products >>>" The variable I'm using to display the number of products in that sub category is this:
    Code:
    &mvt:subcat:pcount;
    The trouble is that product count includes products that are out of stock. They're active, with inventory tracking on, but none are in stock and therefore hidden. I have a subcategory with about 20 in-stock and active products, and about 220 that are out of stock and hidden. So the text link shows "See all 240 products >>>" when there are really only 20 available for sale.

    Is there a better variable to use? I went bonkers scrolling through the Var List for my category page in the admin looking for something that would work.

    Thanks,
    Mark
Working...
X