This topic has 9 replies, 3 voices, and was last updated 6 years, 2 months ago ago by Olga Barlow
WE need to include Product Categories and Brand Names into the search results. Can this be done?
d
Hello,
Only by additional customization if you have the necessary skills. Search functions you can find in xstore/theme-function.php, find “!Search, search SKU” and “! AJAX search” commits and ajaxSearc function in etheme.js(etheme.min.js).
If you need help with additional customization contact WPKraken team.
Regards
I’ve looked for xstore/theme-function.php but there is no such file, is this the right place?
Hello,
xstore/framework/theme-function.php
Regards
Thanks Rose, is it ok to take this code and put it into the functions.php of my child?
Actually Rose, I think that customizing this will not get me a seamless look and feel. I think it’s better if I buy something similar, but where can I drop in the short-code and hide the current search field?
This is the plugin I’m looking at:
https://preview.codecanyon.net/item/woocommerce-search-box/full_screen_preview/15685698
Hello,
1) You can disable the default search from Theme Options > Header settings > Search > disable.
2) The place to add the code of the new search depends on you. Do you want just to replace existing search or want to change also its position? What type of header do you use (can’t check your site because of password protect)? You will need to edit file depending on the header structure that you use (xstore/headers/ folder).
Regards
Thanks Olga,
I want the search to say exactly where it is, I just need to replace the field that pops up, I’ve put the access details below
Hello,
Then find etheme_shop_navbar function in xstore/framework/template-elements.php and copy to your child theme functions.php. Replace etheme_search_form() by the new search.
Regards
You must be logged in to reply to this topic.Log in/Sign up