How to check if attribute exist in product attribute set?
I need to know if a product has an attribute for its set of attributes.
I get the attribute with:
$attrPricekg = Mage::getModel('catalog/product')->load($_product->…
I am trying to get attribute set name in Magento product view template. I can get attribute value by $_product->getAttributeText('attribute'), but how do I get attribute set name?
I would like to display an attribute only if …
I've been grabbing attribute options from Magento like so:
<?php
if ($attribute->usesSource()) {
$options = $attribute->getSource()->getAllOptions(false);
}
?>
It's been working fine until I tried to get the options for the built in 'color' …