This topic has 4 replies, 3 voices, and was last updated 5 months, 3 weeks ago ago by Andrew Mitchell
I have applied following filter successfully to show the ‘product SKU’ in header search.
add_filter(‘etheme_ajax_search_products_sku’, ‘__return_true’);
I want to hide ‘Stock status and stock quantity’ in the header search. (The green highlighted in the image) What is the code for that?
Thanks.
Hello @Cem U,
Thank you for reaching out to us with your query. We’re glad to hear that you’ve successfully applied the filter to show the ‘product SKU’ in the header search.
Regarding your request to hide the ‘Stock status and stock quantity’ in the header search, you can achieve this by adding the following custom CSS to your theme:
.autocomplete-suggestion .ajax-item-info>.stock {
display: none;
}
You can add this CSS snippet to your theme by navigating to Theme Options > Theme Custom CSS > Global CSS in your WordPress dashboard and pasting the code there.
If you need any further assistance or have any more questions, please feel free to contact us.
Best Regards,
Jack Richardson
8Theme’s Team
It works. Thank you.
Dear Cem U,
As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?
Click here to share your valuable perspective: https://themeforest.net/downloads
Your time and trust are highly appreciated!
Best Regards,
The 8Theme Team
The issue related to '‘Header Search Filter hide stock quantity and stock status’' has been successfully resolved, and the topic is now closed for further responses