WooCommerce pack – Can I replace my Category pages with WPSOLR search ?

275 views November 19, 2016 December 14, 2016 admin 0

Yes, you can

From WPSOLR 14.9, there is a new option on the WooCommerce pack to replace category pages queries with WPSOLR queries.

Select the option to replace WooCommerce category query with WPSOLR query.

Select the option to replace WooCommerce category query with WPSOLR query.

 

How does it work ?

WooCommerce categories pages are simply WP_Query with a filter on the category. WPSOLR replaces WP_Query with a Solr query, filtered with the category retrieved from the urls looking like “/product_category/slug-some-category”.

 

Can I add the WPSOLR facets widget on the category pages ?

Not only you can, but you should! The WPSOLR facets widget is intelligent enough to  show only facets for the current category of products, and even hide the category top levels (showing only it’s category children).

Front-end category page with WPSOLR facets widget.

Front-end category page with WPSOLR facets widget.

Was this helpful?

Leave A Comment
*
*