element)) { $app = & JFactory :: getApplication(); $app->enqueueMessage(JText :: _('PRODUCT_NOT_FOUND')); } else { ?>
setLayout($this->productlayout); echo $this->loadTemplate(); ?>
config->get('product_contact',0); ?> element->variants)){ if(hikashop_level(1) && !empty($this->element->options)){ $priceUsed = 0; 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) { $this->row = & $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)){ $priceUsed = 0; 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'); } } ?>