row = & $this->element;
//$this->setLayout('show_block_img');
//echo $this->loadTemplate();
if(!empty ($this->element->images)){
$image = reset($this->element->images);
}
$height = $this->config->get('product_image_y');
$width = $this->config->get('product_image_x');
if(empty($height)) $height=$this->config->get('thumbnail_y');
if(empty($width)) $width=$this->config->get('thumbnail_x');
$divWidth=$width;
$divHeight=$height;
$this->image->checkSize($divWidth,$divHeight,$image);
//echo $this->image->display($image->file_path,true,$image->file_name,'id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link"');
//echo $this->image->display($image->file_path,'hikashop_main_image_'.$variant_name,$image->file_name,'class="hikashop_child_image"');
?>
#i','',$this->element->product_description));?>
element->product_id && isset ($this->element->main->product_name)) echo $this->element->main->product_name; else echo $this->element->product_name; ?>
element->subtitle;?>
element->product_code; ?>
.*#is','',$this->element->product_description); ?>
setLayout('listing_price');
//echo ''.$this->loadTemplate();
$pricewithtax=$this->element->prices[0]->price_value_with_tax;
$formattedpricewithtax=number_format($pricewithtax,2,",",".");
$availability=$this->element->product_quantity;
if ($availability>0):
$availabilityCheck="Αμεσα διαθεσιμο";
else:
$availabilityCheck="Κατ'οπιν παραγγελιας";
endif;
?>
Τιμή από =$formattedpricewithtax;?>€
=$availabilityCheck?>
params->get('show_price')) {
$this->row = & $this->element;
//$this->setLayout('listing_price');
//echo $this->loadTemplate();
}
?>
setLayout('show_block_characteristic');
echo $this->loadTemplate();
?>
element->product_width;
$formatted_product_width=number_format($product_width,2,",",".");
$product_length=$this->element->product_length;
$formatted_product_length=number_format($product_length,2,",",".");
?>
params->get('add_to_cart') || $this->params->get('add_to_wishlist')){
$this->setLayout('add_to_cart_listing');
echo $this->loadTemplate();
}
?>
=JHTML::_('content.prepare',preg_replace('#
#i','',$this->element->product_description));?>