params->set('vote_type','product'); if(isset($this->element->main)){ $product_id = $this->element->main->product_id; }else{ $product_id = $this->element->product_id; } $this->params->set('vote_ref_id',$product_id); $this->params->set('productlayout','show_tabular'); $layout_vote_mini = hikashop_getLayout('vote', 'mini', $this->params, $js); $layout_vote_listing = hikashop_getLayout('vote', 'listing', $this->params, $js); $layout_vote_form = hikashop_getLayout('vote', 'form', $this->params, $js); $config =& hikashop_config(); $status_vote = $config->get('enable_status_vote'); $hide_specs = 1; if($this->element->product_manufacturer_id != 0 || $this->element->product_weight != 0 || $this->element->product_width != 0 || $this->element->product_height != 0 || $this->element->product_length != 0 || @$this->element->main->product_weight != 0 || @$this->element->main->product_width != 0 || @$this->element->main->product_height != 0 || @$this->element->main->product_length != 0) $hide_specs = 0; foreach ($this->fields as $fieldName => $oneExtraField) { $value = ''; if(empty($this->element->$fieldName) && !empty($this->element->main->$fieldName))$this->element->$fieldName = $this->element->main->$fieldName; if(isset($this->element->$fieldName)) $value = trim($this->element->$fieldName); if(!empty($value)){ $hide_specs = 0; break; } } ?>
element->extraData->topBegin)) { echo implode("\r\n",$this->element->extraData->topBegin); } ?>

element->product_id && isset ($this->element->main->product_name)) echo $this->element->main->product_name; else echo $this->element->product_name; ?> config->get('show_code')) { ?> element->product_code; ?>

element->extraData->topEnd)) { echo implode("\r\n",$this->element->extraData->topEnd); } ?> setLayout('show_block_social'); echo $this->loadTemplate(); ?>
element->extraData->leftBegin)) { echo implode("\r\n",$this->element->extraData->leftBegin); } $this->row = & $this->element; $this->setLayout('show_block_img'); echo $this->loadTemplate(); ?>
element->product_description)){ $resume = substr(strip_tags(preg_replace('#
.*#is','',$this->element->product_description)),0,300); if (!empty($this->element->product_description) && strlen($this->element->product_description)>300) $resume .= " ...".JText::_('READ_MORE').""; echo JHTML::_('content.prepare',$resume); } ?>
element->extraData->leftEnd)) { echo implode("\r\n",$this->element->extraData->leftEnd); } ?>
element->extraData->rightBegin)) echo implode("\r\n",$this->element->extraData->rightBegin); ?> params->get('show_price')) { $this->row = & $this->element; $this->setLayout('listing_price'); echo $this->loadTemplate(); } ?>
params->get('show_vote_product') == '-1'){ $this->params->set('show_vote_product',$config->get('show_vote_product')); } if($this->params->get('show_vote_product')){ echo $layout_vote_mini; } ?>
params->get('characteristic_display')!='list'){ $this->setLayout('show_block_characteristic'); echo $this->loadTemplate(); ?>
config->get('ajax_add_to_cart', 1)) { $form = ',\'hikashop_product_form\''; } if (hikashop_level(1) && !empty ($this->element->options)) { ?>
setLayout('option'); echo $this->loadTemplate(); ?>

config->get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?> params->get('catalogue') && ($this->config->get('display_add_to_cart_for_free_products') || ($this->config->get('display_add_to_wishlist_for_free_products', 1) && hikashop_level(1) && $this->params->get('add_to_wishlist') && $config->get('enable_wishlist', 1)) || !empty ($this->element->prices))) { if (!empty ($this->itemFields)) { $form = ',\'hikashop_product_form\''; if ($this->config->get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?> setLayout('show_block_custom_item'); echo $this->loadTemplate(); } } $this->formName = $form; if($this->params->get('show_price')){ ?> config->get('product_contact',0); ?>
element->product_contact)))) { $empty = ''; $params = new HikaParameter($empty); global $Itemid; $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&Itemid='.$Itemid; } echo $this->cart->displayButton(JText :: _('CONTACT_US_FOR_INFO'), 'contact_us', $params, hikashop_completeLink('product&task=contact&cid=' . $this->element->product_id.$url_itemid), 'window.location=\'' . hikashop_completeLink('product&task=contact&cid=' . $this->element->product_id.$url_itemid) . '\';return false;'); } ?>
element->extraData->rightMiddle)) echo implode("\r\n",$this->element->extraData->rightMiddle); ?>
element->characteristics) || $this->params->get('characteristic_display')!='list'){ ?>
row = & $this->element; $this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this->row->product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this->setLayout('quantity'); echo $this->loadTemplate(); ?>
setLayout('show_block_product_files'); echo $this->loadTemplate(); if(HIKASHOP_J30) { $this->setLayout('show_block_tags'); echo $this->loadTemplate(); } if(!empty($this->element->extraData->rightEnd)) echo implode("\r\n",$this->element->extraData->rightEnd); ?>
element->extraData->bottomBegin)) echo implode("\r\n",$this->element->extraData->bottomBegin); ?>
#i','',$this->element->product_description)); ?>
element->product_url)) { echo JText :: sprintf('MANUFACTURER_URL', '' . $this->element->product_url . ''); } ?>
setLayout('show_block_dimensions'); echo $this->loadTemplate(); if(!empty($this->fields)){ $this->setLayout('show_block_custom_main'); echo $this->loadTemplate(); } ?>
element->extraData->bottomMiddle)) echo implode("\r\n",$this->element->extraData->bottomMiddle); ?>
element->extraData->bottomEnd)) echo implode("\r\n",$this->element->extraData->bottomEnd); ?>