move category description on product listing

  • Posts: 15
  • Thank you received: 0
10 years 8 months ago #149510

How to move the category description on a product listing menu from the top of the page to the bottom of the page. see screenshot.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 8 months ago #149521

Hello,
The solution will probably be to :
- Go to "Hikashop->Display->Views"
- Edit the "Listing" file of the "category" view of your front-end template
- Move these lines :

  if($this->params->get('show_description',1)&&!empty($this->element->category_description)){
      ?>
      <div class="hikashop_category_description_content">
      <?php echo JHTML::_('content.prepare',$this->element->category_description); ?>
      </div>
      <?php
    }
Just after these lines :
if(!empty($html)){ ?>
  <div id="<?php echo $this->params->get('main_div_name');?>" class="hikashop_category_information hikashop_categories_listing_main">
    <?php echo $html; ?>
  </div>
<?php } 

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum