Display SKU results in search - by chrisoneal

This topic has 2 replies, 2 voices, and was last updated 7 years, 1 month ago ago by Olga Barlow

  • Avatar: chrisoneal
    chrisoneal
    Participant
    February 21, 2017 at 18:54

    I’ve updated my child theme to include custom WooCommerce product fields and SKU in the search results. The search returns and displays the custom text field fine (product_colors) but does not display any results in the ajax-results div when searching for SKU or a custom number field (product_code_number).

    It is finding the SKU and/or the custom number field though because if you enter the value in the search bar the ajax-results div will remain empty but if you press enter it will take you to that product.

    Please let me know what i can provide you to help me with this important matter.

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 22, 2017 at 17:15

    Hello,

    Code for the Ajax search you can find in:
    xstore/framework/theme-functions.php http://prntscr.com/ec25hn
    xstore/js/etheme.js , etheme.min.js http://prntscr.com/ec25s1
    Use child theme for all the changes you plan to implement.

    Additional customization is not included in our basic support that’s why if you need help with it contact WP-Kraken team

    Regards

  • Viewing 2 results - 1 through 2 (of 2 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.