diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-03 15:38:49 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-03 15:38:49 +0200 |
| commit | f786f0c59d9a95d6829aaf58d99c882a609355ed (patch) | |
| tree | 3b6e97793ed5c1eaffcc06dbecd94f62f55f8287 /views/mods/mod_revocation/wp_footer.phtml | |
| parent | 6b03b7e7a5b47b52ea5d5b6aae2efb945f4dd686 (diff) | |
Widerrufsformular: Bestätigung ohne Bestelldaten, Name und Schlüssel
Jeder Widerruf wird angenommen; die Eingangsbestätigung an die eingetragene Adresse enthält nur die eigenen Angaben, der Betreiber bekommt die Bestelldaten mit Vermerken. Neues Pflichtfeld Name; der Link aus der Bestellmail bestätigt den Widerruf.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/mods/mod_revocation/wp_footer.phtml')
| -rw-r--r-- | views/mods/mod_revocation/wp_footer.phtml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/views/mods/mod_revocation/wp_footer.phtml b/views/mods/mod_revocation/wp_footer.phtml index ef013c2..c210881 100644 --- a/views/mods/mod_revocation/wp_footer.phtml +++ b/views/mods/mod_revocation/wp_footer.phtml @@ -177,7 +177,7 @@ success.className = 'wpsg_revocation_page_success'; success.setAttribute('role', 'status'); success.tabIndex = -1; - success.textContent = <?php echo wp_json_encode(__('Ihr Widerruf ist bei uns eingegangen und wird nun bearbeitet.', 'wpsg')); ?>; + success.textContent = <?php echo wp_json_encode(__('Ihre Widerrufserklärung ist eingegangen. Die Eingangsbestätigung geht an die angegebene E-Mail-Adresse.', 'wpsg')); ?>; el_dialog_content.replaceChildren(success); el_dialog.querySelector('.wpsg_revocation_button_submit').hidden = true; @@ -323,6 +323,7 @@ const get_product_nr = urlParams.get('wpsg_revo_product'); const get_amount = urlParams.get('wpsg_revo_amount'); const get_contact = urlParams.get('wpsg_revo_contact'); + const get_key = urlParams.get('wpsg_revo_key'); if (get_order_nr !== null) { @@ -373,6 +374,15 @@ } + // Schlüssel aus der Bestellmail bestätigt den Widerruf (S18) + if (get_key) { + + const keyInput = form.querySelector('input[name="wpsg_revocation_reason[key]"]'); + + if (keyInput) keyInput.value = get_key; + + } + }; checkAndFillForm(); |
