0
我跟着下面的教程将自定义属性添加到我的Magento类别: http://www.atwix.com/magento/add-category-attribute/Magento - 在类别页面上打印类别属性?
它似乎已经做了文本字段显示在后台,我可以看到在数据库(eav_attribute)的属性。
问题是我无法获得在前端显示的属性。我已经将本教程中建议的代码添加到了view.phtml中,但没有奏效。
我也曾尝试
if($_category->getCustomAttribute()) {
echo $_category->getCustomAttribute();
}
任何想法得到这个在Magento 1.7显示?