module && isset($this->element->category_canonical) && !empty($this->element->category_canonical)){
$canonicalUrl = hikashop_cleanURL($this->element->category_canonical);
$doc = JFactory::getDocument();
$doc->addCustomTag( '' );
}
if(hikashop_level(2) && JRequest::getVar('hikashop_front_end_main',0) && JRequest::getVar('task')=='listing' && $this->params->get('show_compare')) {?>
module){
$title = 'showtitle';
$titleType = 'h2 class="JMModuleTitle"';
}
if($this->params->get($title) && JRequest::getVar('hikashop_front_end_main',0) && (!$this->module || $this->pageInfo->elements->total)){
$name = $this->params->get('page_title');
if($this->module){
$name = $this->params->get('title');
}elseif($this->params->get('page_heading')){
$name = $this->params->get('page_heading');
}
?>
< >
>
params->get('show_image') && !empty($this->element->file_path))|| ($this->params->get('show_description',!$this->module)&&!empty($this->element->category_description))){
?>
params->get('show_image') && !empty($this->element->file_path)){
jimport('joomla.filesystem.file');
if(JFile::exists($this->image->getPath($this->element->file_path,false))){
?>
; ?>)
params->get('show_description',!$this->module)&&!empty($this->element->category_description)){
?>
element->category_description); ?>
fields)){?>
fieldsClass->prefix = '';
foreach($this->fields as $fieldName => $oneExtraField) {
if(!empty($this->element->$fieldName)){ ?>
params->get('display_filters', -1);
if($display_filters=='-1'){
$config =& hikashop_config();
$display_filters=$config->get('show_filters');
}
if(hikashop_level(2) && JRequest::getVar('hikashop_front_end_main',0) && JRequest::getVar('task','listing')=='listing' && $display_filters=='1'){
$this->setLayout('filter');
$htmlFilter = $this->loadTemplate();
}
if(!empty($htmlFilter)&&@$_GET['task']!='category') echo $htmlFilter;
$filter_type = (int)$this->params->get('filter_type');
$layout_type = $this->params->get('layout_type');
if(empty($layout_type)) $layout_type = 'div';
if($filter_type !== 3) {
$this->setLayout('listing');
$html = $this->loadTemplate($layout_type);
if(!$this->module) echo $mainInfo;
if(!empty($html)){
if($this->module) echo $mainInfo;
if(!empty($htmlFilter) && @$_GET['task']=='category')
echo $htmlFilter;
?>
params->get('show_compare')) {
?>
cart->displayButton(JText::_('COMPARE_PRODUCTS'),'compare_button',$params,'#','compareProducts();return false;','style="display:none;" id="hikashop_compare_button"',0,1,' hikashop_compare_button');
?>
rows) && !empty($this->categories)) {
$allrows = $this->rows;
$pagination = '';
if((!$this->module || JRequest::getVar('hikashop_front_end_main',0)) && $this->pageInfo->elements->total) {
$pagination = $this->config->get('pagination','bottom');
$this->config->set('pagination', '');
}
if((!empty($allrows) || !$this->module || JRequest::getVar('hikashop_front_end_main',0)) && in_array($pagination, array('top','both')) && $this->params->get('show_limit') && $this->pageInfo->elements->total) {
$this->pagination->form = '_top';
?>
params->get('main_div_name');
foreach($this->categories as $category) {
if(empty($category['products']))
continue;
$this->rows = array();
foreach($allrows as $p) {
if(in_array($p->product_id, $category['products']))
$this->rows[] = $p;
}
$this->params->set('main_div_name', $main_div_name.'_'.$category['category']->category_id);
$this->setLayout('listing');
$html = $this->loadTemplate($layout_type);
if(!empty($html)) {
if(!empty($htmlFilter) && @$_GET['task']=='category')
echo $htmlFilter;
?>
category_name; ?>
params->get('show_compare')) {
?>
cart->displayButton(JText::_('COMPARE_PRODUCTS'),'compare_button',$params,'#','compareProducts();return false;','style="display:none;" id="hikashop_compare_button"',0,1,' hikashop_compare_button');
?>
params->set('main_div_name', $main_div_name);
$this->config->set('pagination', $pagination);
if((!empty($allrows) || !$this->module || JRequest::getVar('hikashop_front_end_main',0)) && in_array($pagination,array('bottom','both')) && $this->params->get('show_limit') && $this->pageInfo->elements->total) {
$this->pagination->form = '_bottom';
?>
module){
?>
modules)){
jimport('joomla.application.module.helper');
foreach($this->modules as $module) {
echo JModuleHelper::renderModule($module);
}
}
?>