Skip Navigation

[Resolved] Using Toolset to build a filter and comparison tool

This support ticket is created 3 years, 12 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
- 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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 3 years, 12 months ago.

Assisted by: Waqar.

Author
Posts
#1570325

I would like to create a information module dislaying item specs that can filter and compare items similar to the below:

hidden link

#1570357

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

The Toolset Views plugin can be used to show posts with the front-end search filters, as explained in this guide:
https://toolset.com/documentation/user-guides/views/front-page-filters/

However, for a comparison tool like the one you refer to, some customization ( through PHP, HTML, CSS, and Javascript code ), will be needed.

You can pass on the post IDs of the target comparison posts through the URL parameter to a new page, which includes a content template, that shows the field data from those posts accordingly.

I hope this helps and for more personalized assistance around custom code, you can also consider hiring a professional from our list of recommended contractors:
https://toolset.com/contractors/

regards,
Waqar

#1570417

What if I utilize Woocommerce and a comparison plugin and filter. Would I be able to add custom fields with Toolset to be filled in Woocomerce products and dislpayed to clients on frontend. Clients only sees the info filled by me as specs (custom fields), not something they have to fill. So woocommerce becomes a catalogue.

#1570713

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Yes, this can also work.

Using the Toolset Types plugin, you can attach custom fields to the products post type:
https://toolset.com/documentation/user-guides/using-custom-fields/

After that you'll be able to show the values stored in those custom fields in the comparison table's template ( ref: https://docs.woocommerce.com/document/woocommerce-products-compare/#section-5 ), using Toolset Fields API:
https://toolset.com/documentation/customizing-sites-using-php/functions/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.