Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've noticed that my WooCommerce products are not searched by the default WordPress search function. Any idea how to modify the function to ensure that products and product tabs are searched?

share|improve this question
add comment

1 Answer

I'm running several WooCommerce sites, and the WordPress search does include products along with posts/pages. Do you have a custom search.php file or any custom functions that would alter the products taxonomy to exclude it from search? WooCommerce also has a product widget that can be used as well.

share|improve this answer
    
I'll check out the search.php file. The theme is sentient by WooThemes. I know for a fact that it's not searching the products but is searching pages and posts as I've tested it extensively. I have another site that runs the theme Mystile (again by WooThemes) and I noticed that the product search bar only seems to search products, not pages or posts. –  Jeremiah Prummer Apr 7 '13 at 15:00
    
This may be a bug withing WooCommerce then. If you contact woothemes, their support is amazing and they may be able to help you if it is a but with WC or their themes. –  Zach Russell Apr 7 '13 at 15:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.