Skip Navigation

[Resolved] Adding filter into an archive page

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

Problem:

Add custom filters to Woocommerce shop page.

Solution:

The client resolved it by using another plugin, see details here:

https://toolset.com/forums/topic/adding-filter-into-an-archive-page/#post-1854099

Relevant Documentation:

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by jean-francoisB 11 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#1849151
Capture d’écran, le 2020-11-18 à 13.26.32.png

Tell us what you are trying to do?

I have a website (glfqc.com) that has product archive pages that show products for each main product category. I would like to add filtering options as a sidebar for those archive pages so visitors can get even more specific results of what they are looking for. For example, I have a product category called "alimentation". This category has child categories. This is the archive page for "Alimentation" : hidden link

If you look at the attached file, you can see what I'm looking for.

- First filter would show a checkbox list of all child categories of "Alimentation".

- The second filter would have checkbox of all different brands

- The third filter would be a price range slider

Is there any documentation that you are following?

I try to find documentation in forum and I'm not able to find anything that looks like what I want.

Can you tell me if it's possible to do and if yes, where can I find the information on how to build this?

Thank you very much!

#1849371

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

You can not display the custom search form of Toolset WordPress Archives in sidebar widget, there isn't such kind of built-in feature within Toolset Views/Blocks plugin, the "WP Views Filter" widgets work only for normal post views.

But you can style/format the archive pages with Toolset WordPress Archives:
https://toolset.com/course-lesson/creating-a-custom-archive-page/

If you are using Blocks editor, you can try Toolset Grid block, and display the search form and search result in different grid column:
https://toolset.com/course-lesson/responsive-columns-and-grids/

1) First filter would show a checkbox list of all child categories of "Alimentation".
No, there isn't such kind of feature, in main product category archive page, the product category field will display only one option of current category

2) and 3), please follow the document I mentioned above to setup the custom search form in Toolset WordPress Archive:
https://toolset.com/course-lesson/creating-a-custom-archive-page/#add-a-custom-search-to-an-archive

#1854099

Hi, I finally found a plugin that does exactly what I need (WooBeWoo WooCommerce Product Filter). This plugin offers a lot of options and customization that I would like to see integrated into Toolset, so no need for a second plugin anymore. Thank you for your help!