It seems we can’t find what you’re looking for. Perhaps searching can help.

document.addEventListener('DOMContentLoaded', function () { const errorItems = document.querySelectorAll('.woocommerce-error-list li'); errorItems.forEach(function (item) { if (item.textContent.includes('Bitte wählen Sie einen Termin aus')) { item.remove(); } }); // Wenn Liste danach leer ist, entfernen wir auch den UL-Wrapper const errorList = document.querySelector('.woocommerce-error-list'); if (errorList && errorList.children.length === 0) { errorList.remove(); } });