Warning: fopen(/home/tstudio/storagepro/logs/openbay.log): failed to open stream: No such file or directory in /home/tstudio/public_html/professional/system/library/log.php on line 22Warning: fopen(/home/tstudio/storagepro/logs/openbay.log): failed to open stream: No such file or directory in /home/tstudio/public_html/professional/system/library/log.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in /home/tstudio/public_html/professional/system/library/log.php on line 39Warning: Cannot modify header information - headers already sent by (output started at /home/tstudio/public_html/professional/system/framework.php:443) in /home/tstudio/public_html/professional/catalog/controller/startup/session.php on line 25Warning: Cannot modify header information - headers already sent by (output started at /home/tstudio/public_html/professional/system/framework.php:443) in /home/tstudio/storagepro/modification/catalog/controller/startup/startup.php on line 104Warning: Cannot modify header information - headers already sent by (output started at /home/tstudio/public_html/professional/system/framework.php:443) in /home/tstudio/storagepro/modification/catalog/controller/startup/startup.php on line 162Warning: fopen(/home/tstudio/storagepro/logs/openbay.log): failed to open stream: No such file or directory in /home/tstudio/public_html/professional/system/library/log.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in /home/tstudio/public_html/professional/system/library/log.php on line 39Warning: fopen(/home/tstudio/storagepro/logs/error.log): failed to open stream: No such file or directory in /home/tstudio/public_html/professional/system/library/log.php on line 22Journal.notificationTimer = parseInt('1500', 10);
Journal.quickviewText = 'QuickView';
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 = 'Loading';
Journal.infiniteScrollNoMoreItemsText = 'No items left.';
Journal.infiniteScrollLoadMoreItemsText = 'Load more';
Journal.infiniteScrollLoadMoreItemsOffset = parseInt('3', 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($('Product Filters
'));
$('.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');
}
});
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 */