A product nobody can browse to
In no category, or only in Uncategorized. The product exists, but no category page, category menu or filter leads to it, and few links point to it.
The symptom
The product is published. Its URL works. Search finds it. But no category leads to it: it is in no category at all, or only in the one WooCommerce created by itself, called Uncategorized. Apart from the main shop page, where it sits somewhere among everything else, there is no path through the store that leads to it.
You usually find out the way everyone does: a customer asks whether you still sell something, and there it is in the catalog, reachable only if you already know it exists.
What it costs
In WooCommerce, categories are not just a way to file things. They are the navigation:
- It is missing from the lists people browse. Not on any category page, not in menus built from categories, and not in “related products”, which WooCommerce picks from shared categories and tags.
- Almost nothing links to it. Internal links are how a search engine finds pages and decides how important they are. A product with no category is linked from the sitemap and from somewhere deep in the shop page’s pagination, and little else, so it gets crawled late and ranks low, if at all.
- Category filters skip it. A customer who narrows the list by category never sees it.
- Feeds lose a field. Many feed plugins send your category to Google as the product type. With no category, there is nothing to send.
The default category deserves its own note. A product in Uncategorized is worse off than one in no category at all, because it looks assigned. It passes a quick glance and every automated report that only asks “does this product have a category”.
How to check it yourself
Start by finding the ID of the default category:
wp option get default_product_cat
Then list published products that have no product category other than that one:
wp db query "SELECT p.ID, p.post_title
FROM wp_posts p
WHERE p.post_type = 'product' AND p.post_status = 'publish'
AND p.ID NOT IN (
SELECT tr.object_id FROM wp_term_relationships tr
JOIN wp_term_taxonomy tt ON tt.term_taxonomy_id = tr.term_taxonomy_id
WHERE tt.taxonomy = 'product_cat' AND tt.term_id <> <DEFAULT_ID>
)"
Put the ID from the first command in place of <DEFAULT_ID>. After a migration the option can hold a different
ID than the category’s own: if wp term get product_cat <DEFAULT_ID> finds nothing, use the term_id from
wp db query "SELECT term_id FROM wp_term_taxonomy WHERE term_taxonomy_id = <DEFAULT_ID>".
In the admin, the quick version is Products → Categories, then the count next to Uncategorized. That misses products in no category at all, which is why the query asks the question the other way around.
How to fix it
- Assign real categories. Bulk edit handles this well: filter the product list, select the products, choose Bulk actions → Edit, and add a category.
- Keep the default category empty. WooCommerce puts every product saved without a category into
it, and Merchlint treats it as no category, whatever it is called. You can rename it, but don’t
use it as a real category. You can’t delete it while it is the default; to change the default,
choose Make default under another category in Products → Categories, or run
wp option update default_product_cat <ID>. - Check your import mapping. As with most catalog problems that arrive in bulk, one import run is usually responsible.
When it’s a false alarm
- Stores that navigate by attributes or tags rather than categories. That is a legitimate design, and this check measures something you don’t use. Hide it once and it stays hidden.
- Single-product stores, where there is nothing to categorize.
- Products deliberately kept out of browsing: a hidden bundle, an upsell reachable only from another product, a link sent to one customer. Setting Catalog visibility to Hidden says so clearly in WooCommerce, but Merchlint still lists these products, so hide the finding once.
- A store whose default category is a real category. Merchlint treats the default category as no category, so products that are only in it show up here.
How Merchlint finds it
Merchlint reads the product_cat terms attached to each published product and treats the default
category as no category. It does not look at catalog visibility, so a hidden product with no
category is listed too. The finding shows which categories the product does have, by name, and
whether that is only the default one, so “assigned to Uncategorized” is clearly a different case
from “assigned to nothing”.
Confidence: F—fact from the database. Term relationships are read directly; nothing is inferred from the storefront.
This check runs in the free version, on every product, with no cap.
Doesn't match what you see in your store? Email us—we read every message. contact@merchlint.com