Rabenhorst Sauerkirsch Bio, 330 ml
4.89
4.89
window.addEventListener('DOMContentLoaded', () => {
window.addEventListener('load', calcDiscount);
window.addEventListener('click', () => {
setTimeout(calcDiscount, 1000);
}
);
});
// window.addEventListener('load', calcDiscount);
// window.addEventListener('click', calcDiscount);
//window.addEventListener('DOMContentLoaded', function() {
// calcDiscount();
//});
function calcDiscount() {
var result = document.getElementById('test');
var rrp = document.getElementById("rrp").innerHTML;
var offer = document.getElementById("price").innerHTML;
var test = Math.round(100 - ((offer / rrp) * 100));
//console.log(test);
printDiscount(test);
//result.innerHTML = test + "% Rabatt"
}
function printDiscount(test) {
var result = document.getElementById('test');
console.log(test);
if (test > 0) {
result.innerHTML = test + "% Rabatt"
} else {
result.innerHTML = ""
};
}
${ $store.getters.currentItemVariation.variation.availability.names.name }
if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/ec6hklgcrtqm/plugin/228/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcCoydn00gpK_humplkdzSKg_VSsEbGjELfyWTbegKaIhTjUhYeIl0np8VVooXwkIVPNUtqOTwFgAdZX");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODRkNTA5ODkzNWI3MGI2NDYxMjY4ZmU1ZGRhNmE1YTg1MGMyZDU0YjhmMDcwNzk5ZGQyYzcyOTVhYjA0MzA1Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjdUMTU6MDU6MzQuNDYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2bEhZd28yb3l4elN1bjFEOEk3Z1NCeHc1N3hPeVhreGNaRF9NejU5My1vNnoxdF9ZOW5GUmllTzB5bUhHOUoyTjNhVDAtQjRtX285Q0FVYlJlMnlMR3puSTh3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons(
'1733458136',
'paypal',
'buynow',
'rect' ,
'gold'
)
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons(
'1733458136',
'paypal',
'buynow',
'rect' ,
'gold'
)
});
}

Hersteller: Haus Rabenhorst, O. Lauffs GmbH & Co. KG, Rabenhorststraße 1, 53572 Unkel
Kundenrezensionen
()
5
4
3
2
1
Rezensionen werden geladen...
Wirklich löschen?
Rezension löschen