A user asks:
showing element when woocommerce attribute selected
I need to show specific video if woocommerce attribute is selected. i have attribute difficulty and there very-easy, easy, moderate, hard and want to show each video on each difficulty level.
WooCommerce Product Attributes are taxonomies and hence it is possible to conditionally output any element based on the value of a product attribute just like we can check against any taxonomy term in Bricks.
Apply this dynamic data condition:

where color is the attribute name and Red is what you want to check for.
:plain filter ensures that hyperlinks are not included in the output.
Any element for which this condition is applied will be output if the condition is met. Ex. when viewing the following single product page:

4 comments
Dale Donnolly
Hi Sridhar, I cannot seem to get this working for Variable Products. Would variable products work any different?
Michał Czajka
i dont know what am i doing wrong, but if i have easy, medium, hard on my product it shows all of them, not selected.
Sridhar Katakam
Need to log into your site, understand the setup to troubleshoot/further advise. But that will be paid consult.
You may want to contact Bricks support instead :)
Michał Czajka
you are the best :)