Hi, I have a Toolset View with a query to retrieve all WooCommerce products.
When I use this Toolset View shortcode on a regular page or post, it works fine. However, if I use it into a Brizy Template assigned to all posts of a taxonomy (also created with Toolset), I get a blank page with an infinite loop.
Any idea why? Thanks.
Hi, welcome to Toolset support.
It might be either an infinite loop problem or a compatibility issue with Brizy.
If the Brizy template is assigned to all posts within a taxonomy and contains a Toolset View retrieving all WooCommerce products, the template might be recursively calling itself.
Check if the View is set to query the same taxonomy as the template. If so, try adding a query filter to exclude the current post/taxonomy.
Also try this method:
Instead of placing the View shortcode directly into the Brizy template, try embedding it inside a Toolset Content Template first, then add the Content Template inside the Brizy template.
If none of the methods above work, then you will need to avoid adding view inside the Brizy template and use Toolset content templates instead.
Thanks.