Questionsmagento: how to get custom category attribute values
mmWebetutorial Staff asked 8 months ago

$callSubCatVal = strtolower($_category->getResource()->getAttribute(‘call_to_action’)->getFrontend()->getValue($_category));
$callSubCat = 0;
if($callSubCatVal == ‘get sub categories listing’)
$callSubCat = 1;


Read how to create custom category attribute :

Your Answer
Enter email and password to comment or answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.