Skip Navigation

[Resolved] Adding category filter breaks filtering.

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1109224

Hello, hoping you can help

Logins:
hidden link
support / ugHO(i#3#kD8AnKyzTGr1Z(E

Have set up some basic product filtering with woocommerce and tooslet. When adding a catehory filtering option to the view, it stops working. See links and pages below for examples.

Direct links to the view are on each page

**Working page**
no category filtering. This filters ALL products and works as expected.
hidden link

**Non working view**

Exact same base code, the only addition is the category filter. For this page, only wedding rings are shown. That works, only 5 rings are to show.

Choosing an option, you see the results refresh, but the results are always the same. (try yellow gold)

The only difference is the introduction of the category filter.

If leaving the filter variable option empty, the filter shows all results (correct) but you still cant filter. Again, the code is EXACTLY the same, only a category filter was added.

hidden link

Not sure if this is something you can help with (the slider is a basic Jquery slider) with a simple setup, but that is working as expected.

Thanks in advance.
Marco
(BTW LOVE TOOLSET)

#1109425

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - sorry, I'm bit confuses here.

You want to display the view as slider or you want to filter your view with the filters available with "Choose Your Ring Style" button?

OR

You already filter your view with catetory using shortcode attribute wpvproductcat="wedding-rings" and its displaying 5 results. Do you want to apply another filter when user select it from "Choose Your Ring Style" ?

#1109758

As you can see from the 2 links - when I use a category filter in the view, the sorting/filtering no longer works. (you need to click the choose ring style button to show the options)

"You already filter your view with catetory using shortcode attribute wpvproductcat="wedding-rings" and its displaying 5."

Yes - This part is working - but if you select a ring style (gold) the results should only show gold rings, that doesn't work when using a using shortcode attribute/filter.

Let me know if you need more information

#1110506

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - Could you please check now. The issue was the related Query filters were not added to the view.

I've added those missing query filters as you can see with following the screenshot:
=> hidden link

Could you please check now and confirm it works.
=> hidden link