First log into admin and Configuration and then product listing
Make sure these are set to true (they are at the bottom)
Include Product Listing Sub Categories Image true
Include Product Listing Top Categories Image true
Then open your
includes/templates/the name of your template/templates/tpl_index_categories.php
locate this code
<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php } ?>
and just below that make sure this code is there just like this
<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
// categories_image
if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<br /><br />
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
}
} // categories_image
?>
Ok, GOT IT!
When I pasted in usernamenone's script and reloaded the page, I noticed that I had the "categoryImgListing" div in there twice, but one was in my category description for some reason, and the other was hidden via CSS (my fault!). So I deleted the extra one, adjusted the CSS and there it was!
Thanks to usernamenone and RescoCCC for your help!
Bookmarks