Forums Forums Search & Filter Pro Multiple woocommerce fiilters

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #140674

    For our WooCommerce project we would like to use the Search and Filter plugin to filter the products. We have multiple category pages with products, there is no general shop page.

    What I try to achieve is that every category-page (4 in total) has his own form with specific filters (sub-categories and attributes of products). The plugin does not allow that, because you can only have one form with the display mode ‘Woocommerce Shop’. I tried to make multiple instances, but that breaks the category pages. The reason I want to make multiple forms is that the products from category A have different attributes than the products of category B, and so on.

    Is there anyway to create multiple forms for WooCommerce products? Or is there any workaround for this specific problem?

    Trevor
    #140684
    This reply has been marked as private.
    Trevor
    #140717

    Ok, to remind what I said in our chat. You need to make sure the parent product categories are in the WooCommerce Product Category custom taxonomy. The sub categories must be in a separate custom taxonomy.

    You may need to make an additional taxonomy for this. This post tries to explain this a bit better (you can use a plugin to switch category terms from media-category to any new taxonomy that you make, so it is not so hard to do). It is a really awful preachy lecture I wrote:

    https://support.searchandfilter.com/forums/topic/multiple-categories-combination/#post-55166

    Sorry about the tone, but the message is right and it links to good plugins (except taxonomy switcher I think).

    In the form you need to …

    In the General Settings tab:

    Make sure that Maintain Search Form State is set to OFF (unless you need it on)
    Set Auto Count (both settings) to ON
    In Detect defaults from current page -> Choose which kinds of pages S&F will try to do this on, set Tag, Category & Taxonomy Archives to ON

    and in the Display results settings tab:

    Template Options -> Enable filtering on Taxonomy Archives set to ON

    In the Form UI:

    In the sub-category custom taxonomy that you make, set Hide Empty to ON

    You will need to hide the Product cateogry field from the user using custom CSS (display: none;) on that field.

    If I missed anything (I probably did, my apologies), follow up and nudge me.

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