I´m new to Toolset and i´m working with the new blocks plugin. Right about now i´m in a woocommerce project and my need is to design custom archive-templates per product-category.
For example: i have a product-category called: Umweltfreundliche Verpackungen
That category have two sub categories: 1. Folien + Beutel; 2. Adressieren und Kennzeichnen
For each of that 3 categories i would like to have an individual archive-template.
I know that Elementor Pro has such a feature. But since you´re doing a great job with the blocks integration my plan is to build the shop without using elementor.
What would be the smartest way to make that happen?
Is there any documentation that you are following?
No
Is there a similar example that we can see?
Different Layouts for each categories
hidden link
hidden link
What is the link to your site?
hidden link
Hello,
There isn't such a built-in feature within Toolset plugins, it needs custom codes, for example:
1) Create three Views WordPress archives, design them differently
https://toolset.com/documentation/getting-started-with-toolset/customize-post-archives/
2) Use filter hook wpv_filter_force_wordpress_archive to trigger a PHP function:
https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_force_wordpress_archive
in this PHP function, check if current archive page is specific term, then return different WordPress Archive ID
https://developer.wordpress.org/reference/functions/is_tax/