Total Posts: 4
I use one mod called “Color Swatch”, on a view page all the custom params are set required, but in config of this attribute isn’t.
This is the code:
$_product = $this->getProduct();
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
if ($_product->isSaleable() && count($_attributes)):
foreach ($_attributes as $_attribute):
$require = $_attribute->something(); // This function i need
On Magento have somehow to get the value of the field required at attribute?