This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 6 years, 3 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Increase relevancy of SKU field on WooCommerce product
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 6 years, 3 months ago.
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?
Hi!
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.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |