Skip Navigation

[Resolved] Woocommerce Filters are not working as expected.

This thread is resolved. Here is a description of the problem and solution.

Problem:

Displaying WordPress loops in Woocommerce shop page.

Solution:

You can follow our document to add a WordPress archive cell in the shop page layout.

Relevant Documentation:

https://toolset.com/documentation/user-guides/layouts/wordpress-archive-cell/

This support ticket is created 4 years, 11 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.

Our next available supporter will start replying to tickets in about 1.25 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by hyukP 4 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1431553

I am trying to:
Have Woocommerce filters work as expected. Sort by Material, Style, Color and/or Size

Link to a page where the issue can be seen:
hidden link

I expected to see:
The filters work as they should.

Instead, I got:
The page flashes as though the filter/s are being applied but the page does not change.
The URL does update, but the page contents does not.

I troubleshot the issue to being the Toolset plugins.
I applied a filter of COLOR - RED.
Nothing changed on the screen.
I then disabled all the plugins except for the Woocommerce, Toolset plugins and Fusion Plugins (from theme).
Refreshed and nothing changed.
I then disabled the Toolset plugins.
Refreshed and the page only showed the RED SHOE.
This leave the Toolset plugin being the issue.

#1432201

Hello,

Thanks for the details, I can log into your website and see the problem.

Here are what I found, please edit layout "Layout for Product Archives":
hidden link

Row 5, you are using below custom shortcode:
[products columns="3"]
It conducts the problem, this shortcode will output the same result ignoring your custom filters.

I suggest you try to follow our document to add a WordPress archive cell in above layout, and customize it as what you want:
https://toolset.com/documentation/user-guides/layouts/wordpress-archive-cell/

#1437149

Luo,

Thank you for the direction.

I did add a WordPress Archive and it worked.
It showed one show in one column and the filters worked. Now the questions is how to make it into three columns?
hidden link

I tried adding a VIEW and that did the three columns but the Filters didn't work.
I found these videos but didn't give me the answer I was looking for.
hidden link
hidden link

I little more direction should do it.
I look forward to hearing back soon.
Thanks,

#1437183

You can follow our document to make it into three columns using bootstrap grid:
https://toolset.com/documentation/user-guides/views/view-layouts-101/#bootstrap

#1438575

I've updated the SHOP page with a grid created using Bootstrap.
I've placed 4 columns that will shrink to 1 when in mobile view.

The issue of the filters not working is still present.
hidden link

What are your thoughts as to why the filters still not working?

#1439143

As I mentioned above, you will need to add a WordPress archive cell into the layout for shop page, and customize the archive cell with bootstrap grid mode, I have setup a demo in your website, see the archive cell here:
hidden link

See the WordPress archive settings here:
hidden link

And for the problem: columns that will shrink to 1 when in mobile view
That is a feature of Bootstrap, see their document:
hidden link

If you don't want Bootstrap, you can edit the WordPress archive, and switch to other layout mode, for example Table grid mode. see the document I mentioned above:
https://toolset.com/documentation/user-guides/views/view-layouts-101/

#1441393

My issue is resolved now. Thank you!