0

I am using Magento 2.3.4. I want to get the exact search result using SKU or product name but currently get the related results. Please help and Thanks in advance.

2
  • did you reindex? what search engine are you using? where are you searching? Commented May 13, 2020 at 7:43
  • Hello @PhilippSander, Default search magento search engine use and searching product using name and sku but search result get related product. Commented May 13, 2020 at 10:17

1 Answer 1

1

search functionality is working as when you search any keyword then this keyword looking in the product description, short-description, name, and SKU or enabled search attribute settings.

if you want to get the exact search result using only SKU or product name you can disable another attribute search settings

path: Stores > Attributes > Product > [Attributes]

enter image description here

And Increase search Weight of SKU and Name like(1 to 10)

enter image description here

If in your project enable Mageplaza_LayeredNavigation then try to disable it because sometimes it affects the search result.

Run CLI commands

bin/magento indexer:reindex
bin/magento cache:clean
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.