woocommerce show attribute description when selecting a variable
- by user2916995
I'm trying to figure out a way to display custom text based on the users selection of the variable product.
The attribute is 'pricing' and the tag is deposit - which I've added a text description to when adding the attribute. So I'm trying to make this text appear when the user selects 'deposit'
But the code I'm using in…