Tagged: woocommerce search
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:
/* 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?
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.
The topic ‘search issue woocommerce products’ is closed to new replies.