woocommerce-faceted-navigation
Installation
SKILL.md
WooCommerce Faceted Navigation
Overview
Faceted (layered) navigation lets shoppers narrow a catalogue by attribute — price, brand, colour, size, spec. Done well it is the single biggest discovery win on a large store; done badly it is a crawl trap, a duplicate-content generator, and an origin-load DDoS you inflicted on yourself. This skill is the HOW + crawl-control layer.
| Need | Go to |
|---|---|
| WHAT to put on a category page (facet list, counts, sort, drawer) | ecommerce-growth §Category Pages — the checklist; reference it, don't duplicate |
| Woo PHP code, security, HPOS query rules, external-search offload | woocommerce-developer |
| Schema, site architecture (3-click), sitemaps, CWV | seo-structure-architect |
Four independent controls — never conflate them: UX state (what the shopper sees), crawlability (can a bot fetch the URL), indexability (may it appear in search), and cacheability (can the response be served from cache). A URL can be cacheable yet non-indexable, or crawlable yet noindexed. Design each deliberately.
Facet Taxonomy & Filter UX
- Choose facets by demand, not by "every attribute we store." Expose the handful shoppers actually filter on; bury the long tail.
- Show option counts and prevent zero-result states — disable or hide options that would return nothing for the current selection (see
ecommerce-growth). A directly-requested invalid, duplicate, or zero-result filter URL should return404, not a200empty page (per Google's faceted-navigation guidance) — that lets crawlers drop it. - AJAX vs full reload: