Skip Navigation

[Resolved] Search product by category

This support ticket is created 6 years, 1 month 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 5 replies, has 2 voices.

Last updated by jackO 6 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1133173

Hi there...

Is search filter on view can search product category on shop like vegetables, meat or others?

If can, how to make it?

Thanks...

#1133354

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As I understand, you want to filter your view by taxonomy (the category in your case). If I understand you correctly - Yes, you can add taxonomy filter to your view to filter your posts by category taxonomy.

More info:
=> https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

Even if you want to learn how taxonomy filter added to the shop page, I suggest you to create a test site on our free test platform discover-wp.com and use one of the available reference sites - in your case WooCommrece reference site:
=> https://toolset.com/faq/how-and-why-to-create-a-test-site-in-discover-wp/
=> https://discover-wp.com/site-types/woocommerce-and-toolset-demo/

#1134033

Yes... it filter view by categories but I want to create a form that can filter view by category like dropdown... when they choose on dropdown and click submit button, it will show the result by what the category they choose..

Can you show me how to make it?

#1134305

Minesh
Supporter

Languages: English (English )

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

Well - to which page you want to add the filter? Do you mean that you want to add the filter is sidebar?

#1134636

A dropdown that they to filter the product by a category then click submit... or filter product by category using url parameter on shop page...

#1134864

Minesh
Supporter

Languages: English (English )

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

Yes - both options are possible but if you can tell me where exactly you want to implement it.

Please check following reference site shop page - where such filters are applied:
=> hidden link
=> hidden link

I suggest you to create a test site using our free test platform discover-wp.com and create a test site using the following link:
=> https://discover-wp.com/register/?site_type=660

Once you create test site - you can play with it and that will help you to learn how the shop page and filters are setup. If that does not help - I need problem URL where you want to add the filter and access details so I can set it up for you.

I have set the next reply to private which means only you and I have access to it.