Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25715

    I am sorry if this has been posted before, searching for “search ..” in the forums is hard.

    My issue is that the search widget of woocommerce and the themes searchform.php search results do not include the woocommerce products.

    My quess is it is the search.php file:

    <?php

    /* Run the loop to output the posts.

    * If you want to overload this in a child theme then include a file

    * called loop-search.php and that will be used instead.

    */

    $more = 0;

    get_template_part( ‘includes/loop’, ‘portfolio’);

    ?>

    Can you help me?

    #127964

    Hi filmografik,

    The search function is just using the default wordpress search and then it runs that query through the loop in the search.php. So there isn’t anything more on our end that can be done to include additional data.

    However, by default the search does include the products as can be seen in the demo here: http://www.kriesi.at/themes/flashlight/?s=Donec

    Just make sure you are searching for terms that are in the product text and not specific attributes of a product or data that isn’t reached by wordpress’ normal search.

    Regards,

    Devin

    #127965

    Ok thank you Devin, indeed it is working on the demo, i will keep searching..

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘search issue woocommerce products’ is closed to new replies.