element)){ $app =& JFactory::getApplication(); $app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND')); }else{ ?>

element->product_name; ?>

getByName('content','hikashopsocial'); if(@$plugin->published || @$plugin->enabled){ echo '{hikashop_social}'; } ?>
element->images)){ $image = reset($this->element->images); if(!$this->config->get('thumbnail')){ echo ''.$image->file_name.''; }else{ $height = $this->config->get('thumbnail_y'); $style=''; if(count($this->element->images)>1){ if(!empty($height)){ $style=' style="height:'.($height+5).'px;"'; } } ?>
> 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"'); ?>
element->images)>1){ foreach($this->element->images as $image){ echo $this->image->display($image->file_path,'hikashop_main_image',$image->file_name,'class="hikashop_child_image"'); } } } ?>
element->product_code; ?> params->get('show_price')){ $this->row =& $this->element; $this->setLayout('listing_price'); echo $this->loadTemplate(); } ?>
element->product_weight) && bccomp($this->element->product_weight,0,3)){ ?> element->product_weight,'0'),',.').' '.JText::_($this->element->product_weight_unit); ?>
config->get('dimensions_display',0) && bccomp($this->element->product_width,0,3)){ ?> element->product_width,'0').' '.JText::_($this->element->product_dimension_unit); ?>
config->get('dimensions_display',0) && bccomp($this->element->product_length,0,3)){ ?> element->product_length,'0').' '.JText::_($this->element->product_dimension_unit); ?>
config->get('dimensions_display',0) && bccomp($this->element->product_height,0,3)){ ?> element->product_height,'0').' '.JText::_($this->element->product_dimension_unit); ?>
element->characteristics)){ ?>
characteristic->displayFE($this->element,$this->params); ?>

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') || !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'){ ?>
itemFields as $fieldName => $oneExtraField) { ?>
fieldsClass->getFieldName($oneExtraField);?> field_type=='radio') $onWhat='onclick'; ?> fieldsClass->display($oneExtraField,$this->element->$fieldName,'data[item]['.$oneExtraField->field_namekey.']',false,' '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\'item\',0);"'); ?>
row =& $this->element; $this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\''.$this->row->product_id.'\',field,1'.$form.'); } else { return false; }'; $this->setLayout('quantity'); echo $this->loadTemplate(); ?>
config->get('product_contact',0); ?>
element->product_contact)))){ $empty=''; $params = new JParameter($empty); echo $this->cart->displayButton(JText::_('CONTACT_US_FOR_INFO'),'contact_us',$params,hikashop_completeLink('product&task=contact&cid='.$this->row->product_id),'window.location=\''.hikashop_completeLink('product&task=contact&cid='.$this->row->product_id).'\';return false;'); } ?>
fields)){?>

fieldsClass->prefix = ''; foreach($this->fields as $fieldName => $oneExtraField) { if(!empty($this->element->$fieldName)){ ?>
fieldsClass->getFieldName($oneExtraField);?> fieldsClass->show($oneExtraField,$this->element->$fieldName); ?>
#i','',$this->element->product_description)); ?>
element->product_url)){ echo JText::sprintf('MANUFACTURER_URL',''.$this->element->product_url.''); } ?>
element->files)){ $skip = true; foreach($this->element->files as $file){ if($file->file_free_download) $skip = false; } if(!$skip){ ?>
'. JText::_('DOWNLOADS').''; foreach($this->element->files as $file){ if(empty($file->file_name)){ $file->file_name = $file->file_path; } $fileHtml = ''; if(!empty($file->file_free_download)){ $fileHtml = ''.$file->file_name.'
'; } $html[]=$fileHtml; } echo implode('
',$html); ?>
element->variants)){ if(hikashop_level(1) && !empty($this->element->options)){ if(!empty($this->row->prices)){ foreach($this->row->prices as $price){ if(isset($price->price_min_quantity) && empty($this->cart_product_price)){ if($price->price_min_quantity<=1){ if($this->params->get('price_with_tax')){ $priceUsed = $price->price_value_with_tax; }else{ $priceUsed = $price->price_value; } echo ' '; } } } } } }else{ foreach($this->element->variants as $variant){ $variant_name = array(); if(!empty($variant->characteristics)){ foreach($variant->characteristics as $k => $ch){ $variant_name[]=$ch->characteristic_id; } } $variant_name = implode('_',$variant_name); if(!empty($variant->images)){ ?> element->options)){ if(!empty($this->row->prices)){ foreach($this->row->prices as $price){ if(isset($price->price_min_quantity) && empty($this->cart_product_price)){ if($price->price_min_quantity<=1){ if($this->params->get('price_with_tax')){ $priceUsed = $price->price_value_with_tax; }else{ $priceUsed = $price->price_value; } echo ' '; } } } } } ?> product_weight) && bccomp($variant->product_weight,0,3)){ ?> config->get('dimensions_display',0)){ if(isset($variant->product_width) && bccomp($variant->product_width,0,3)){ ?> product_length) && bccomp($variant->product_length,0,3)){ ?> product_height) && bccomp($variant->product_height,0,3)){ ?> fields)){?> files)){ $skip = true; foreach($variant->files as $file){ if($file->file_free_download) $skip = false; } if(!$skip){ ?> params->set('show_price_weight',0); ?>
modules) && is_array($this->modules)){ jimport('joomla.application.module.helper'); foreach($this->modules as $module){ echo JModuleHelper::renderModule($module); } } ?>
get('comments_feature') == 'jcomments'){ $comments = HIKASHOP_ROOT.'components'.DS.'com_jcomments'.DS.'jcomments.php'; if (file_exists($comments)) { require_once($comments); echo JComments::showComments($this->element->product_id, 'com_hikashop', $this->element->product_name); } }elseif($config->get('comments_feature') == 'jomcomment'){ $comments = HIKASHOP_ROOT.'plugins'.DS.'content'.DS.'jom_comment_bot.php'; if (file_exists($comments)) { require_once($comments); echo jomcomment($this->element->product_id, 'com_hikashop'); } } ?>