Add simple_withdrawalbutton PrestaShop module

This commit is contained in:
Arne Weiss
2026-06-01 08:08:31 +02:00
commit 0691fa7f22
33 changed files with 1679 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
<?php
/** Silence is golden. */
+43
View File
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Eingangsbestätigung Ihres Widerrufs</title>
</head>
<body>
<p>Guten Tag {customer_name},</p>
<p>wir bestätigen den Eingang Ihrer Widerrufserklärung.</p>
<p>
<strong>Eingang des Widerrufs:</strong><br>
{submitted_at}
</p>
<p>
<strong>Bestellnummer / Bestellreferenz:</strong><br>
{order_reference}
</p>
<p>
<strong>Widerruf betrifft:</strong><br>
{scope_label}
</p>
<p>
<strong>Betroffene Artikel / Mengen:</strong><br>
{withdrawal_items_text}
</p>
<p>
<strong>Ihre Nachricht / Bemerkung:</strong><br>
{message}
</p>
<p>
Diese Nachricht bestätigt nur den Eingang Ihrer Widerrufserklärung. Die weitere Bearbeitung und Prüfung erfolgt separat.
</p>
<p>Mit freundlichen Grüßen<br>{shop_name}</p>
</body>
</html>
+23
View File
@@ -0,0 +1,23 @@
Guten Tag {customer_name},
wir bestätigen den Eingang Ihrer Widerrufserklärung.
Eingang des Widerrufs:
{submitted_at}
Bestellnummer / Bestellreferenz:
{order_reference}
Widerruf betrifft:
{scope_label}
Betroffene Artikel / Mengen:
{withdrawal_items_text}
Ihre Nachricht / Bemerkung:
{message}
Diese Nachricht bestätigt nur den Eingang Ihrer Widerrufserklärung. Die weitere Bearbeitung und Prüfung erfolgt separat.
Mit freundlichen Grüßen
{shop_name}
+33
View File
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Neuer Widerruf</title>
</head>
<body>
<p>Ein neuer Widerruf ist eingegangen.</p>
<p>
<strong>ID:</strong> {id_withdrawal_request}<br>
<strong>Eingang:</strong> {submitted_at}<br>
<strong>Bestellnummer / Bestellreferenz:</strong> {order_reference}<br>
<strong>Name:</strong> {customer_name}<br>
<strong>E-Mail:</strong> {customer_email}<br>
<strong>Widerruf betrifft:</strong> {scope_label}
</p>
<p>
<strong>Betroffene Artikel / Mengen:</strong><br>
{withdrawal_items_text}
</p>
<p>
<strong>Nachricht / Bemerkung:</strong><br>
{message}
</p>
<p>
Backoffice: <a href="{admin_link}">{admin_link}</a>
</p>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
Ein neuer Widerruf ist eingegangen.
ID: {id_withdrawal_request}
Eingang: {submitted_at}
Bestellnummer / Bestellreferenz: {order_reference}
Name: {customer_name}
E-Mail: {customer_email}
Widerruf betrifft: {scope_label}
Betroffene Artikel / Mengen:
{withdrawal_items_text}
Nachricht / Bemerkung:
{message}
Backoffice:
{admin_link}
+2
View File
@@ -0,0 +1,2 @@
<?php
/** Silence is golden. */
+22
View File
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Confirmation of receipt of your withdrawal</title>
</head>
<body>
<p>Hello {customer_name},</p>
<p>We confirm receipt of your withdrawal declaration.</p>
<p><strong>Received:</strong><br>{submitted_at}</p>
<p><strong>Order number / order reference:</strong><br>{order_reference}</p>
<p><strong>Withdrawal concerns:</strong><br>{scope_label}</p>
<p><strong>Affected items / quantities:</strong><br>{withdrawal_items_text}</p>
<p><strong>Your message / note:</strong><br>{message}</p>
<p>This message only confirms receipt of your withdrawal declaration. Further processing and review will follow separately.</p>
<p>Kind regards<br>{shop_name}</p>
</body>
</html>
+23
View File
@@ -0,0 +1,23 @@
Hello {customer_name},
We confirm receipt of your withdrawal declaration.
Received:
{submitted_at}
Order number / order reference:
{order_reference}
Withdrawal concerns:
{scope_label}
Affected items / quantities:
{withdrawal_items_text}
Your message / note:
{message}
This message only confirms receipt of your withdrawal declaration. Further processing and review will follow separately.
Kind regards
{shop_name}
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>New withdrawal declaration</title>
</head>
<body>
<p>A new withdrawal declaration has been received.</p>
<p>
<strong>ID:</strong> {id_withdrawal_request}<br>
<strong>Received:</strong> {submitted_at}<br>
<strong>Order number / order reference:</strong> {order_reference}<br>
<strong>Name:</strong> {customer_name}<br>
<strong>Email:</strong> {customer_email}<br>
<strong>Withdrawal concerns:</strong> {scope_label}
</p>
<p><strong>Affected items / quantities:</strong><br>{withdrawal_items_text}</p>
<p><strong>Message / note:</strong><br>{message}</p>
<p>Back office: <a href="{admin_link}">{admin_link}</a></p>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
A new withdrawal declaration has been received.
ID: {id_withdrawal_request}
Received: {submitted_at}
Order number / order reference: {order_reference}
Name: {customer_name}
Email: {customer_email}
Withdrawal concerns: {scope_label}
Affected items / quantities:
{withdrawal_items_text}
Message / note:
{message}
Back office:
{admin_link}
+2
View File
@@ -0,0 +1,2 @@
<?php
/** Silence is golden. */