{"id":1558,"date":"2017-05-22T01:20:27","date_gmt":"2017-05-22T01:20:27","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=1558"},"modified":"2026-09-16T09:08:29","modified_gmt":"2026-09-16T09:08:29","password":"","slug":"filter-woocommerce-products-by-catalog-visibility","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/filter-woocommerce-products-by-catalog-visibility\/","title":{"rendered":"WooCommerce &#8211; filter products by catalog visibility"},"content":{"rendered":"<h2>1. For WooCommerce 3.0.0 and higher<\/h2>\n<div class=\"pt-cv-wrapper\">\n<div class=\"tab-content\">\n<div class=\"tab-pane active\" id=\"tab1\">\n<ul>\n<li><strong>Shop and search results<\/strong>:<br \/>\nUnder Filter Settings > Filter by Taxonomy:<br \/>\n&#8211; Select Taxonomy: <code>Visibility<\/code><br \/>\n&#8211; Select Terms: <code>exclude-from-search<\/code> and <code>exclude-from-catalog<\/code><br \/>\n&#8211; Operator: <code>NOT IN<\/code><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2017\/05\/Content-Views-Pro-show-shop-and-search-products-of-WooCommerce.png\" alt=\"Content-Views-Pro-show-shop-and-search-products-of-WooCommerce.png\" width=\"768\" height=\"354\" class=\"alignnone size-full wp-image-3679\" srcset=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2017\/05\/Content-Views-Pro-show-shop-and-search-products-of-WooCommerce.png 768w, https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2017\/05\/Content-Views-Pro-show-shop-and-search-products-of-WooCommerce-300x138.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/li>\n<li><strong>Shop only<\/strong>:<br \/>\nUnder Filter Settings > Filter by Taxonomy:<br \/>\n&#8211; Select Taxonomy: <code>Visibility<\/code><br \/>\n&#8211; Select Terms: <code>exclude-from-search<\/code><br \/>\n&#8211; Operator: <code>IN<\/code><\/li>\n<li><strong>Search results only<\/strong>:<br \/>\nUnder Filter Settings > Filter by Taxonomy:<br \/>\n&#8211; Select Taxonomy: <code>Visibility<\/code><br \/>\n&#8211; Select Terms: <code>exclude-from-catalog<\/code><br \/>\n&#8211; Operator: <code>IN<\/code><\/li>\n<li><strong>Hidden<\/strong>:<br \/>\nUnder Filter Settings > Filter by Taxonomy:<br \/>\n&#8211; Select Taxonomy: <code>Visibility<\/code><br \/>\n&#8211; Select Terms: <code>exclude-from-search<\/code> and <code>exclude-from-catalog<\/code><br \/>\n&#8211; Operator: <code>AND<\/code><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<h2>2. For WooCommerce 2.6.14 and before.<\/h2>\n<p>To filter products by catalog visibility, please:<\/p>\n<ul>\n<li>enable <strong>Filter Settings &gt; Advance &gt; Custom Fields<\/strong><\/li>\n<li>click <strong>Add New<\/strong> button to start filtering by a custom field.<\/li>\n<\/ul>\n<p>Then select:<\/p>\n<ul>\n<li><code>_visibility<\/code> for <strong>Field Key<\/strong><\/li>\n<li><code>Text<\/code> for <strong>Value Type<\/strong><\/li>\n<li>For <strong>Value To Compare<\/strong>, there are 4 possible values: <code>visible<\/code> (Catalog\/search), <code>catalog<\/code>, <code>search<\/code>, <code>hidden<\/code><\/li>\n<li>For <strong>Operator To Compare<\/strong>, select <code>LIKE<\/code> to filter products which have selected visibility, select <code>NOT LIKE<\/code> to filter products which don&#8217;t have selected visibility<\/li>\n<\/ul>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. For WooCommerce 3.0.0 and higher Shop and search results: Under Filter Settings > Filter by Taxonomy: &#8211; Select Taxonomy: Visibility &#8211; Select Terms: exclude-from-search and exclude-from-catalog &#8211; Operator: NOT IN Shop only: Under Filter Settings > Filter by Taxonomy: &#8211; Select Taxonomy: Visibility &#8211; Select Terms: exclude-from-search &#8211; Operator: IN Search results only: Under &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/filter-woocommerce-products-by-catalog-visibility\/\"> <span class=\"screen-reader-text\">WooCommerce &#8211; filter products by catalog visibility<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[50],"doc_tag":[20],"class_list":["post-1558","docs","type-docs","status-publish","hentry","doc_category-woocommerce","doc_tag-woocommerce"],"year_month":"2026-10","word_count":167,"total_views":"12","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"WooCommerce","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/woocommerce\/"}],"doc_tag_info":[{"term_name":"WooCommerce","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/woocommerce\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=1558"}],"version-history":[{"count":2,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1558\/revisions"}],"predecessor-version":[{"id":6214,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1558\/revisions\/6214"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=1558"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=1558"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=1558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}