View Single Post
  #1   IP: 198.255.104.114
Old 2016-10-02, 07:33 PM
Sallisaw Sallisaw is offline
初级会员
 
Join Date: 2008-07-13
Posts: 1
Sallisaw 现在声名狼藉
Default how to get Category description after product listing

The category description is already displayed in the category view page.
You just need to move elements around.
The template you need to modify is this:
app/design/frontend/{package}/{theme}/template/catalog/category/view.phtml.
take this code:
Code:
<?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
    <div class="category-description std">
        <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
    </div>
<?php endif; ?>
and move it at the bottom of the file. That's it.
Reply With Quote