Problem:
The customer wants to have a different WooCommerce product archive template for each of their two categories. However, when attempting to add a filter to apply it to a category, they receive an error indicating that the filter cannot be applied.
Solution:
Taxonomy term filters are not supported on taxonomy archives, and the error received is expected behavior. For example, if on a taxonomy WordPress archive page (e.g., "my-tax"), the filter will not work on that page and will display a warning message.
As a workaround, the customer can create a view to display term archive page links:
Create a taxonomy view that lists terms of the custom taxonomy.
Display the term's archive page link with the shortcode [wpv-taxonomy-link].
Insert this taxonomy view into the taxonomy WordPress archive.
This allows users to click the links and be redirected to the corresponding term's archive page.
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 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Sao_Paulo (GMT-03:00)
This topic contains 1 reply, has 2 voices.
Last updated by 7 months, 2 weeks ago.
Assisted by: Mateus Getulio.