Wednesday, August 23, 2017

Get Custom Category Attribute Magento

Get Custom Category Attribute Magento 2


Try something like that:

 $category_attribute = Mage::getResourceModel('catalog/category')->getAttributeRawValue($category->getId(), 'premium_banner', Mage::app()->getStore()->getId());  

No comments:

Post a Comment