Skip to main content

Withdrawal link in order and shipment emails

What it does​

Add a Right of withdrawal box with a button to your order confirmation and shipment emails, so the customer has the way to withdraw in their inbox. The module ships four email templates with the box. You choose them in Stores → Configuration → Sales → Sales Emails. Until you do, your emails stay as they are.

Before you start​

Steps​

  1. Go to Stores → Configuration → Sales → Sales Emails.

  2. If your store has several websites or store views, choose the one you set up in the scope switcher at the top of the page. Clear Use Website or Use Default next to a field to edit it.

  3. Expand Order and select:

    • in New Order Confirmation Template: MageMe EU Withdrawal — Order Confirmation (with withdrawal link);
    • in New Order Confirmation Template for Guest: MageMe EU Withdrawal — Guest Order Confirmation (with withdrawal link).
    The Order group of Sales Emails with the MageMe EU Withdrawal order confirmation templates selected.
  4. Expand Shipment and select:

    • in Shipment Email Template: MageMe EU Withdrawal — Shipment Notification (with withdrawal link);
    • in Shipment Email Template for Guest: MageMe EU Withdrawal — Guest Shipment Notification (with withdrawal link).
  5. Click Save Config.

The box shows the heading Right of withdrawal, how many days the customer has from the day they receive the order, a note that some items may be excluded, and a button. The button label is the same as on your storefront, for example Withdraw from contract here. See Button labels per language.

The Right of withdrawal box in an order confirmation email, with the Withdraw from contract here button.

Where the button leads:

  • Without Pro, it opens your withdrawal page. A signed-in customer picks the order from their list. A guest enters the order number and email address. See Guest lookup without an account.
  • With Pro, the button carries a personal link that opens this order directly, with no lookup. See Magic Link.

What you should see​

The next order confirmation or shipment email of an order in your scope has the Right of withdrawal box under the order details.

Limits​

  • The box is added only for orders that the module would offer the withdrawal for at all: the module is on for the store view, and the order is inside your country and customer group scope. For other orders the template sends the email without the box.
  • The email is sent when the order is placed or shipped. The box does not change later, for example after the withdrawal period has ended. The withdrawal page checks the order again when the customer opens it.
  • Only the four templates of the module have the box. An email template you made yourself does not get it automatically.
  • The texts in the box come from the module's translations for the store view language.

Troubleshooting​

  • The box is missing in the email. Check that the module's template is selected for the store view of the order, and that the order is inside your scope. See The withdrawal option is missing on an order.
  • The button opens a page not found. Check that the withdrawal page loads on your store, for example from the link in the My Account menu. See Links in emails do not work.

What's next​

Last reviewed November 6, 2026