Du möchtest noch mehr Exklusivausgaben, Farbschnittausgaben oder Bookish Merch zu unseren Romanen bestellen? Dann folge dem Button zum exklusiven VAJONA Shop.
document.addEventListener("DOMContentLoaded", function() {
function updateTexts() {
var pickupOption = document.querySelector("#pickup-options option[value='store_pickup']");
if (pickupOption) {
pickupOption.textContent = "Abholung auf der FBM";
}
var regionText = document.querySelector(".pickup-location-text");
if (regionText) {
regionText.innerHTML = "Bitte wähle das Datum und eine Uhrzeit aus:";
}
var deliveryTerm = document.querySelector("label[for='delivery_date']");
if (deliveryTerm) {
deliveryTerm.textContent = "Wähle einen Abholtermin";
}
var additionalText = document.querySelector(".delivery-instructions");
if (additionalText) {
additionalText.style.display = "none";
}
}
var checkExist = setInterval(function() {
var pickupOption = document.querySelector("#pickup-options option[value='store_pickup']");
var regionText = document.querySelector(".pickup-location-text");
var deliveryTerm = document.querySelector("label[for='delivery_date']");
var additionalText = document.querySelector(".delivery-instructions");
if (pickupOption || regionText || deliveryTerm || additionalText) {
updateTexts();
}
if (pickupOption && pickupOption.textContent === "Abholung auf der FBM" &&
regionText && regionText.innerHTML === "Bitte wähle das Datum und eine Uhrzeit aus:" &&
deliveryTerm && deliveryTerm.textContent === "Wähle einen Abholtermin" &&
additionalText && additionalText.style.display === "none") {
clearInterval(checkExist);
}
}, 100);
});