Frontend Order Cancellation for Magento 2
Order Cancel module allows customers to cancel orders directly from the frontend, improving customer satisfaction and offering full admin control over cancellation conditions.
✅ Key Features
- Enable/disable frontend order cancellation.
- Restrict cancellation to selected order statuses (e.g., pending, processing).
- Optionally require customers to provide a cancellation reason.
- Support both predefined and custom cancellation reasons.
- Email notifications to admin upon order cancellation.
- Fully configurable via Magento Admin Panel.
General Settings
| Field | Description |
|---|---|
| Enable Frontend Order Cancel | Enable/disable the module functionality. |
| Allowed Order Statuses | Specify which order statuses are eligible for cancellation. |
| Require Cancellation Reason | Prompt users to provide a reason for cancellation. |
| Use Predefined Reasons | Use a fixed list of reasons instead of free text. |
| Custom Cancellation Reasons | Enter one reason per line (used when predefined = No). |
| Predefined Reason Toggles | Enable/disable reasons like "Changed My Mind", "Payment Issue", etc. |
Email Notification
| Field | Description |
|---|---|
| Enable Email Notification | Enable or disable email alerts for admin on order cancellation. |
| Email Recipient | Email address that receives cancellation alerts. |
How It Works
- Customers visit My Account > Orders.
- If eligible, a Cancel Order button appears.
- Upon clicking:
- A form prompts for a reason (if enabled).
- The order status is updated to canceled.
- An email notification is sent to the admin (if enabled).
- The cancellation reason is stored (if backend logic supports it).
Compatibility
- Magento: 2.3.x, 2.4.x
- PHP: 7.4 – 8.3
- Tested on Magento 2.4.7-p3
📞 Support
For customization or support, contact Letscms at:
