Magento: Category WYSIWYG Editor Image not displaying on custom page
-
05-10-2020 - |
解決
replace your code with
<?php
$_description = Mage::getModel('catalog/layer')->getCurrentCategory()->getDescription();
echo $this->helper('catalog/output')->categoryAttribute($_category, $_description, 'description');
?>
他のヒント
Try this code:-
$_cmsHelper = Mage::helper('cms');
$_process = $_cmsHelper->getBlockTemplateProcessor();
echo $_process->filter($category_description);
you can try this:
<?php echo '<img alt="" src="{{media url="wysiwyg/category_quality_image/em1.jpg"}}" />' ?>
所属していません magento.stackexchange