Posted in: Retired Snippets | View All
Important: Snippet Placement
RETIRED – Exclude products from a particular category on the shop page
As ‘clothing’ is an example in the snippet below, be sure to use a product category slug that exists in your WooCommerce store. Note that this will only work when you have your “Shop Page Display” option set to ‘Show Products’ under WooCommerce > Settings > Products > Display.
Source: WooCommerce Codex