Solution: Including product tags in FacetWP x WooCommerce search results

Problem

A shop using WooCommerce & FacetWP search. I want to search keyword (example) sunset. But only products with sunset word in product title showing in the results. I want the products with tag sunset also displaying in the results.

Solution

Use plugin:

Setup Relevanssi

Navigate Admin > Settings > Relevanssi > Indexing

In Post Types section, check on Product

In Taxonomies section, check on product_cat and product_tag

Then save the options, scroll up and press “Build the index” button

Allow Relevanssi in FacetWP settings

Navigate Admin > Settings > FacetWP, click on the “Search” facet.

Select Relevanssi as the Search engine.

That’s it.