Warning: Cannot modify header information - headers already sent by (output started at /home/c/cr31609/mispb/public_html/index.php:2) in /home/c/cr31609/mispb/public_html/system/framework.php on line 509Warning: Cannot modify header information - headers already sent by (output started at /home/c/cr31609/mispb/public_html/index.php:2) in /home/c/cr31609/mispb/public_html/catalog/controller/startup/session.php on line 25Warning: Cannot modify header information - headers already sent by (output started at /home/c/cr31609/mispb/public_html/index.php:2) in /home/c/cr31609/mispb/storage/modification/catalog/controller/startup/startup.php on line 105Warning: Cannot modify header information - headers already sent by (output started at /home/c/cr31609/mispb/public_html/index.php:2) in /home/c/cr31609/mispb/storage/modification/catalog/controller/startup/startup.php on line 163Journal.notificationTimer = parseInt('1500', 10); Journal.quickviewText = 'Быстрый просмотр'; Journal.scrollToTop = parseInt('0', 10); Journal.searchInDescription = true; Journal.galleryZoom = true; Journal.galleryThumb = true; Journal.galleryThumbHide = false; Journal.galleryThumbWidth = parseInt('100', 10); Journal.galleryThumbHeight = parseInt('100', 10); Journal.galleryThumbSpacing = parseInt('7', 10); Journal.galleryBarsDelay = parseInt('5000', 10); Journal.infiniteScrollStatus = true; Journal.infiniteScrollLoadingText = 'Загрузка...'; Journal.infiniteScrollNoMoreItemsText = 'Вы загрузили все товары'; Journal.infiniteScrollLoadMoreItemsText = 'Показать больше'; Journal.infiniteScrollLoadMoreItemsOffset = parseInt('5', 10); Journal.hasCountdownEnabled = true; Journal.hasStickyScroll = 1; Journal.BASE_HREF = 'url(' + $('base').attr('href') + ')'; $(document).ready(function () { $(".product-page .rating a").click(function() { $('html, body').animate({ scrollTop: $("#tabs").offset().top - 50 }, 600); }); if ($('html').hasClass('filter-on-mobile')) { $('.journal-sf').before($('')); $('.open-filter').on('click', function () { var $filter = $('.journal-sf .box').first(); if ($filter.hasClass('is-visible')) { $('.side-column .journal-sf .box').slideUp(300); $('.sf-reset').fadeOut(200); $filter.removeClass('is-visible'); } else { $('.side-column .journal-sf .box').slideDown(300); $('.sf-reset').fadeIn(200); $filter.addClass('is-visible'); } }); } Journal.productPage(); Journal.enableStickyHeader(0); $('header').addClass('menu-cart-off'); $(window).scroll( function() { if ($(window).scrollTop() > $('.journal-cart').offset().top){ $('header').addClass('phone-sticky-cart'); } else{ $('header').removeClass('phone-sticky-cart'); } if ($(window).scrollTop() > $('.journal-cart').offset().top + 40){ $('header').addClass('phone-sticky-menu'); } else{ $('header').removeClass('phone-sticky-menu'); } }); $('.product-tabs').insertAfter('.product-info'); Journal.enableProductOptions(); Journal.updatePrice = true; Journal.enableSideBlocks(); Journal.searchAutoComplete(); Journal.enableQuickView(); Journal.quickViewStatus = true; if ($('html').hasClass('product-page') || $('html').hasClass('quickview')) { Journal.enableCloudZoom('inner'); } Journal.productPageGallery(); $(window).scroll(function () { if ($(this).scrollTop() > 300) { $('.scroll-top').fadeIn(200); } else { $('.scroll-top').fadeOut(200); } }); $('.scroll-top').click(function () { $('html, body').animate({scrollTop: 0}, 700); }); $('#top-modules > .hide-on-mobile').parent().addClass('hide-on-mobile'); $('#bottom-modules > .hide-on-mobile').parent().addClass('hide-on-mobile'); $('#top-modules .gutter-on').parent().addClass('gutter'); $('#bottom-modules .gutter-on').parent().addClass('gutter'); if (Journal.infiniteScrollStatus && $('.main-products').length) { Journal.infiniteScroll(); } $(window).resize(); Journal.init(); }); /* Custom JS */