Здравствуйте
работаю вот с этим шаблоном
http://demo.smartaddons.com/#sj-topdealтам стоит zoom в карточке товара
как бы его отключить, нужен обычный Lightbox.
подскажите, пожалуйста
код прикладываю
<div class="product-image col-xs-12 col-sm-6 col-md-5">
<div class="image_middle large-image">
<?php print $this->_tmp_product_html_before_image;?>
<?php if ($product->label_id){?>
<div class="product_label">
<?php print $product->_label_name;?>
</div>
<?php }?>
<span id='list_product_image_middle'>
<?php print $this->_tmp_product_html_body_image?>
<?php if(!count($this->images)){?>
<img id = "main_image" src = "<?php print $this->image_product_path?>/<?php print $this->noimage?>" alt = "<?php print htmlspecialchars($this->product->name)?>" />
<?php }?>
<?php foreach($this->images as $k=>$image){?>
<div class="image_full" id="main_image_full_<?php print $image->image_id?>" <?php if ($k!=0){?>style="display:none"<?php }?>>
<?php //Create placeholder items images
$src = ($this->image_product_path.'/'.$image->image_name);
if (file_exists($src) || @getimagesize($src)!== false) {
$full_img = '<img src="'.$src.'" alt="'.htmlspecialchars($image->_title).'" />';
}else {
$full_img = yt_placehold($placehold_size['product_detail']);
}
?>
<?php echo $full_img; ?>
</div>
<?php }?>
</span>
<?php print $this->_tmp_product_html_after_image;?>
<?php if ($this->config->product_show_manufacturer_logo && $this->product->manufacturer_info->manufacturer_logo!=""){?>
<div class="manufacturer_logo">
<a href="<?php print SEFLink('index.php?option=com_jshopping&controller=manufacturer&task=view&manufacturer_id='.$this->product->product_manufacturer_id, 2);?>">
<img src="<?php print $this->config->image_manufs_live_path."/".$this->product->manufacturer_info->manufacturer_logo?>" alt="<?php print htmlspecialchars($this->product->manufacturer_info->name);?>" border="0" />
</a>
</div>
<?php }?>
</div>
<div class="additional-images yt-carousel">
<div id="thumb-slider" class="jCarouselLite">
<?php print $this->_tmp_product_html_before_image_thumb;?>
<!--<span id='list_product_image_thumb'>-->
<?php if ( (count($this->images)>1) || (count($this->videos) && count($this->images)) ) {?>
<?php
$i=0;
?>
<?php foreach($this->images as $k=>$image){?>
<?php $i=$i+1; ?>
<div>
<a class="img" data-index='<?php echo $i; ?>'data-image="<?php print loadImg(($this->image_product_path."/".$image->image_name),'http://placehold.it/83x83');?>" title="<?php print htmlspecialchars($image->_title)?>" ><img class="jshop_img_thumb" src="<?php print loadImg(($this->image_product_path."/".$image->image_thumb),'http://placehold.it/83x83/969696');?>" alt="<?php print htmlspecialchars($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" /> </a>
</div>
<?php }?>
<?php }?>
<!--</span>-->
</div>
<div class="clear"></div>
</div>
</div>
<?php print $this->_tmp_product_html_body_image?>
<?php if(!count($this->images)){?>
<img id="main_image" src="<?php print $this->image_product_path?>/<?php print $this->noimage?>" alt="<?php print htmlspecialchars($this->product->name)?>" />
<?php }?>
<?php foreach($this->images as $k=>$image){?>
<a class="lightbox" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($k!=0){?>style="display:none"<?php }?> title="<?php print htmlspecialchars($image->_title)?>">
<img id = "main_image_<?php print $image->image_id?>" src = "<?php print $this->image_product_path?>/<?php print $image->image_name;?>" alt="<?php print htmlspecialchars($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" />
<div class="text_zoom">
<img src="<?php print $this->path_to_image?>search.png" alt="zoom" /> <?php print _JSHOP_ZOOM_IMAGE?>
</div>
</a>
<?php }?>
<?php if ( (count($this->images)>1) || (count($this->videos) && count($this->images)) ) {?>
<?php foreach($this->images as $k=>$image){?>
<img class="jshop_img_thumb" src="<?php print $this->image_product_path?>/<?php print $image->image_thumb?>" alt="<?php print htmlspecialchars($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" onclick="showImage(<?php print $image->image_id?>)" />
<?php }?>
<?php }?>