Unknown: implode(): Passing glue string after array is deprecated. Swap the parameters in /home1/hmktc540/public_html/madriacessorios.com.br/system/journal2/classes/journal2_utils.php on line 478Unknown: implode(): Passing glue string after array is deprecated. Swap the parameters in /home1/hmktc540/public_html/madriacessorios.com.br/system/journal2/classes/journal2_utils.php on line 478Unknown: implode(): Passing glue string after array is deprecated. Swap the parameters in /home1/hmktc540/public_html/madriacessorios.com.br/system/journal2/classes/journal2_utils.php on line 478Unknown: implode(): Passing glue string after array is deprecated. Swap the parameters in /home1/hmktc540/public_html/madriacessorios.com.br/system/journal2/classes/journal2_utils.php on line 478Notice: Undefined variable: expire in /home1/hmktc540/public_html/madriacessorios.com.br/system/library/template.php on line 9Journal.notificationTimer = parseInt('1500', 10);
Journal.quickviewText = 'QuickView';
Journal.scrollToTop = parseInt('1', 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 = 'Carregando....';
Journal.infiniteScrollNoMoreItemsText = 'Não existem mais produtos nessa categoria';
Journal.infiniteScrollLoadMoreItemsText = 'Carregar mais';
Journal.infiniteScrollLoadMoreItemsOffset = parseInt('0', 10);
Journal.hasCountdownEnabled = true;
Journal.BASE_HREF = 'url(' + $('base').attr('href') + ')';
$(document).ready(function () {
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');
}
});
$('.product-tabs').insertAfter('.product-info');
Journal.enableProductOptions();
Journal.updatePrice = true;
Journal.enableSideBlocks();
Journal.searchAutoComplete();
Journal.quickViewStatus = false;
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 */