params->get('main_div_name', '');
$link = hikashop_contentLink('product&task=show&cid=' . (int)$this->row->product_id . '&name=' . $this->row->alias . $this->itemid . $this->category_pathway, $this->row);
$haveLink = (int)$this->params->get('link_to_product_page', 1);
if(!empty($this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); }
?>
config->get('thumbnail', 1)) {
?>
image->getThumbnail(
@$this->row->file_path,
array('width' => $this->image->main_thumbnail_x, 'height' => $this->image->main_thumbnail_y),
array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'))
);
if($img->success) {
echo '
';
}
if($this->params->get('display_badges', 1)) {
$this->classbadge->placeBadges($this->image, $this->row->badges, -10, 0);
}
?>
row->product_description) > $limit) {
echo (substr(str_replace("
","
",$this->row->product_description), 0, $limit)) . " ...
";
}
else {
echo $this->row->product_description;
}
?>
params->get('show_price','-1')=='-1'){
$config =& hikashop_config();
$this->params->set('show_price',$config->get('show_price'));
}
if($this->params->get('show_price')){
$this->setLayout('listing_price');
echo $this->loadTemplate();
}
?>
row->product_name; ?>
config->get('show_code')) { ?>
row->product_code; ?>
productFields)) {
foreach($this->productFields as $fieldName => $oneExtraField) {
if(empty($this->row->$fieldName) && (!isset($this->row->$fieldName) || $this->row->$fieldName !== '0'))
continue;
if(!empty($oneExtraField->field_products)) {
$field_products = is_string($oneExtraField->field_products) ? explode(',', trim($oneExtraField->field_products, ',')) : $oneExtraField->field_products;
if(!in_array($this->row->product_id, $field_products))
continue;
}
?>
row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); } ?>
params->get('show_vote_product')) {
$this->setLayout('listing_vote');
echo $this->loadTemplate();
}
?>
params->get('add_to_cart') || $this->params->get('add_to_wishlist')) {
$this->setLayout('add_to_cart_listing');
echo $this->loadTemplate();
}
?>
params->get('show_compare')) {
$css_button = $this->config->get('css_button', 'hikabtn');
$css_button_compare = $this->config->get('css_button_compare', 'hikabtn-compare');
?>
params->get('show_compare') == 1) {
?>
row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); }
if($this->rows[0]->product_id == $this->row->product_id) {
$css = '';
if((int)$this->image->main_thumbnail_y>0){
$css .= '
#'.$mainDivName.' .hikashop_product_image { height:'.(int)$this->image->main_thumbnail_y.'px; }';
}
if((int)$this->image->main_thumbnail_x>0){
$css .= '
#'.$mainDivName.' .hikashop_product_image_subdiv { width:'.(int)$this->image->main_thumbnail_x.'px; }';
}
$doc = JFactory::getDocument();
$doc->addStyleDeclaration($css);
}