Skip to main content

description bellow the category

More
9 years 9 months ago #257790 by francota
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5

Hello
I wuold like to move the description in category listing bellow the category
Yuo can see in the image here

Thanks
Frank

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

More
9 years 9 months ago #257793 by nicolas
Hi,

You can do that by editing the file "listing" of the view "category" via the menu Display>Views and moving the code:
Code:
if(($this->params->get('show_image') && !empty($this->element->file_path))|| ($this->params->get('show_description')&&!empty($this->element->category_description))){ ?> <div class="hikashop_category_description"> <?php if($this->params->get('show_image') && !empty($this->element->file_path)){ jimport('joomla.filesystem.file'); if(JFile::exists($this->image->getPath($this->element->file_path,false))){ ?> <img src="<?php echo $this->image->getPath($this->element->file_path); ?>" class="hikashop_category_image" title="<?php echo $this->escape(@$this->element->file_description); ?>" alt="<?php echo $this->escape(@$this->element->file_name); ?>"/> <?php } } 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 } ?> </div> <?php }
before the line:
$html = ob_get_clean();

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

More
9 years 9 months ago #257841 by francota
perfect
Thank you

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

Time to create page: 0.151 seconds
Powered by Kunena Forum