Aserum for hair loss or thinning hair that lacks strength and density. Reduces hair loss and strengthens hair up to 40%. Dermatologically approved for use on the scalp. The vegan, free-feeding and fast-absorbing formula with Superfood Complex is enriched with Guaraná and Biotin. The unique blend of ingredients stimulates and vitalizes the scalp and activates the hair roots. It creates fuller-looking hair and improves its quality and vitality. The scalp is rebalanced and the future condition of the hair is ensured.
', } }); } }); }); function wrapperIframe() { var iframe_items = [...document.querySelectorAll(".single_product__info iframe")]; iframe_items.forEach((iframeItem) => { iframeItem.classList.add('item_video__player'); var wrapIframe = document.createElement('p'); wrapIframe.classList.add('item_video__wrap'); wrapIframe.appendChild(iframeItem.cloneNode(true)); iframeItem.replaceWith(wrapIframe); }); } function initStickyImgPr(){ var stickyimgpr = $('.stickyimgpr-js'), stickyimgprheight = $('.stickyimgprheight-js'), o = stickyimgpr.attr('data-h', stickyimgpr.offset().top); setTimeout(function(){ setLocate(); }, 500); $(window).resize(function(){ stickyimgpr.css({top: 0}); o = stickyimgpr.attr('data-h', stickyimgpr.offset().top); setTimeout(function(){ setLocate(); }, 100); }).scroll(function(){ setLocate(); }); function setLocate(){ typeof stickyimgpr.attr('css') !== typeof undefined && stickyimgpr.removeAttr('css'); var h = stickyimgpr.children().length == 1 ? stickyimgpr.children().height() : stickyimgpr.height(); if(h > $(window).height()) return false; if(h > stickyimgprheight.height()) return false; if($(window).width() < 768) return false; var m = 100, o = stickyimgpr.attr('data-h'), p = stickyimgpr.position().top, w = $(window).scrollTop(), mh = stickyimgprheight.height() - h - 10, ow = Math.max(0, w-o+m); ow = Math.min(mh, ow); stickyimgpr.css({top: ow }); $('.zoomContainer').length && $('.zoomContainer').css({top: ow+m*2}); } } function hideTile() { var elVH = $('.is_variant-js'); elVH.each(function(index,item){ $(item).removeClass('visibility-h'); if(index > (viewTileItem - 1)) { $(item).addClass("visibility-h"); } }); } function evZoom() { if ( $(window).width() >= 992 ) { if ($('.item-zoom-js').length > 0) { $('.item-zoom-js img').ezPlus({ zoomWindowOffsetX: 10, lensBorderColour: '#fff' }); } if ($('.item-zoom-inner-js').length > 0) { $('.item-zoom-inner-js img').ezPlus({zoomType: "inner", cursor: 'crosshair' }); } if ($('.item-zoom-lens-js').length > 0) { $('.item-zoom-lens-js img').ezPlus({zoomType: "lens", lensShape: 'square', lensSize: 200 }); } } } function moreImageShowTile () { if ($(window).width() < 768) { var defShown = 3; } else { var defShown = shownItemSimpleTile; } $('.tile_gallery li.tile_gallery_item:lt(' + defShown + ')').show(); $('.less-js').hide(); var items = prImageCount; var shown = defShown; var shItems = items - shown; $('.more-js').on('click', function () { $('.btn-more-image').addClass('active'); $('.less-js').show(); shown = $('.tile_gallery li.tile_gallery_item:visible').length + shItems; if (shown < items) { $('.tile_gallery li.tile_gallery_item:lt(' + shown + ')').show(300); } else { $('.tile_gallery li.tile_gallery_item:lt(' + items + ')').show(300); $('.more-js').hide(); $('.btn-more-image').removeClass('active'); } setTimeout(function () { evZoom(); setPosition(); }, 300); }); var stickyimg = $('.stickyimgpr-js'); function setPosition(){ var p = stickyimg.position().top; if($(window).width() < 768) return false; if(p > 0) { stickyimg.css({top: 0 }); } } $('.less-js').on('click', function () { $('.tile_gallery li.tile_gallery_item').not(':lt(' + defShown + ')').hide(300); $('.btn-more-image').addClass('active'); $('.more-js').show(); $('.less-js').hide(); $('html,body').animate({ scrollTop: stickyimg.offset().top + 100 }, 300); }); }
Related Products
${item.productTitle}
${item.productPrice}
`).join(''); const wishlistBlock = document.querySelector('.js-wishlistBlock'); // Add a check to ensure the element is not null before setting innerHTML if (wishlistBlock) { wishlistBlock.innerHTML = wishlistHtml; } else { // console.error('Element with class "js-wishlistBlock" not found'); } } // Execute this function on DOM content loaddocument.addEventListener('DOMContentLoaded', function () { const wishlistData = JSON.parse(localStorage.getItem('wishlist')) || []; // Set the initial button text based on whether the product is in the wishlist or not const wishlistButton = document.querySelector('.wishlist_button'); // Use querySelector instead of getElementsByClassName const productTitle = "Schwarzkopf BC Root Activating Serum 100ml"; if (wishlistButton) { const isAlreadyInWishlist = wishlistData.some(item => item.productTitle === productTitle); wishlistButton.innerHTML = isAlreadyInWishlist ? `
In Your Wishlist
` : `
Add to wishlist
`; } else { // console.error('Element with class "wishlist_button" not found'); } // Display wishlist items displayWishlist();}); // for product list to add into the wishlist function toggleWishlistButton(product_card_product) { let wishlistDataCard = JSON.parse(localStorage.getItem('wishlist')) || []; const isAlreadyInWishlistCard = wishlistDataCard.some(item => item.productTitle === product_card_product.productTitle); const button = event.currentTarget; if (!isAlreadyInWishlistCard) { wishlistDataCard.push(product_card_product); localStorage.setItem('wishlist', JSON.stringify(wishlistDataCard)); button.classList.add('wishlist-added'); } else { wishlistDataCard = wishlistDataCard.filter(item => item.productTitle !== product_card_product.productTitle); localStorage.setItem('wishlist', JSON.stringify(wishlistDataCard)); button.classList.remove('wishlist-added'); } } document.addEventListener('DOMContentLoaded', function() { let wishlistData = JSON.parse(localStorage.getItem('wishlist')) || []; let wishlistButtons = document.querySelectorAll('.wishlist-btn'); wishlistButtons.forEach(function(button) { let productTitle = button.getAttribute('data-product-title'); let isInWishlist = wishlistData.some(item => item.productTitle === productTitle); if (isInWishlist) { button.classList.add('wishlist-added'); } }); }); window.onload = function () { const urlParams = new URLSearchParams(window.location.search); const tabToOpen = urlParams.get('tab'); if (tabToOpen && tabToOpen === "wishlist") { let wishlistTab = $('.tab_nav_4'); let wishlistItem = $('.tab_item_4'); $('.tab_nav').removeClass('active'); $('.tab_item').removeClass('active'); wishlistTab.addClass('active'); wishlistItem.addClass('active'); } };
Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.