Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Magento 1.8-需要向类别页面显示类别说明_Magento_Categories - Fatal编程技术网

Magento 1.8-需要向类别页面显示类别说明

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

我是Magento nube,很难显示类别描述

我已经包括了下面的代码,任何帮助都将不胜感激

<?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()?>

您的上述代码似乎正确,是否尝试重新索引并清除缓存?