Hey Guys,
I'm a bit stuck on the following:
I'd like to create a function (or use it if it's already there and i've missed it) for returning whether a product has a certain variation attribute attached to it (boolean would be fine). As a simplified example: I have a "size" attribute value type, if a product has an "XL" attribute value allocated to it under "size" in a set variation, I would want the function to return true.
Hopefully someone has got a solution for me - thanks in advance!