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:

  1. must show up on shop pages without filters applied
  2. must show up on shop pages with filters applied (including Product Filter – Search)
  3. must show up in live search field results
  4. must show up in standard WooCommerce search field results

Product’s Catalog Visibility is Shop only:

  1. must show up on shop pages without filters applied
  2. must show up on shop pages with filters applied (including Product Filter – Search)
  3. must not show up in live search field results
  4. must not show up in standard WooCommerce search field results

Product’s Catalog Visibility is Search results only:

  1. must not show up on shop pages without filters applied
  2. must not show up on shop pages with filters applied (including Product Filter – Search)
  3. must show up in live search field results
  4. must show up in standard WooCommerce search field results

Product’s Catalog Visibility is Hidden from shop and search:

  1. must not show up on shop pages without filters applied
  2. must not show up on shop pages when filters are applied (including Product Filter – Search)
  3. must not show up in live search field results
  4. 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:

  1. the Variable product must show up on shop pages without filters applied
  2. the Variable product must show up on shop pages when filters are applied (including Product Filter Search)
  3. the Variable product must show up in live search results
  4. the Variable product must show up in standard WooCommerce search field results

Variable Product’s Catalog Visibility is Shop only:

  1. the Variable product must show up on shop pages without filters applied
  2. the Variable product must show up on shop pages with filters applied (including Product Filter – Search)
  3. the Variable product must not show up in live search field results
  4. the Variable product must not show up in standard WooCommerce search field results

Variable Product’s Catalog Visibility is Search results only:

  1. the Variable product must not show up on shop pages without filters applied
  2. the Variable product must not show up on shop pages with filters applied (including the Product Filter – Search)
  3. the Variable product must show up in live search field results
  4. the Variable product must show up in standard WooCommerce search field results

Variable Product’s Catalog Visibility is Hidden:

  1. the Variable product must not show up on shop pages when no filters are applied
  2. the Variable product must not show up on shop pages when filters are applied (including Product Filter – Search)
  3. the Variable product must not show up on live search results
  4. 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.

, , , , , , , , , , , , , ,

No comments yet.

Leave a Reply

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share