Home Forums WoodMart support forum I want to hide the suggestion function when searching for products

I want to hide the suggestion function when searching for products

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #173593

    Vucci
    Participant

    When you search for a product, the image of the predicted product is displayed in a drop-down.
    I want to hide this suggestion feature.
    I tried the following function.php.

    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 );

    However, no results were obtained.
    I want you to solve it in function.php.
    Thank you.

    #173620

    Hello,

    Please provide your site URL so that we could provide you with custom CSS. If your site is under maintenance, please provide your site admin access in the private area

    Best Regards

    #173623

    Vucci
    Participant

    thank you for your answer.
    I am editing the site, but I will send you the URL.

    #173628

    Vucci
    Participant

    Excuse me. I have forgotten your site password and will send it to you. Please let me know if you have any other necessary information.

    #173701

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .woodmart-search-full-screen .autocomplete-suggestion .suggestion-thumb {
    display:none
    }

    Best Regards

    #173739

    Vucci
    Participant

    Thank you.

    The image is no longer displayed.

    However, product images are no longer displayed, but search suggestions are displayed in prediction.

    I’m sorry. I was short of explanation.

    My goal is an exact match search that does not predict and display search suggestions.

    I used a plugin for exact match search, but it doesn’t work.

    The plug-in used is “Relevanssi”.

    How do I completely hide search suggestions and perform an exact match search?

    #173744

    Vucci
    Participant

    By using Relevanssi, I thought that it could be complemented.

    Since Relevanssi cannot be used, what we want to do will be changed.

    Exact search suggestions are displayed including images.

    Broad match search suggestions are not displayed.

    This is an example.

    Search word: small

    No search suggestions are displayed for “s”, “sm”, “sma”, or “smal”.

    Suggest only exact matches when searching for “small”.

    If there are multiple exact match products, we will suggest multiple candidates along with the image.

    And I’m sorry many times. Thank you.

    #173791

    Hello,

    Please navigate to Woodmart > Header builder http://prntscr.com/iyd2pe

    Choose the proper header

    Enter the Search element: http://prntscr.com/iyd3h3

    Find the option AJAX search and disable it.

    Best Regards

    #173805

    Vucci
    Participant

    Thank you very much.
    Completed without incident.
    There was ON / OFF of plug-in in shop setting!
    Combined with the advice, the solution was resolved successfully.
    Also, if there is something, please support.

    Thank you.

    #173833

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 10 posts - 1 through 10 (of 10 total)