Product Search Function - by daniel@psyborg.com.au

This topic has 4 replies, 3 voices, and was last updated 8 years, 10 months ago ago by Robert Hall

  • Avatar: daniel@psyborg.com.au
    daniel@psyborg.com.au
    Participant
    February 24, 2016 at 14:29

    Hi 8Themes

    Since doing a bunch of recent updates of wordpress, the theme, plugins including woo commerce we have noticed that the ‘Product Search’ function is not working in the footer widget or side widget area.

    When we do a search with any word it always goes back to the home page.

    Also, once this issue is resolved my client would like to know if we can position the product search field and button in the header somewhere and if possible if you could guide me with what code snippet to put where. We have a child theme set up so I’m hoping to put the relevant snippet of code in the header.php file.

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 24, 2016 at 14:46

    Hello,

    I’ve checked search form and it’s working fine:
    http://storage1.static.itmages.com/i/16/0224/h_1456321361_9067466_51fd720bac.png

    Try to clear browser cache and check again.

    To add search form in header you need add this code in child theme header.php file:

    <div id="search">
    <?php get_search_form(); ?>
    </div>

    Best regards,
    Jack Richardson.

    Avatar: daniel@psyborg.com.au
    daniel@psyborg.com.au
    Participant
    February 24, 2016 at 14:51

    Perfect – thanks Jack!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 24, 2016 at 15:36

    Hello,

    You’re welcome!

    We would be glad if you leave a review on Theme Forest site http://themeforest.net/item/blanco-responsive-wordpress-wooecommerce-theme/2755246/comments

    Regards,
    Robert Hall.

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

The issue related to '‘Product Search Function’' has been successfully resolved, and the topic is now closed for further responses

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