Hello I have created one dropdown attribute with code "custom_collection"
I want to show it on product listing page under each product so in list.phtml file i added this code
$attr_m = $_product->getData('custom_collection');
echo $attr_m;
It returns some id but its not showing the attribute value