Decategorized
A WordPress plugin to remove the WooCommerce product category requirement and to hide products without a category from the shop catalog page and product search.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/johnjanney/decategorized/archive/refs/heads/claude%2Fwoocommerce-hidden-category-3dmJu.zipA WordPress plugin that adds a Decategorized WooCommerce product category. Products assigned to this category are hidden from all public-facing catalog surfaces while remaining accessible via direct URL.
Requirements
- WordPress 5.0+
- WooCommerce 5.0+
Installation
- Upload the
decategorizedfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- The Decategorized product category is created automatically on activation.
Usage
- Edit any WooCommerce product.
- Assign it to the Decategorized category (under Product categories).
- The product is now hidden from all public catalog surfaces.
The product's visibility setting can remain public — the plugin overrides catalog visibility independently.
What gets hidden
Products in the Decategorized category are excluded from:
- Shop page and product archives
- Product search results
- WooCommerce shortcodes (
[products],[recent_products],[sale_products], etc.) - WooCommerce product widgets
- Cross-sells, upsells, and related products
- REST API and Store API product listings (block-based pages)
- Empty cart page product displays
The Decategorized category itself is hidden from front-end category listings and widgets.
What is NOT hidden
- Direct URL access — The single product page remains accessible if you know the URL.
- Admin views — Products and the category remain fully visible in the WordPress admin.
License
GPL-2.0-or-later