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

element->product_code; ?>

getByName('content','hikashopsocial'); if(@$plugin->published || @$plugin->enabled){ echo '{hikashop_social}'; } ?>
element->product_name; ?>
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"'); } } } ?>
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.' '.JText::_($this->element->product_weight_unit); ?>
config->get('dimensions_display',0) && bccomp($this->element->product_width,0,3)){ ?> element->product_width.' '.JText::_($this->element->product_dimension_unit); ?>
config->get('dimensions_display',0) && bccomp($this->element->product_length,0,3)){ ?> element->product_length.' '.JText::_($this->element->product_dimension_unit); ?>
config->get('dimensions_display',0) && bccomp($this->element->product_height,0,3)){ ?> element->product_height.' '.JText::_($this->element->product_dimension_unit); ?>
element->characteristics)){ ?>characteristic->displayFE($this->element,$this->params); ?>
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);?> fieldsClass->display($oneExtraField,$this->element->$fieldName,'data[item]['.$oneExtraField->field_namekey.']'); ?>
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(); ?> #i','',$this->element->product_description)); ?> 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); ?>
element->product_url)){ echo JText::sprintf('MANUFACTURER_URL',''.$this->element->product_url.''); } ?>
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){ 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){ 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)){?> 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'); } } ?>