I'm looking for a snippet to display attribute value id of a product on a products list page, I already use this piece of code to display attributes values but I need to get their ID number:
$attributeValue = Mage::getModel('catalog/product')->load($_product->getId())->getAttributeText('icontags');
Example:
Attribute: Color
Value: red
Value Id: 580