Skip Navigation

[Closed] Filtering unique tax. terms based on the selection of a term in another tax.

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 2 years, 5 months ago.

Assigned support staff: Minesh.

Author
Posts
#1745473

Tell us what you are trying to do?
I would like to display all product category terms for a product post type based on the product brand a user is trying to filter by. Product Brand and Product Category are both taxonomies used on the Products CPT so based on the product brand that the user wants to see I need to update the view to show all unique product category terms for products that are found within that brand.

What is the link to your site?
hidden link

#1746077

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

If you have created the view/block view and added the filter for your both brand and product category taxonomy - and now when you change the brand filter , it will display associated post to brand and the product category taxonomy filter automatically updated for only available terms.

Have you checked this?

#1748769

Hey Minesh,

So I am not trying to filter the view by product categories. The only taxonomy that I am filtering the view by is Product Brands. Based on the Brand selected all unique category terms assigned to products within that Brand and the link to that term's archive page will to be displayed. The main thing I am struggling with is printing out unique terms for Product Categories as the view just displays all categories assigned for all products within that Brand. Much like how you suggested with the product category filters, is there a way to just make the unique terms display?

#1753519

Minesh
Supporter

Languages: English (English )

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

It might need a custom shortcode or another taxonomy view but I can tell you once I see where you added the view and how you added the brand filter.

Can you please share problem URL where I can see the brand filter you added.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

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

The topic ‘[Closed] Filtering unique tax. terms based on the selection of a term in another tax.’ is closed to new replies.