Forums › Forums › Search & Filter Pro › Not Searching Product Table, a Custom Post Type
Tagged: codeastrology, product table
- This topic has 10 replies, 2 voices, and was last updated 4 years, 3 months ago by Anonymous.
-
Anonymous(Private) October 7, 2020 at 3:01 pm #262233
Hello,
I’m using this product table plugin:https://wordpress.org/plugins/woo-product-table/
Can be seen here:
https://azpowder.freshy.site/replacement-parts/gema-parts/optiflex2-gm03-gun-parts/Product Table is checked off to be searched but it’s not working:
https://gyazo.com/328e1e396a243aff49a42e3ce33347e2Trevor(Private) October 8, 2020 at 1:50 pm #262423Each page would need its own form, sorry about that.
Searching for SKUs:
Our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy (Category, Tags and Taxonomies) data/terms. The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see 2 settings for Relevanssi.
The documentation for this is here:
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
You would need to install and activate the free Relevanssi plugin as well.
Then set Relevanssi up and build its index (make sure it is indexing the desired post types, custom fields AND any taxonomy that you want to search).
A note about WooCommerce SKUs and Relevanssi:
If you disable Search & Filter (but with Relevanssi installed and setup), and try to search the WC shop with an SKU, you will see this does not work.
So this is a problem with Relevanssi + WooCommerce (fortunately S&F is not caught in the middle of this!)
However, there appears to be a solution to this in the Relevanssi docs:
https://www.relevanssi.com/knowledge-base/indexing-product-variation-skus-main-product/
I have previously tried this on my test site and then it all seemed to work OK, after I rebuilt the Relevanssi index.
-
AuthorPosts