Shopify Subcollection Product Counts: Hide Zero Counts on Parent Categories

Learn how to show Shopify subcollection product counts without making parent category hubs look empty, using zero-count hiding and clean title count labels.

Product counts are useful when shoppers are comparing subcategories. A count such as Practice Tests (10) or Math Courses (24) gives customers a quick sense of how much is inside a collection before they click.

But product counts can also make a category page look broken when the store uses parent collections only as navigation hubs. This is common in Shopify: a merchant may create a top-level collection such as Olympiad Tests, leave it with zero directly assigned products, and place all actual products inside child collections such as Grade 3 Tests, Grade 4 Tests, and Mock Exams. If a global product count setting prints counts everywhere, the parent category can show 0 even though its children contain many products.

This article explains how to think about product counts in Shopify subcollections, why zero-count parent categories happen, and how Breadcrumbs & Categories can keep the layout cleaner by showing counts where they help and hiding them where they do not.

The real issue: parent collections are often category hubs, not product containers

In a clean collection hierarchy, not every collection needs to contain products directly. Some collections exist mainly to organize the catalog. They are closer to folders than shelves.

For example, a store might organize educational products like this:

  • Olympiad Tests — parent category, no products directly assigned
  • Grade 3 Tests — child category, 10 products
  • Grade 4 Tests — child category, 12 products
  • Science Practice — child category, 8 products

From a navigation perspective, this is a good structure. The parent category keeps the catalog easy to browse. From a raw Shopify product count perspective, however, the parent collection may still have zero products because products are assigned to its child collections instead.

That is where a simple global product count can become visually misleading.

Category tree with product counts Olympiad Tests hub only Grade 3 Tests (10) Grade 4 Tests (12) Science Practice (8) Best storefront output: hide the parent’s zero count, show useful child counts.

Why “0 products” can be bad UX

A zero count is technically correct only if the label means “products assigned directly to this collection.” But most shoppers do not read it that way. When customers see Olympiad Tests 0 products, they may assume the section is empty, even if the subcategories underneath contain products.

That creates three problems:

  • It makes the category look unfinished. A parent category with a visible zero can look like a setup mistake.
  • It distracts from the real subcategories. The shopper should focus on the child collections, not on whether the parent has direct products.
  • It creates inconsistent meaning. One number may mean direct products on a parent card, while another number means actual products inside a child collection.

For that reason, a clean Shopify subcategory layout should treat zero counts carefully. In many stores, the best behavior is simple: show the count when the collection has products, and hide the count when the number is zero.

How product counts work in Breadcrumbs & Categories

Breadcrumbs & Categories includes a product count option for subcategories blocks. When enabled in the Shopify theme editor, the app can display counts for child collections on collection pages.

The important detail is that the subcategories block follows the hierarchy you build in the app’s Categories Tree. The tree decides which child collections appear under each parent collection. Product counts then make those child cards more informative.

A common setup looks like this:

  1. Create or sync your Shopify collections.
  2. Organize them inside the Categories Tree.
  3. Add the subcategories block to the right collection template.
  4. Enable the product count option in the theme editor.
  5. Review parent categories that are used only as navigation hubs.

If some parent categories have no directly assigned products, do not automatically assume the tree is wrong. The structure may be correct; only the count display needs better rules.

There are two common ways to display product counts:

  • Below the title: 10 products
  • Next to the title: Practice Tests (10)

Both can work, but the title-based format is usually cleaner for compact subcategory cards. It reduces vertical height, aligns more naturally with theme typography, and avoids repeating words like “products” under every card.

For stores with mixed content types, the parentheses format is especially useful. One collection may represent tests, another courses, another games, another products. Instead of trying to dynamically change the noun for every collection, a neutral count like (10) stays accurate and clean.

Count format Best for Watch out for
10 products Simple retail catalogs where every collection contains standard products. Can feel repetitive and may not fit stores selling tests, courses, games, bundles, or services.
Collection Name (10) Compact subcategory cards and mixed catalog types. Needs enough spacing so the number does not crowd long collection names.
10 tests / 10 courses / 10 games Highly customized stores with strict content-type labeling. Requires content-type logic that most Shopify collection structures do not provide automatically.

When to hide product counts

Product counts should help the shopper make a decision. If the number creates confusion, it is better to hide it.

Here are the most common cases where hiding a count is cleaner:

  • Parent category hubs: The parent collection exists to group child collections, not to list products.
  • Zero-count collections: Showing (0) can make a valid navigation category look empty.
  • Marketing or landing collections: Some collections are used for campaigns, quizzes, guides, or navigation, not product browsing.
  • Mixed catalog labels: If “products” is not the right noun for every collection, a neutral count or hidden count can avoid awkward wording.

In the support case behind this guide, the merchant wanted product counts only when the count was meaningful. Their main collections had no assigned products because products were assigned only to subcollections. The clean solution was to keep the product count feature enabled, but avoid showing the zero count for empty parent categories.

Before vs after Before: global count everywhere Olympiad Tests 0 products Grade 3 Tests 10 products After: hide zero, compact useful counts Olympiad Tests Grade 3 Tests (10)

Why not use “10 tests”, “10 courses”, or “10 games” automatically?

It is tempting to make the label match each collection type. In some stores, “10 products” feels too generic. A merchant may want 10 tests for test collections, 10 courses for course collections, and 10 games for game collections.

The challenge is that Shopify collections do not automatically tell a breadcrumb or subcategory app what noun should be used for each collection. A collection title, handle, or page template may hint at the content type, but those hints are not a reliable rule for every store.

That is why the neutral format is usually safer:

  • Practice Tests (10)
  • Math Courses (6)
  • Learning Games (14)

The collection name already gives context. The number adds density without forcing the app to guess the noun.

Step-by-step setup for cleaner subcollection counts

Use this workflow when you want product counts in subcategories but do not want parent categories to show misleading zero counts.

1. Review the Categories Tree

Open Breadcrumbs & Categories and review your hierarchy. Make sure parent collections and child collections are placed where shoppers expect them. The app’s Categories Tree guide explains how tree nodes control breadcrumbs and subcategory blocks.

2. Confirm which collections are true parent hubs

Identify collections that exist only to group child collections. These are the collections most likely to show zero products if counts are based only on direct product assignment.

3. Enable product count in the theme editor

Go to the Shopify theme editor, open the template where the subcategories block appears, select the Breadcrumbs & Categories block, and enable the product count option. If your theme uses multiple collection templates, check each relevant template.

4. Prefer a compact title format

For clean cards, use the title-based format when available: Collection Name (10). This usually works better than placing a second line under every card.

5. Hide counts when they are zero

If a collection has zero direct products, hide the count instead of displaying (0) or 0 products. This keeps parent category hubs from looking empty.

6. Test on desktop and mobile

Counts can change the width of category titles. Test long collection names, mobile sliders, and multi-line card titles to make sure the layout remains stable.

Product count QA checklist

Before publishing a collection template with product counts, check the following:

  • Do parent categories with no direct products avoid showing 0?
  • Do child collections with products show a useful count?
  • Does the count format stay readable when collection names are long?
  • Does the layout still work on mobile?
  • Does the count label match the store’s catalog type, or is a neutral number better?
  • Are hidden or unassigned collections excluded from the subcategories block?
  • Does the category tree still match the storefront navigation customers expect?

Best practice for Shopify stores with parent-child collections

If your store uses parent collections mainly for navigation, do not force every level to behave like a product container. Parent-child hierarchy and product assignment are related, but they are not the same thing.

A good storefront can have:

  • Parent collections that organize the catalog.
  • Child collections that contain the actual products.
  • Subcategory cards that show clear titles.
  • Product counts only where the count helps shoppers choose.

This keeps the storefront honest and clean. Customers see useful browsing options, not confusing zeros.

Conclusion

Product counts in Shopify subcollections are most effective when they are treated as a merchandising aid, not just a raw number printed everywhere. If a collection is a parent hub with no direct products, showing 0 can make the store look empty even when the child collections are full.

For most stores, the best pattern is to enable product counts for subcategories, use a compact format like Collection Name (10), and hide counts when the value is zero. Breadcrumbs & Categories gives Shopify merchants a practical way to organize the collection tree, display subcategories, and keep product count output aligned with how customers actually browse.

FAQ

Can Shopify subcollections show product counts?

Yes. Breadcrumbs & Categories supports product counts in subcategories blocks. After adding the block to your Shopify theme template, you can enable the product count option in the theme editor.

Why does a parent collection show 0 products?

A parent collection can show zero products when it is used only as a category hub and products are assigned to child collections instead. The navigation structure may still be correct; the count display just needs to avoid showing a misleading zero.

Should I show product counts on every collection?

Not always. Product counts are helpful on child collections where the number gives shoppers useful context. For parent category hubs, seasonal landing collections, or collections with zero direct products, hiding the count often creates a cleaner layout.

Is Collection Name (10) better than 10 products?

For compact subcategory cards, Collection Name (10) is often cleaner because it saves vertical space and works across different catalog types. It is especially useful when your store sells mixed content such as tests, courses, games, or products.

Can product count labels automatically say tests, courses, or games?

Not reliably by default. Shopify collections do not automatically provide a universal content-type label for every collection. A neutral count format such as Collection Name (10) is usually safer unless your store has custom logic for those labels.

Do zero-count parent categories hurt SEO?

The count itself is mostly a user experience issue, not a direct SEO problem. However, a confusing category page can reduce engagement and make the navigation feel incomplete. A clean subcategory structure can support better browsing and internal navigation.

What should I check after enabling product counts?

Check parent hubs, child collections, mobile layout, long collection names, slider behavior, and whether zero-count collections are displayed in a way that could confuse shoppers.