Magento: Category WYSIWYG Editor Image not displaying on custom page
-
05-10-2020 - |
Soluzione
replace your code with
<?php
$_description = Mage::getModel('catalog/layer')->getCurrentCategory()->getDescription();
echo $this->helper('catalog/output')->categoryAttribute($_category, $_description, 'description');
?>
Altri suggerimenti
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"}}" />' ?>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange