А что вырезать не подскажите? Вот файл. Так же во вложениях
<?php echo $header; ?>
<section id="product_top">
<div class="wrapper">
<div class="left">
<?php if ($thumb || $images) { ?>
<script type="text/javascript" src="catalog/view/theme/even/js/simple-lightbox.min.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/even/css/simplelightbox.css">
<link rel="stylesheet" type="text/css" href="catalog/view/theme/even/css/owl.carousel.css">
<script src="catalog/view/theme/even/js/owl.carousel.js"></script>
<script src="catalog/view/theme/even/js/owl.carousel2.thumbs.js"></script>
<script>
$(function(){
var gallery = $('.gallery a').simpleLightbox();
});
</script>
<div class="gallery">
<script type="text/javascript">
$(function() {
$("#w<?php echo $product_id; ?>").click(function() {
$(this).addClass("active");
});
});
</script>
<button type="button" onclick="wishlist.add('<?php echo $product_id; ?>');" class="fav" id="w<?php echo $product_id; ?>"></button>
<?php if ($images) { ?>
<div id="owlpr" class="owl-carousel">
<?php if ($thumb) { ?><div class="item"><a href="<?php echo $thumb; ?>"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" title="<?php echo $heading_title; ?>"></a></div><?php } ?>
<?php foreach ($images as $image) { ?>
<div class="item"><a href="<?php echo $image['thumb']; ?>"><img src="<?php echo $image['thumb']; ?>" alt="<?php echo $heading_title; ?>" title="<?php echo $heading_title; ?>"></a></div>
<?php } ?>
</div>
<?php } else { ?>
<?php if ($thumb) { ?><div class="item"><a href="<?php echo $thumb; ?>"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" title="<?php echo $heading_title; ?>"></a></div><?php } ?>
<?php } ?>
<script>
$(document).ready(function() {
$('#owlpr').owlCarousel({
items: 1,
loop: true,
margin: 10,
nav: true,
autoplay: false,
responsiveClass: true,
animateOut: 'fadeOut',
thumbs: true,
thumbImage: true,
thumbContainerClass: 'owl-thumbs',
thumbItemClass: 'owl-thumb-item'
})
})
</script>
</div>
<?php } ?>
</div>
<div class="right">
<div class="nmpr">
<div class="name"><h1><?php echo $heading_title; ?></h1></div>
<?php if ($price) { ?>
<div class="prtop">
<?php if (!$special) { ?>
<div class="price"><?php echo $price; ?></div>
<?php } else { ?>
<div class="price"><?php echo $special; ?> <span class="old"><?php echo $price; ?></span></div>
<?php } ?>
</div>
<?php } ?>
<!--<?php if ($tax) { ?>
<?php echo $text_tax; ?> <?php echo $tax; ?>
<?php } ?>
<?php if ($points) { ?>
<?php echo $text_points; ?> <?php echo $points; ?>
<?php } ?>
<?php if ($discounts) { ?>
<?php foreach ($discounts as $discount) { ?>
<?php echo $discount['quantity']; ?><?php echo $text_discount; ?><?php echo $discount['price']; ?>
<?php } ?>
<?php } ?>-->
</div>
<div class="data">
<div class="code"><span>РљРѕРґ:</span> <?php echo $model; ?></div>
<div class="stock"><?php if (($quantity) <=0) { ?><?php echo $stock_status; ?><?php } else { ?>Есть в наличии<?php } ?></div>
<input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
</div>
<?php if ($options) { ?>
<?php foreach ($options as $option) { ?>
<?php if ($option['type'] == 'select') { ?>
<div class="type">
<div class="name"><?php echo $option['name']; ?></div>
<select name="option[<?php echo $option['product_option_id']; ?>]" id="input-option<?php echo $option['product_option_id']; ?>" class="form-control">
<?php foreach ($option['product_option_value'] as $option_value) { ?>
<option value="<?php echo $option_value['product_option_value_id']; ?>"><?php echo $option_value['name']; ?><?php if ($option_value['price']) { ?><?php } ?></option>
<?php } ?>
</select>
</div>
<?php } ?>
<?php } ?>
<?php } ?>
<div class="qntbut">
<input type="number" value="<?php echo $minimum; ?>" min="<?php echo $minimum; ?>" name="quantity" id="input-quantity" />
<button type="button" id="button-cart" data-loading-text="<?php echo $text_loading; ?>" class="cart">Р’ РєРѕСЂР·РёРЅСѓ</button>
<a id="onebut" class="onec"><span class="ord">Купить в 1 клик</span><span class="oneclose">Отмена</span></a>
</div>
<script type="text/javascript">
$(document).ready(function(){
$("#oneclick").hide();
$(".oneclose").hide();
$('#onebut').click(function(){
if ($("#onebut").hasClass("active")) {
$("#onebut").removeClass("active");
$("#oneclick").slideUp();
$(".oneclose").hide();
$(".ord").show();
} else {
$("#onebut").addClass("active");
$("#oneclick").slideDown();
$(".oneclose").show();
$(".ord").hide();
}
});
});
</script>
<?php if ($attribute_groups) { ?>
<h2>Характеристики</h2>
<ul>
<?php foreach ($attribute_groups as $attribute_group) { ?>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<li><span><?php echo $attribute['name']; ?>:</span></li>
<li><?php echo $attribute['text']; ?></li>
<?php } ?>
<?php } ?>
</ul>
<?php } ?>
</div>
</div>
</section>
<section id="product_des">
<div class="wrapper">
<div class="left" itemprop="description">
<h2>Описание</h2>
<?php echo $description; ?>
<div class="socapi">
<script src="https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js"></script>
<script src="https://yastatic.net/share2/share.js"></script>
<div class="ya-share2" data-services="vkontakte,facebook,odnoklassniki,moimir,gplus" data-counter=""></div>
</div>
</div>
<?php if ($products) { ?>
<div class="right">
<h2>С этим товаром часто покупают</h2>
<div class="list">
<?php $i = 0; ?>
<?php foreach ($products as $product) { ?>
<div class="item">
<div class="pic"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>"></a></div>
<div class="inner">
<div class="topi">
<div class="name"><?php echo $product['name']; ?></div>
<?php if ($product['price']) { ?>
<?php if (!$product['special']) { ?>
<div class="price"><?php echo $product['price']; ?></div>
<?php } else { ?>
<div class="price"><?php echo $product['special']; ?> <span class="old"><?php echo $product['price']; ?></span></div>
<?php } ?>
<?php } ?>
</div>
</div>
</div>
<?php $i++; ?>
<?php } ?>
</div>
</div>
<?php } ?>
</div>
</section>
<?php echo $content_bottom; ?>
<script type="text/javascript"><!--
$('select[name=\'recurring_id\'], input[name="quantity"]').change(function(){
$.ajax({
url: 'index.php?route=product/product/getRecurringDescription',
type: 'post',
data: $('input[name=\'product_id\'], input[name=\'quantity\'], select[name=\'recurring_id\']'),
dataType: 'json',
beforeSend: function() {
$('#recurring-description').html('');
},
success: function(json) {
$('.alert, .text-danger').remove();
if (json['success']) {
$('#recurring-description').html(json['success']);
}
}
});
});
//--></script>
<script type="text/javascript"><!--
$('#button-cart').on('click', function() {
$.ajax({
url: 'index.php?route=checkout/cart/add',
type: 'post',
data: $('#product_top input[type=\'text\'], #product_top input[type=\'hidden\'], #product_top input[type=\'radio\']:checked, #product_top input[type=\'checkbox\']:checked, #product_top select, #product_top textarea'),
dataType: 'json',
beforeSend: function() {
$('#button-cart').button('loading');
},
complete: function() {
$('#button-cart').button('reset');
},
success: function(json) {
$('.alert, .text-danger').remove();
$('.form-group').removeClass('has-error');
if (json['error']) {
if (json['error']['option']) {
for (i in json['error']['option']) {
var element = $('#input-option' + i.replace('_', '-'));
if (element.parent().hasClass('input-group')) {
element.parent().after('<div class="text-danger">' + json['error']['option'] + '</div>');
} else {
element.after('<div class="text-danger">' + json['error']['option'] + '</div>');
}
}
}
if (json['error']['recurring']) {
$('select[name=\'recurring_id\']').after('<div class="text-danger">' + json['error']['recurring'] + '</div>');
}
// Highlight any found errors
$('.text-danger').parent().addClass('has-error');
}
if (json['success']) {
$('.hafter').after('<div class="alert alertfull"><div class="wrapper">' + json['success'] + '<div class="buttons"><button type="button" class="close" data-dismiss="alert">Продолжить покупки</button> <a href="checkout" class="checkout">Оформить заказ</a></div></div>');
$('#cart > button').html(json['total']);
$('#cart > ul').load('index.php?route=common/cart/info ul li');
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
});
//--></script>
<?php echo $footer; ?>
product.tpl