This topic has 2 replies, 2 voices, and was last updated 7 months, 3 weeks ago ago by Jack Richardson
Hi,
I have multiple products that have OEM part numbers, which I’ve added to my products as an attribute. Unfortunately I’m not able to search for these numbers. So my customers can’t find these products when they search with the OEM part number.
Is there a way to modify the search and add this functionality? Otherwise I could also use another search plugin but I wasn’t able to replace the search bar within the header with another search widget.
Please help. Thank you in advance.
Hello @shngz,
Thank you for reaching out. While we understand your concern, it would greatly assist us in providing a tailored solution if you could share a screenshot illustrating the issue. Nonetheless, it seems you’re referring to the OEM part numbers you’ve added as product attributes, visible here: https://prnt.sc/GUQfAkqme9hg.
By default, our search functionality doesn’t include searching by product attributes. However, you have the flexibility to customize our search feature by utilizing the ‘etheme_ajax_search_posts_query’ filter. This filtes is used for search query request in the following file: ‘et-core-plugin/app/models/customizer/class-ajax-search.php’. For further guidance, you may find the discussion in a similar support topic helpful, accessible here: https://www.8theme.com/topic/search-widget-how-to-hide-some-category-from-result/#post-370847..
If you’re inclined towards using a separate search plugin, there should be provisions such as a shortcode that can be integrated into various sections of your website. If you’re using our Customizer header builder, you can easily incorporate an HTML block element containing the shortcode or anchor provided by the plugin you opt for.
If you would like to pursue paid customization services, we recommend submitting a customization request to the Codeable team via their website: https://www.codeable.io/?ref=qGTdX
Should you require any further assistance or clarification, please don’t hesitate to reach out.
Kind regards,
Jack Richardson
You must be logged in to reply to this topic.Log in/Sign up