Search Parameters - by bedult1 - on WordPress WooCommerce support

This topic has 8 replies, 2 voices, and was last updated 10 years, 8 months ago ago by Eva Kemp

  • Avatar: bedult1
    bedult1
    Participant
    March 30, 2015 at 16:36

    Hello,

    Can you explain how the search bar works? Does it only search product names or does it include tags, attributs, categories, etc? Is there a way to change what is searches for? If I search for a category it only returns the products where the category name happens to be in the product name. This is not all that great.

    Thanks,

    Mike

    7 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    March 30, 2015 at 16:43

    Hello,

    The search form searches only for the words that are mentioned in the products titles.
    If you want to extend these features you may try to use 3rd-party plugins.
    Sorry.

    Regards,
    Eva Kemp.

    Avatar: bedult1
    bedult1
    Participant
    March 30, 2015 at 16:44

    can you make any recommendations on third party plugins? Are you using the default woocommerce search or your own?

    Avatar: Eva
    Eva Kemp
    Participant
    March 31, 2015 at 09:53

    Hello,

    If you want to have default search form you need edit the file wp-content/themes/royal/woosearchform.php (line 15) and remove the code <input type="hidden" name="post_type" value="product" />.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: bedult1
    bedult1
    Participant
    March 31, 2015 at 14:23

    can I make modifications to that “input type” to include categories and tags?

    Avatar: Eva
    Eva Kemp
    Participant
    March 31, 2015 at 15:04

    Hello,

    You may try to use this plugin:
    https://wordpress.org/plugins/search-by-product-tags-for-woocommerce/

    Regards,
    Eva Kemp.

    Avatar: bedult1
    bedult1
    Participant
    March 31, 2015 at 15:49

    that worked like a charm…now the site searched “product” and “product tags”.

    Thanks,

    Mike

    Avatar: Eva
    Eva Kemp
    Participant
    April 1, 2015 at 15:29

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Search Parameters’' 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.