Journal.notificationTimer = parseInt('3000', 10); Journal.quickviewText = 'QuickView'; Journal.scrollToTop = parseInt('0', 10); Journal.BASE_HREF = 'url(' + $('base').attr('href') + ')'; $(document).ready(function () { Journal.productPage(); $('.product-tabs').insertAfter('.product-info'); Journal.enableProductOptions(); Journal.updatePrice = true; Journal.enableSideBlocks(); Journal.searchAutoComplete(); Journal.enableStickyHeader(); Journal.enableQuickView(); Journal.quickViewStatus = true; if ($('html').hasClass('product-page') || $('html').hasClass('quickview')) { Journal.enableCloudZoom('inner'); } Journal.productPageGallery(); $('#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'); $(window).resize(); Journal.init(); }); /* Custom JS */ /*$("#content").on({ mouseenter: function() { $('.show-on-hover', this).show(); $('.price', this).hide(); }, mouseleave: function() { $('.show-on-hover', this).hide(); $('.price', this).show(); } }, '.product-grid-item'); $(".owl-item").on({ mouseenter: function() { $('.show-on-hover', this).show(); $('.price', this).hide(); }, mouseleave: function() { $('.show-on-hover', this).hide(); $('.price', this).show(); } }, '.product-grid-item');*/ function moveToNextGrid() { var next_grid = parseInt($('.custom-sections.section-product .selected').attr('data-option-value').split('-')[1]) + 1; if ($('[data-option-value=section-' + next_grid + ']').length) { $('[data-option-value=section-' + next_grid + ']').click(); } else { $('[data-option-value=section-0]').click(); }; } if ($(window).width() > '760' && $('.custom-sections.section-product .selected').length) { var changeInterval = setInterval(function() { moveToNextGrid(); }, 20000); }; function renderAddress() { var selected_shipping = $('input[name=shipping_method]:checked').val().split("."); if (selected_shipping[1] == 'pickup') { $('input[name=payment_address_1]').val('Not Applicable'); $('#address').hide(); } else { $('input[name=payment_address_1]').val(''); $('#address').show(); }; }; function focusSearch() { if ($('.journal-search').css('display') == 'none') { $('.journal-search').slideDown(); $('#search input').focus(); } else { $('.journal-search').slideUp(); }; }; $( document ).ready(function() { $('.main-menu-item-7 a').append(""); }); (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:3251582,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');