Second filter using WooCommerce Template has conflicts with first one

Forums › Forums › Search & Filter Pro › Second filter using WooCommerce Template has conflicts with first one

Viewing 5 posts – 1 through 5 (of 5 total)
  • Anonymous
    #84598

    Hi,
    I am using S&F Pro Version 2.3.0 and I have conflicts between 2 filter included on two different WooCommerce product category pages by shortcode.
    I have successfully setup a filter for my WooCommerce product category “event-apfel-raclette” using my custom taxonomy “event_name”:

    https://obsthof-am-steinberg.de/produkt-kategorie/event-apfel-raclette/

    This first filter is affected and it suddenly always returns zero results when I add a second very similar filter for “event_name” inside a second product category page.

    Here is an example AJAX request which returns all results correctly BEFORE and zero results AFTER the activation of the second filter:

    https://obsthof-am-steinberg.de/webshop/?sf_data=results&_sft_event_name=fackelwanderung,kombiticket

    How can I make these two filters work in parallel?
    Let me know if you need access to my test environment where you can reproduce this issue.

    Thanks a lot,
    Oliver

    Trevor
    #84672

    Are you using the WooCommerce Display Method or the Shortcode Results method?

    Anonymous
    #84688

    I am using WooCommerce Display Method for both filters.

    Trevor
    #84693

    That means you will have a warning not to do this in the admin, yes? We can only have one form that affects the WC query.

    Is it possible to make one form and use css specific to each page to hide the alternate control?

    Anonymous
    #84695

    Yes, absolutely. I’m sorry! I didn’t take care on the error in the admin.
    As you suggest I will try to alter one form by JS and CSS to fit to my needs.

    Thank you!

Viewing 5 posts – 1 through 5 (of 5 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.