Your cart is currently empty!
Exploring WooCommerce Catalog Visibility Options with the Product Search Engine
We present a set of considerations that are useful to test WooCommerce Catalog Visibility Options and the search and filter results provided by the WooCommerce Product Search engine.
Tests
Important to note: There are two contexts that are considered. One is that of a Shop Page and the other is that of Search.
All filters imply the context of Shop Page, including the Product Filter – Search – in that case, the search field determines the content of the Shop Page, not the content of a Search Results page.
In the Search context, the search results refer to both Search Results page and live search field results that are rendered in the form of a dropdown when using the Product Search Field.
Simple Products
Out Of Stock
In general, if products out of stock are hidden and the product is out of stock (not in stock and not available on backorder), then the product must not show up on shop pages and not in search results.
In Stock
For the following the product must be in stock or available on backorder and where filters are applied the product must be eligible according to those:
Product’s Catalog Visibility is Shop and search results:
- must show up on shop pages without filters applied
- must show up on shop pages with filters applied (including Product Filter – Search)
- must show up in live search field results
- must show up in standard WooCommerce search field results
Product’s Catalog Visibility is Shop only:
- must show up on shop pages without filters applied
- must show up on shop pages with filters applied (including Product Filter – Search)
- must not show up in live search field results
- must not show up in standard WooCommerce search field results
Product’s Catalog Visibility is Search results only:
- must not show up on shop pages without filters applied
- must not show up on shop pages with filters applied (including Product Filter – Search)
- must show up in live search field results
- must show up in standard WooCommerce search field results
Product’s Catalog Visibility is Hidden from shop and search:
- must not show up on shop pages without filters applied
- must not show up on shop pages when filters are applied (including Product Filter – Search)
- must not show up in live search field results
- must not show up in standard WooCommerce search field results
On Sale
If the product is on sale, the On Sale filter must show up, unless the chosen Catalog Visibility option or stock status does not allow for it to be included.
Variable Products
Out Of Stock
In general if products out of stock are hidden and all variations are out of stock (none is in stock and none is available on backorder), then the Variable product must not show up on shop pages and not in search results.
In Stock
For the following, at least one variation must be in stock or available on backorder and where filters are applied, at least one variation must be eligible according to those. The Catalog Visibility option chosen applies to the Variable (parent) product.
Variable Product’s Catalog Visibility is Shop and search results:
- the Variable product must show up on shop pages without filters applied
- the Variable product must show up on shop pages when filters are applied (including Product Filter Search)
- the Variable product must show up in live search results
- the Variable product must show up in standard WooCommerce search field results
Variable Product’s Catalog Visibility is Shop only:
- the Variable product must show up on shop pages without filters applied
- the Variable product must show up on shop pages with filters applied (including Product Filter – Search)
- the Variable product must not show up in live search field results
- the Variable product must not show up in standard WooCommerce search field results
Variable Product’s Catalog Visibility is Search results only:
- the Variable product must not show up on shop pages without filters applied
- the Variable product must not show up on shop pages with filters applied (including the Product Filter – Search)
- the Variable product must show up in live search field results
- the Variable product must show up in standard WooCommerce search field results
Variable Product’s Catalog Visibility is Hidden:
- the Variable product must not show up on shop pages when no filters are applied
- the Variable product must not show up on shop pages when filters are applied (including Product Filter – Search)
- the Variable product must not show up on live search results
- the Variable product must not show up on standard WooCommerce search field results
On Sale
If any of the Variations is on sale, the On Sale filter must show up unless the Catalog Visibility option of the parent Variable Product does not allow for it to be included or if all variations are out of stock.
Leave a Reply