Search Bar - by techdesignmiri - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 6 years, 2 months ago ago by Rose Tyler

  • Avatar: techdesignmiri
    techdesignmiri
    Participant
    February 14, 2018 at 11:50

    Hi, is there a way that I can make products available to search by SKU as well as by title? i.e. if a customer we’re to type a product sku in the search bar it would come up

    Also, is there a way to make Product sku’s visible underneath the price on the product catalog page?

    Thanks

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2018 at 15:25

    Hello,

    It looks like you updated woocommerce to latest version, but you use old theme version. You need to update theme and all required plugins http://xstore.helpscoutdocs.com/article/63-theme-update http://xstore.helpscoutdocs.com/article/37-plugins-update Then activate “Search by sku” in Theme Options > General > Header Settings.

    This requests customization in files:
    xstore/woocommerce/content-product.php
    http://prntscr.com/ien2ku -> http://prntscr.com/ien3uv
    <?php echo '<div class="product-sku">'.$product->get_sku().'</div>'; ?>
    xstore/woocommerce/content-product-slider.php
    http://prntscr.com/ien5ah
    (we recommend making changes in the child theme https://codex.wordpress.org/Child_Themes because you’ll lose all modifications after each theme update)

    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.