theme_options->get( 'product_image_zoom' ) != 2) { ?>
<script>
$(document).ready(function(){
theme_options->get( 'product_image_zoom' ) == 1) { ?>
$('#image').elevateZoom({
zoomType: "inner",
cursor: "pointer",
zoomWindowFadeIn: 500,
zoomWindowFadeOut: 750
});
$('#image').elevateZoom({
zoomWindowFadeIn: 500,
zoomWindowFadeOut: 500,
zoomWindowOffetx: 20,
zoomWindowOffety: -1,
cursor: "pointer",
lensFadeIn: 500,
lensFadeOut: 500,
});
$('.thumbnails a').click(function() {
var smallImage = $(this).attr('data-image');
var largeImage = $(this).attr('data-zoom-image');
var ez = $('#image').data('elevateZoom');
$('#ex1').attr('href', largeImage);
ez.swaptheimage(smallImage, largeImage);
return false;
});
});
</script>
if ($this->theme_options->get( 'product_image_size' ) == 1) {
$image_grid = 4; $product_center_grid = 8;
}
if ($this->theme_options->get( 'product_image_size' ) == 3) {
$image_grid = 8; $product_center_grid = 4;
}
?>
0) { ?>
if(isset($wyniki[1][0])) { echo $wyniki[1][0]; } else { echo 0; } ?>
theme_options->get( 'product_social_share' ) != '0') { ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'status' ) == 1) { ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'heading' ) != '') { ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'heading' ); ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'text' )); ?>
$language_id = $this->config->get( 'config_language_id' );
$tabs = array();
$tabs[] = array(
'heading' => $tab_description,
'content' => 'description',
'sort' => 1
);
if ($attribute_groups) {
$tabs[] = array(
'heading' => $tab_attribute,
'content' => 'attribute',
'sort' => 3
);
}
if ($review_status) {
$tabs[] = array(
'heading' => $tab_review,
'content' => 'review',
'sort' => 5
);
}
if(is_array($this->config->get('product_tabs'))) {
foreach($this->config->get('product_tabs') as $tab) {
if($tab['status'] == 1 || $tab['product_id'] == $product_id) {
foreach($tab['tabs'] as $zakladka) {
if($zakladka['status'] == 1) {
$heading = false; $content = false;
if(isset($zakladka[$language_id])) {
$heading = $zakladka[$language_id]['name'];
$content = html_entity_decode($zakladka[$language_id]['html']);
}
$tabs[] = array(
'heading' => $heading,
'content' => $content,
'sort' => $zakladka['sort_order']
);
}
}
}
}
}
usort($tabs, "cmp_by_optionNumber");
?>
$id = 'tab_'.$i;
if($tab['content'] == 'description') { $id = 'tab-description'; }
if($tab['content'] == 'attribute') { $id = 'tab-attribute'; }
if($tab['content'] == 'review') { $id = 'tab-review'; }
echo '
'.$tab['heading'].'';
} ?>
$id = 'tab_'.$i;
if($tab['content'] != 'description' && $tab['content'] != 'attribute' && $tab['content'] != 'review') {
echo '
'.$tab['content'].'
';
}
} ?>
$class = 3;
$id = rand(0, 5000)*rand(0, 5000);
$all = 4;
$row = 4;
if($this->theme_options->get( 'product_per_pow' ) == 6) { $class = 2; }
if($this->theme_options->get( 'product_per_pow' ) == 5) { $class = 25; }
if($this->theme_options->get( 'product_per_pow' ) == 3) { $class = 4; }
if($this->theme_options->get( 'product_per_pow' ) > 1) { $row = $this->theme_options->get( 'product_per_pow' ); $all = $this->theme_options->get( 'product_per_pow' ); }
?>
theme_options->get( 'product_scroll_related' ) != '0') { ?>
()
theme_options->get( 'product_scroll_related' ) != '0') { ?>class="carousel slide">
'; } ?>
$all && $r == 1) { if($this->theme_options->get( 'product_scroll_related' ) != '0') { echo '
'; $item++; } else { echo '
'; } } else { $r=$row_fluid-floor($row_fluid/$row)*$row; if($row_fluid>$row && $r == 1) { echo '
'; } } ?>
config->get('config_template').'/template/new_elements/product.tpl'); ?>
0) { echo '
'; } ?>