I have created module that add custom attribute in Manage Categories section. Say My custom category attribute is category_sku
, and it is a text field.
I see that the value of my custom attribute is stored in catalog_category_entity_text
table.
But how to populate all the values of it?
I tried using the below code, but it return NULL.
Mage::getSingleton('eav/config')->getAttribute('catalog_category', 'category_sku')->getValue();
Best Answer
I'm doing it in phtml file like this way
That way I can populate all my custom category attribute values which is
category_sku
:).And this will make it to a select option list.