Magento 1.8-需要向类别页面显示类别说明
我是Magento nube,很难显示类别描述 我已经包括了下面的代码,任何帮助都将不胜感激Magento 1.8-需要向类别页面显示类别说明,magento,categories,Magento,Categories,我是Magento nube,很难显示类别描述 我已经包括了下面的代码,任何帮助都将不胜感激 <?php if($_description=$this->getCurrentCategory()->getDescription()): ?> <div class="category-description std">![enter image description here][1] <?php echo $_helper->categor
<?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
<div class="category-description std">![enter image description here][1]
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
</div>
<?php endif; ?>
![在此处输入图像描述][1]
如果没有类别实例,可以尝试
<?php echo Mage::registry('current_category')->getDescription()?>
您的上述代码似乎正确,是否尝试重新索引并清除缓存?