Tell us what you are trying to do? Create a universal product description block.
Is there any documentation that you are following? No
Is there a similar example that we can see? No
What is the link to your site? lien caché
--
Hello guys,
We use Pro (Themeco) and we can create Global Blocks with our theme.
Using this tool we have created Global Blocks that we've used in our WooCommerce Product Descriptions. This allow us to have a block that, for example, describe the brand of the product. We can then re-use this block on different products of the same brand. When we want to make changes to the block, it is updated for all the different products at once.
We have however to put the blocks manually and we would like to be more clever about this. Our goal would be that if the product is in category "X", then block "X" is added in the description. We may also want to use attributes, so if the product has the attribute "Y", then block "Y" is added.
Is there an approach to achieve this with Toolset, maybe using a custom View?
If you could put me on the right path that would be fantastic!
Thank you