Skip to content
IvaSure add-ons and services for SureCart storesJoin the POD waitlist

Wrong or zero counts

2 min read
Published

Counts come from a cache, and the cache is on a timer. Most reports of a wrong count are a count that is simply young.

In order

  1. Wait five minutes. Facet counts, price bounds and variant lists are recomputed on a five-minute timer. Publish a product and its count can be that far behind.
  2. Check whether a term changed or a product changed. Editing a term bumps the cache version immediately and every dependent count is superseded at once. Editing a product does not - that is what the timer is for.
  3. Clear the caches from the Cache and URLs tab.
  4. Repair the index if the counts are right but the store feels slow. The index is an accelerator, so a stale one costs speed, never correctness.
A count that contradicts its own results is a real bug
“Bedroom 7” next to six products is worth reporting. “Bedroom 7” that becomes “Bedroom 8” five minutes after you published something is the cache doing its job.

A count of zero on a term you know has products

  • The products are not published. Counts follow the same visibility rules as the shop.
  • The assignment is on a different taxonomy. Two taxonomies with similar names is a common cause - check the slug, not the label.
  • The term is a parent. A parent shows the total of itself and its children only when count rollup applies; a parent with no direct assignments of its own can otherwise read zero.

The counts look right but options are missing

That is the unavailable options setting doing what it was told. As a shopper narrows, options that can no longer match are hidden, disabled or faded depending on your choice. Set it to show temporarily and the missing options come back.

Save to list