Как получить атрибуты и их значения, используя одну коллекцию в Magento?Прямо сейчас я использую ниже
$attributesInfo = Mage::getResourceModel('eav/entity_attribute_collection')
->setEntityTypeFilter(4)
->addFieldToFilter('frontend_input','multiselect')
->addSetInfo()
->getData();
, чтобы получить атрибут и ниже код, чтобы получить значение атрибута
$product = Mage::getModel('catalog/product');
$collection = Mage::getResourceModel('eav/entity_attribute_collection')
->setEntityTypeFilter($product->getResource()->getTypeId())
->addFieldToFilter('attribute_code', $attributeName);
Мой код выхода атрибута, как показано ниже
Color :
Black
Blue
Green
Brand :
Hp
Dell
Apple
Size :
12
14
16
Спасибо,
Балан