The meta_value of a particular attribute list holds the name of an image. Is there a way I can access the list of meta_values for an attribute? This gives me all the names but I need the meta_values as well:
global $product;
$stain=$product->get_attribute('pa_stain-color');
echo $stain;
How can I get the meta_values? I've tried a number of variants on this but simply cannot get the meta_values.