Family Member:
infants
' + cart.item_count + ' items
')
$('a#cart-icon-bubble span.visually-hidden').remove();
});
$.ajax({
url: '/?section_id=cart-drawer',
type: 'GET',
dataType: 'html',
success: function(carthtml) {
$(".drawer").addClass("active");
if ($("cart-drawer.drawer").hasClass('is-empty')) {
$('cart-drawer').html($(carthtml).find('cart-drawer').html());
$("cart-drawer.is-empty .drawer__header").css("display", "block");
$("cart-drawer.is-empty .drawer__footer").css("display", "block");
$("cart-drawer.is-empty .cart__contents").css("display", "block");
$("cart-drawer.drawer").removeClass('is-empty');
$("#CartDrawer-Overlay").click(function() {
$("cart-drawer.drawer").removeClass('active');
});
} else {
$("cart-drawer").html($(carthtml).find('cart-drawer').html());
}
}
});
}
});
});
/** Left Side product Slider */
$('.slick-slider_image_1').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
dots: false,
fade: true,
asNavFor: '.thumb_slider_add_1'
});
$('.thumb_slider_add_1').slick({
slidesToShow: 4,
slidesToScroll: 1,
dots: false,
arrows: false,
focusOnSelect: true,
centerMode: true,
asNavFor: '.slick-slider_image_1',
});
// Get all elements with the class "group-wraaper-cover"
var allGroups = $(".group-wraaper-cover");
var uniqueGroups = {};
allGroups.each(function() {
var dataGroup = $(this).find('.group').attr('data-group');
if (!uniqueGroups[dataGroup]) {
uniqueGroups[dataGroup] = true;
} else {
$(this).remove();
}
});
});
- Choosing a selection results in a full page refresh.
- Opens in a new window.