Problem with search results - by David Henry

This topic has 9 replies, 3 voices, and was last updated 6 years, 3 months ago ago by Olga Barlow

  • Avatar: David Henry
    David Henry
    Participant
    August 13, 2018 at 15:48

    WE need to include Product Categories and Brand Names into the search results. Can this be done?
    d

    8 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 14, 2018 at 10:16

    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

    Avatar: David Henry
    David Henry
    Participant
    August 22, 2018 at 16:14

    I’ve looked for xstore/theme-function.php but there is no such file, is this the right place?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 23, 2018 at 06:55

    Hello,

    xstore/framework/theme-function.php

    Regards

    Avatar: David Henry
    David Henry
    Participant
    August 23, 2018 at 09:56

    Thanks Rose, is it ok to take this code and put it into the functions.php of my child?

    Avatar: David Henry
    David Henry
    Participant
    August 23, 2018 at 10:04

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 23, 2018 at 13:53

    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

    Avatar: David Henry
    David Henry
    Participant
    August 24, 2018 at 08:42

    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

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 27, 2018 at 14:48

    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

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.