Search bar speed + results - by Shezad - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 2 years, 7 months ago ago by Rose Tyler

  • Avatar: Shezad
    Shezad
    Participant
    September 5, 2021 at 02:36

    Hello,

    1) I am having issues with the search bar being slow during the initial Ajax search. When I perform the initial search it takes a few seconds to drop down with the Ajax results, I have seen many other e-commerce stores with much faster search bars. I was wondering if there is anything I can do to speed it up.

    2) The search bar is not displaying all the results, for example when I search “xt1962” into the search bar it only displays one result as shown below, however I have 8 products that are supposed to show up when searching “xt1962” also shown below:

    8 products from searching woocommerce products= https://snipboard.io/Mqsudr.jpg

    1 product from searching using the Ajax search bar= https://snipboard.io/UTRuWf.jpg

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 5, 2021 at 08:42

    Hello,

    1/ Ajax search result depends on server response time and DB structure. Theme sends requests to your DB and waiting for response. So, if it’s slow then try to speed up the server response time. We can do nothing with it.
    2/ It search in titles of products, you have only 1 product with the mentioned text in title.
    “Search By SKU” can be activated in Theme Options > Header builder > Search, but it will not work in your case, because some titles of products contain same words as SKUs, and it cause a conflict. There is no a ready solution, unfortunately.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Search bar speed + results’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.