Versandkostenfrei ab 40,- €
function goBack(){if (document.referrer.indexOf(window.location.host) !== -1) {history.go(-1); return false;}}; function runAfterElementExists(jquery_selector,callback){var checker = window.setInterval(function() {if ($(jquery_selector).length) {clearInterval(checker);callback();}}, 200);} runAfterElementExists(".sizeInfo.plenty", function() {$(".sizeInfo.ekomi").remove();}); runAfterElementExists(".passform .progress .progress-bar", function() { var values = $(".passform .progress-bar").map(function () {return +$(this).data('percent');}).get(); var max = Math.max.apply(Math, values); var index = values.indexOf(max); if (index > 0){ $(".passform .progress-bar").eq(index).parent().parent().prev('.review-count').children().clone().appendTo('.sizeInfo.ekomi');}; }); document.addEventListener('DOMContentLoaded', function() { function calculateNewPrice() {var currentPrice = 19.05;var NewQuantity = $(".qty-input").val().replace(/,/, ".");NewPrice = (currentPrice * NewQuantity).toFixed(2);NewPriceText = NewPrice.toString().replace(/\./g, ',');$(".price>span").html(NewPriceText+' €');$(".articleQuantity").html(" | Preis gültig für "+ NewQuantity +" Artikel"); var oldUVP=12.9;var NewOldPrice = (oldUVP * NewQuantity).toFixed(2);NewOldPriceText = NewOldPrice.toString().replace(/\./g, ',');$(".crossprice>del").html('UVP '+NewOldPriceText+' €');var percent=(NewOldPrice-NewPrice)/NewOldPrice*100; var percentRound = Math.round(percent); $(".saving_p").html(" (-"+percentRound+"%)");currentSaving=NewOldPrice-NewPrice;currentSaving=currentSaving.toFixed(2).replace(/\./,",");if (NewQuantity==1){$("#saving_eur").html("Sie sparen: "+currentSaving+" €");} else {$("#saving_eur").html("Sie sparen bei "+NewQuantity+" Artikeln: "+currentSaving+" €");}}; runAfterElementExists(".qty-btn-container", function() { $('.qty-btn-container button.qty-btn').click(function() {calculateNewPrice();});$('.qty-box .qty-input').on('input propertychange paste', function() {calculateNewPrice();});}); $(".variation-select .text-muted").each(function(){ var str = $(this).text(); if (str.indexOf("Packgröße") >= 0){var strText=$(this).parent().children('b').text(); $('#single-carousel').before('
'+ strText + '
'); $(".variation-select .images").addClass('multiPack');}}); if (document.referrer.indexOf(window.location.host) !== -1) {$('.goBackLink').removeClass('d-none');} var catURL = $('.breadcrumb li:nth-last-child(2)>a').attr('href');$('.single a.parentCatlink').attr("href", catURL); if ($("#toogleDescription").height() > 170) {$('#toogleDescription .toggle').removeClass('hidden');} runAfterElementExists('.article_saving_row', function() { function calculatePercent() { var oldUVP=12.9; var currentPrice = 19.05; var percent=(oldUVP-currentPrice)/oldUVP*100; var percentRound = Math.round(percent); $(".saving_p").html(" (-"+percentRound+"%)"); currentSaving=oldUVP-currentPrice,currentSaving=currentSaving.toFixed(2).replace(/\./,","), $("#saving_eur").html("Sie sparen: "+currentSaving+" €"); }; calculatePercent(); }); let sel = document.querySelectorAll('.variation-select select');let selImg = document.querySelectorAll('.variation-select img'); sel.forEach(function() {this.addEventListener ("change", function () {setTimeout(function(){calculatePercent(); $(".variation-select .text-muted").each(function(){var str = $(this).text();if (str.indexOf("Packgröße") >= 0){var strText=$(this).parent().children('b').text(); $('.packSize').remove();$('#single-carousel').before('
'+ strText + '
');}});}, 400);});}); $('.variation-select .multiPack *').click(function(){setTimeout(function(){calculatePercent();}, 600);}); }); (function (w) { w['_ekomiWidgetsServerUrl'] = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//widgets.ekomi.com'; w['_customerId'] = 39300; w['_ekomiDraftMode'] = true; w['_language'] = 'de'; if(typeof(w['_ekomiWidgetTokens']) !== 'undefined'){ w['_ekomiWidgetTokens'][w['_ekomiWidgetTokens'].length] = 'sf393005e3d6a1744f06'; } else { w['_ekomiWidgetTokens'] = new Array('sf393005e3d6a1744f06'); } if(typeof(ekomiWidgetJs) == 'undefined') { ekomiWidgetJs = true; var scr = document.createElement('script');scr.src = 'https://sw-assets.ekomiapps.de/static_resources/widget.js'; var head = document.getElementsByTagName('head')[0];head.appendChild(scr); } })(window); (function (w) { w['_ekomiWidgetsServerUrl'] = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//widgets.ekomi.com'; w['_customerId'] = 39300; w['_ekomiDraftMode'] = true; w['_language'] = 'de'; if(typeof(w['_ekomiWidgetTokens']) !== 'undefined'){ w['_ekomiWidgetTokens'][w['_ekomiWidgetTokens'].length] = 'sf393005e5e762d02632'; } else { w['_ekomiWidgetTokens'] = new Array('sf393005e5e762d02632'); } if(typeof(ekomiWidgetJs) == 'undefined') { ekomiWidgetJs = true; var scr = document.createElement('script');scr.src = 'https://sw-assets.ekomiapps.de/static_resources/widget.js'; var head = document.getElementsByTagName('head')[0];head.appendChild(scr); } })(window);