I want to improve relevancy on my product search in WooCommerce. Currently, if I type a SKU of a product tin it will not show first, how can I make it so the SKU of a product has the highest relevancy?
Thank you for the proper detaisl!
I took the opprotunity and logged in to the back-end to check your configuration. I see you have the index table configured correctly, but it was not in use. So this is what I did:
– first I enabled the index table engine: https://i.imgur.com/pwMllNr.png
– then, I have also enabled post type ordering, to always show product results first: https://i.imgur.com/0yYyoVL.png
– and also, I have increased the custom field (including _sku) relevancy weight option: https://i.imgur.com/0L38NNm.png
This will make sure that if the part number matches in any way, then it’s relevance is boosted up, and also if any other post type matches, the products will come up first.Best,
You must be logged in to reply to this topic.