I just wandered if there was some way to add an if statement to the category description on tpl_index_product_list.php
The reason for this is that I have a layout for category description text and the filter box set and it looks good but I have some categories that do not have any description on at all and then it looks awful
How would I add an if statement to the following code
PHP Code:
<!-- categories_description bof -->
<?php
// categories_description
if ($current_categories_description != '') {
?>
<div id="indexProductListCatDescription" class="content"><?php echo $current_categories_description; ?></div>
<?php } // categories_description ?>
<!-- categories_description eof -->
i.e. if category description not empty show my custom layout.
else do not show category description area but just show the product list
Please see attached image for more information