|
Hi,
We’ve recently upgrade our bliss theme to be compatible with Magento 1.1.7 & 1.1.8 using the full patch of the Modern theme (on which Bliss is based)
One error that we spotted was the category view page edit states:
+<?php + $_helper = $this->helper('catalog/output'); + $_category = $this->getCurrentCategory(); + $_imgHtml = ''; + if ($_imageUrl = $_category->getImageUrl()) { + $_imgHtml = '<img src="'.$_imageUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" class="category-image" />'; + $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image'); + } +?>
and then further we add
+ <?php if($_imageUrl): ?> + <?php echo $_imageHtml ?>
This gives an error as $_imageHtml is not defined.
We’re assuming that:
+ $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
should actually be:
+ $_imageHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
We hope that this is correct and that the information is useful to someone.
Regards
Cube Websites
|