Conditional Badge

Hi everybody,

on my WooCommerce shop, I have a custom product loop item. In this item, there can be different badges that describe the product, like if it’s customizable or if it is a variable product.

My question is, how can the conditions of Bricks Builder be used to determine if the product has variations or not?