• senatorman

    (@senatorman)


    Hi there,

    I have a WooCommerce child theme where I’m using the Search and Filter plugin to filter search terms by product category. When a user selects a product category, the search results use the taxonomy-product_cat.php template and it all looks great.

    But when a user searches for just the term and does not select the product category, the results default to search.php and shows results as the regular posts format.

    https://wordpress.org/plugins/woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Can you append:

    post_type=product

    to the URL or the form if its POST based?

    Thread Starter senatorman

    (@senatorman)

    thx for you answer.

    Can you tell my which file i have to change?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    No I cannot. it would need to be added to the URLs “Search and Filter plugin” generates.

    Thread Starter senatorman

    (@senatorman)

    ok thx. iám searching for it

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Search template isseu’ is closed to new replies.