I have created a new category attribute using a setup script and now it is showing on the backend and assigned values (it is just a boolean attribute). the attribute name on EAV entity table is is_home_category
.And now I'm trying to get its values on frontend
$categories = $this->getStoreCategories(true, true, true);
foreach ($categories as $category):
echo $category->getIsHomeCategory()
endforeach;
But it returns nothing , could someone help me