1

In a category view, Magento shows the product count of any child categories in the sidebar next to their names. When the viewed category is un-anchored, it only counts products explicitly assigned to that child but not to any deeper children it may have.

We have many high-level categories that have few or no products directly assigned but contain child categories that have lots of products.

Is there a means via the admin (as opposed to editing templates) to display this product count only for our lower-level categories (which are anchored/layered nav) and hide it for those higher-level (un-anchored) ones?

1 Answer 1

1

Thanks for the comment. No, afaik there is no admin configuration for this.

You can check getIsAnchor() or getLevel() in the template and hide or show this count

1
  • 1
    The original post says 'via the admin (as opposed to editing templates). Jan 30, 2015 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.