Custom attribute only displays on screen in admin mode
Permalink
I have a custom attribute (rating) attached to a page type.
When I call it from a custom block template (page_list) it displays fine when I am logged in as admin, but when I log out, it is gone.
When I call it from a custom block template (page_list) it displays fine when I am logged in as admin, but when I log out, it is gone.
$rh = Loader::helper('rating'); $value = $cobj->getCollectionAttributeValue('review_rating'); echo $rh->outputDisplay($value);