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
- This topic has 9 replies, 2 voices, and was last updated 4 years, 10 months ago by Elise Noromit.
-
AuthorPosts
-
February 15, 2020 at 8:43 am #173593
VucciParticipantWhen 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.February 15, 2020 at 10:07 am #173620
Elise NoromitMemberHello,
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
February 15, 2020 at 10:39 am #173623
VucciParticipantthank you for your answer.
I am editing the site, but I will send you the URL.February 15, 2020 at 10:53 am #173628
VucciParticipantExcuse me. I have forgotten your site password and will send it to you. Please let me know if you have any other necessary information.
February 15, 2020 at 5:31 pm #173701
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.woodmart-search-full-screen .autocomplete-suggestion .suggestion-thumb { display:none }
Best Regards
February 16, 2020 at 4:10 am #173739
VucciParticipantThank 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?
February 16, 2020 at 4:39 am #173744
VucciParticipantBy 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.
February 16, 2020 at 9:52 am #173791
Elise NoromitMemberHello,
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
February 16, 2020 at 11:12 am #173805
VucciParticipantThank 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.
February 16, 2020 at 3:42 pm #173833
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register