Hallo,
der Widerrufs-Button ist auch für Gast-Bestellungen schon eingebaut, der Zugang läuft nur über einen anderen Weg als bei registrierten Kunden.
Registrierte Kunden sehen den Button "Vom Vertrag zurücktreten" auf der Seite "Meine Bestellungen" und im Kunden-Bedienfeld, beides Seiten, die ein Joomla-Konto voraussetzen. Gäste haben kein Konto und sehen diese Seiten deshalb nie. Der gleiche Button erscheint aber auch in der Toolbar der Bestelldetail-Seite, und auf diese Seite kommen Gäste über die tokenisierten Links in den E-Mails:
* die Bestellbestätigung
* die Status-Benachrichtigung bei jeder Statusänderung
In beiden E-Mails enthält der Link zur Bestellung den order_token der Bestellung. Wenn der Gast diesen Link öffnet, validiert HikaShop den Token gegen die Bestellung und gewährt Zugriff auf die Bestelldetail-Seite ohne Login. Von dort aus ist der Widerrufs-Button sichtbar und führt mit dem gleichen Token zum vorausgefüllten Widerrufsformular weiter.
Wenn Sie den Button im Test nicht sehen, hat das wahrscheinlich nichts mit Gast vs. registriert zu tun, sondern mit den Bedingungen aus der Konfiguration:
* der Bestellstatus muss in der Liste "Bestellungen mit diesen Status verfügen über einen Button..." enthalten sein (Standardwert: nur "Geliefert")
* die Bestellung muss innerhalb des Widerrufsfensters liegen (Standard: 14 Tage, gezählt ab dem Versand-, Liefer- oder Rechnungsdatum je nach Status)
Reproduzierbares Test-Szenario für Gäste:
1. Im Frontend eine Test-Bestellung über den Gast-Checkout (ohne Konto) durchführen.
2. Im Backend die Bestellung auf den Status "Geliefert" setzen, damit die Status-Benachrichtigung mit dem tokenisierten Link verschickt wird.
3. In der E-Mail den Link zur Bestellung öffnen. Sie landen auf der Detail-Seite der Bestellung ohne sich einzuloggen.
4. Oben rechts in der Toolbar erscheint der Button "Vom Vertrag zurücktreten".
Wenn Sie weitere Status (z. B. "Versendet" oder "bestätigt") als widerrufsfähig markieren möchten, gehen Sie in HikaShop > System > Bestellstatus und aktivieren Sie den Toggle "Widerrufbar" in der entsprechenden Zeile.
Falls der Button auch in diesem Szenario fehlt, schicken Sie uns bitte die HikaShop-Version, den genauen Bestellstatus und den Inhalt der E-Mail (insbesondere den Link auf die Bestellung), dann schauen wir uns das im Detail an.
--- ENGLISH ---
Hello,
The withdrawal button is already available for guest checkout orders too, just through a different entry point than for registered customers.
Registered customers see the "Withdraw from contract" button on the "My orders" page and on the user control panel, both of which require a Joomla account. Guests have no account and never see those pages. The same button is also rendered in the toolbar of the order details page, and guests reach that page through the tokenised links in the order emails:
* the order confirmation email
* the order status notification email
In both emails, the link to the order carries the order_token of the order. When the guest opens the link, HikaShop validates the token against the order and grants access to the order details page without requiring a login. From there, the withdrawal button is visible and forwards to the pre-filled withdrawal form with the same token.
If the button does not show up in your test, the cause is most likely not guest vs. registered, but the gating conditions from the configuration:
* the order status must be in the list "Orders with these statuses get a button..." (default: only "Delivered")
* the order must be within the withdrawal period (default: 14 days, counted from the shipping, delivery or invoice date depending on the status)
Reproducible test scenario for guests:
1. Place a test order on the frontend through guest checkout (no account).
2. From the backend, move the order to the "Delivered" status so the status notification email with the tokenised link is sent.
3. Open the link to the order in the email. You land on the order details page without logging in.
4. The "Withdraw from contract" button appears in the toolbar at the top of the page.
If you want other statuses (for example "Shipped" or "Confirmed") to be treated as withdrawable, go to HikaShop > System > Order statuses and toggle on the "Withdrawable" column on the corresponding row.
If the button is still missing in that scenario, please share your HikaShop version, the exact order status, and the contents of the email (especially the link to the order), and we will look into it in detail.