• Resolved laslooo

    (@laslooo)


    Hi, on my site I have set filters for two attributes: color and size.

    The problem is, the filters don’t work together.
    For example, if I filter for all items size L and then click blue to just show blue size L items, it forgets I chose size L in the first place and shows all blue items.

    Here’s my site: MALIMO

    I have set both filters to query-type AND and here are the plugin settings I set:

    
    Product Container: .products
    Shop Pagination Container: .pagination.loop-pagination
    Result Count Container: .woocommerce-result-count
    Scroll top anchor: .yit-wcan-container

    What can I do to make both filters work together?

    • This topic was modified 6 years, 10 months ago by laslooo.
    • This topic was modified 6 years, 10 months ago by laslooo.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,

    I have tested your website and I found two issue:

    The issue is in the before_widget arg in register sidebar settings. The correct way to register a sidebar is: ‘before_widget’ => ‘<li id = “% 1 $ s” class = “widget% 2 $ s”>’, with id and class params, like you read in the WordPress Codex . Your theme use only classes and not the id..

    Please, look here: https://codex.wordpress.org/Function_Reference/register_sidebar

    For this issue you must contact yout theme author and ask to him to add the ID for theme sidebar.

    Have a nice day
    YITH

    Thread Starter laslooo

    (@laslooo)

    Thanks. I implemented this into my functions.php and it works! For anyone else having this problem, who have some basic coding skills: look for the register_sidebar function in your functions.php , which defines the woocommerce sidebar and change the code above.

    Plugin Author YITHEMES

    (@yithemes)

    Hi and Thanks for your reporting.

    If you like our support and our products, please give us a good review here 🙂

    Have a nice day

    YITH

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘More than one filter not working’ is closed to new replies.