Product 8

Код товара: Товар 8
Доступность: На складе

  • 100.00 р.


Доступные опции


Доставим за 2 дня
Любой вариант оплаты
Самые низкие цены
Расширенная гарантия
Собственный сервис-центр
Сотни довольных клиентов

Product 8

Внимание: HTML не поддерживается! Используйте обычный текст!



'); } else { element.after('
' + json['error']['option'][i] + '
'); } $('#content').parent().before('
' + json['error']['option'][i] + '
'); } } if (json['error']['recurring']) { $('select[name=\'recurring_id\']').after('
' + json['error']['recurring'] + '
'); } $('.text-danger').parent().addClass('has-error'); } if (json['success']) { $('.tooltip').remove(); html = ''; $('#content').parent().before(html); $('#modal-cart').modal('show'); $('#cart > button').html('' + json['total_items'] + ''); replace_button(35); //send product data to ecommerce dataLayer.push({ 'ecommerce':{ 'currencyCode':'RUB', 'add':{ 'products':[json['products']] } } }); $('#cart > ul').load('index.php?route=common/cart/info ul li'); $('#cart').addClass('show'); } }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); $('.date').datetimepicker({ pickTime: false }); $('.datetime').datetimepicker({ pickDate: true, pickTime: true }); $('.time').datetimepicker({ pickDate: false }); $('button[id^=\'button-upload\']').on('click', function() { var node = this; $('#form-upload').remove(); $('body').prepend(''); $('#form-upload input[name=\'file\']').trigger('click'); if (typeof timer != 'undefined') { clearInterval(timer); } timer = setInterval(function() { if ($('#form-upload input[name=\'file\']').val() != '') { clearInterval(timer); $.ajax({ url: 'index.php?route=tool/upload', type: 'post', dataType: 'json', data: new FormData($('#form-upload')[0]), cache: false, contentType: false, processData: false, beforeSend: function() { $(node).button('loading'); }, complete: function() { $(node).button('reset'); }, success: function(json) { $('.text-danger').remove(); if (json['error']) { $(node).parent().find('input').after('
' + json['error'] + '
'); } if (json['success']) { alert(json['success']); $(node).parent().find('input').attr('value', json['code']); } }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } }, 500); }); $('#review').delegate('.pagination a', 'click', function(e) { e.preventDefault(); $('#review').fadeOut('slow').load(this.href).fadeIn('slow'); }); $('#review').load('index.php?route=product/product/review&product_id=35'); $('#button-review').on('click', function() { $.ajax({ url: 'index.php?route=product/product/write&product_id=35', type: 'post', dataType: 'json', data: $("#form-review").serialize(), beforeSend: function() { $('#button-review').button('loading'); }, complete: function() { $('#button-review').button('reset'); }, success: function(json) { $('.alert-success, .alert-danger').remove(); if (json['error']) { $('#content').parent().before('
' + json['error'] + '
'); } if (json['success']) { $('#review').after('
' + json['success'] + '
'); $('#form-review input, #form-review textarea').val(''); $('.review_star input').attr('checked', false).prop('checked', false); $('#form-review').slideToggle(); } } }); }); $(function() { var img_array = [], elem = $('#product .thumbnails'), elemA = elem.find('li:first a'), elemImg = elem.find('li:first img'); elem.find('.image-additional a').each(function() { img_array.push({src:$(this).attr('href'), type:'image', title:$(this).attr('title')}); }); elem.find('.image-additional a').on('click', function(e) { e.preventDefault(); var href = $(this).attr('href'), thumb = $(this).attr('data-thumb'), title = $(this).attr('title'), key = $(this).attr('data-key'); elem.find('.image-additional a').removeClass('selected'); $(this).addClass('selected'); elemA.attr('href', href).attr('data-key', key); elemImg.attr('src', thumb); img_array[key].src = href; img_array[key].type = 'image'; img_array[key].title = title; }); if(img_array.length == 0) { img_array.push({src:elemA.attr('href'), type:'image', title:elemImg.attr('title')}); } elemA.click(function(e) { e.preventDefault(); $.magnificPopup.open({ items:img_array, gallery:{ enabled:true, }, }); $.magnificPopup.instance.goTo(parseFloat($(this).attr('data-key'))); }); $('#product.row .option-image input').on('change', function() { var $this = $(this).next(), elem = $('#product.row .thumbnails li:first'), elemA = elem.find('a'), elemImg = elem.find('img'); elemA.attr('href', $this.attr('data-full')).attr('data-key', 0); elemImg.attr('src', $this.attr('data-thumb')); img_array[0].src = elemA.attr('href'); img_array[0].type = 'image'; img_array[0].title = elemA.attr('title'); }); var hash = window.location.hash; if (hash) { $('.nav-tabs a').each(function() { var href = $(this).attr('href'); if (hash == href) { $($(this)).trigger('click'); scroll_to(hash); } }); var hashpart = hash.split('#'); var vals = hashpart[1].split('-'); for (i=0; i