Configuring the extension
The Withdrawal Button extension is ready to use shortly after installation. A few settings get the withdrawal function live on your storefront and route notifications to the right people. Here's a step-by-step guide to get it running.
All settings live under Stores → Configuration → Mirasvit → EU Withdrawal Button.
1. Enable the withdrawal function
Set General → Enabled to Yes. While the function is disabled, the storefront button is hidden and the admin menu item stays out of sight.
2. Set the withdrawal window
Enter the number of days in General → Withdrawal Window (days). This is how long after the order a customer may withdraw. The EU minimum is 14 days. After the window closes, the button no longer appears for that order.
3. Add your return address
Fill in General → Return Address. The address is shown to the customer on the confirmation page and repeated in the emails, so customers know where to send returned products.
4. Configure the emails
Open the Email group and set who sends and receives notifications:
- Email Sender — the store identity used as the sender for all withdrawal emails.
- Admin Notification Email — one or more addresses (comma-separated) that receive an alert on each new request. Leave it empty to switch admin notifications off.
- Customer Receipt Template, Admin Notification Template, Approved Notification Template, Rejected Notification Template — the email template used for each message.
All settings can be set per store view, so a multi-store setup can use a different window, return address, sender, and templates on each storefront.
5. Check the storefront
Place a test order, then open the order confirmation email or the order page in the customer account. The Withdraw from contract button appears while the order is inside the withdrawal window. Follow the flow once to see the two steps and the receipt email. The process is described in How to submit a withdrawal.
6. Process the request
Open Sales → EU Withdrawal → Withdrawal Requests in the admin to find the request, review it, and approve or reject it. See How to process a withdrawal request for the full workflow, including creating a credit memo.
This quick start gives you a working withdrawal function. For a full description of every setting, see the Configuration settings section.