Trader Information
Back to topOverview
Back to topMage2Expert Cancel Order is an extension for Magento 2 that lets both guest and registered customers cancel their Pending and Processing orders directly from the storefront, without contacting customer support. Guest customers use a secure order-lookup form that verifies the order ID and billing email before presenting a cancellation request form; those requests land in a dedicated admin grid where staff can approve or reject them individually or in bulk. Registered customers can cancel eligible orders with a single click from the My Orders list, the Order Detail view, or the My Account Recent Orders widget — instant for Pending orders, and fully automated with an offline credit memo and stock return for Processing orders. Every cancellation goes through a configurable modal popup that shows the order number, a customisable notice message, and an optional reason field, giving customers clarity before they confirm. Admin email notifications are sent automatically whenever a guest submits a request. All settings are store-view scoped and the module operates entirely without core file changes.
Features
- Guest Order Lookup Form — guests enter their Order ID and billing email address at
/cancelorder/guest/formto retrieve their order. The form verifies both fields against the order record before displaying a results table with View Order and Cancel Order links. No customer account is required at any stage. - Guest Order Detail View — clicking View Order opens a dedicated page showing the full order summary: order number and status badge, date placed, order total, billing and shipping addresses side by side, an itemised products table with SKU, price, quantity and subtotal, and an order total row. A Cancel Order button in the actions toolbar is hidden automatically once a cancellation request has been submitted, preventing duplicate requests.
- Cancellation Confirmation Popup — a modal overlay opens without a page reload when the customer clicks Cancel Order. It displays the order number highlighted with an orange accent border, the configurable confirmation notice text, an optional free-text Reason for Cancellation textarea, an informational note, and Confirm Cancellation / Keep Order buttons. The popup is shared by guest and registered customer flows.
- Admin Approval Workflow for Guests — every guest request is stored in the
mage2expert_cancel_requesttable with status pending, approved, or rejected. A dedicated grid at Sales → Cancel Order → Guest Order Cancellation Requests shows the request ID, order number, customer email, cancellation reason, status, admin note, and submission timestamp. Individual Approve and Reject action links are available on each row. - Mass Approve and Mass Reject — select multiple requests using the grid checkboxes and process all of them at once from the Actions dropdown. Each approved request triggers the full cancellation flow independently.
- Automatic Credit Memo on Approval — when a guest request for a Processing order is approved, the module creates an offline credit memo covering all line items before calling the order cancel API. This ensures a complete refund record is attached to the order with no manual steps required from the admin.
- Stock Restoration — every credit memo item is flagged with Back to Stock = Yes before the credit memo is saved. This triggers Magento's native
RefundOrderInventoryObserver, which returns the exact ordered quantities to saleable inventory automatically. Pending order cancellations go through Magento's native cancel flow which also reverts any stock reservations. - Registered Customer Cancel from My Orders — a Cancel Order action link is injected into the Action column of the My Orders list page (
/sales/order/history) for every order with an eligible status. Pending orders are cancelled immediately; Processing orders have a credit memo generated and stock returned automatically before the order is cancelled. - Registered Customer Cancel from Order Detail — the Cancel Order link is also injected at the top of the logged-in order detail page alongside the existing Reorder and Print Order links. The link is suppressed automatically for orders whose status does not permit cancellation.
- Registered Customer Cancel from My Account — the Recent Orders widget on the My Account dashboard includes a Cancel Order link in the Action column for every eligible order, giving customers a direct path to cancel without navigating to the full orders list.
- Admin Email Notification — when a guest submits a cancellation request, an email is sent to the configured recipient address containing the order number, customer name, customer email, store name, and cancellation reason. The email uses Magento's standard email template system; the default template is registered in
etc/email_templates.xmland can be overridden from Marketing → Email Templates. - Configurable Navigation Link — an optional Cancel Order link can be placed in the header top links and footer links sections simultaneously or independently. The link text, visibility scope (All Visitors, Guest Only, Logged-in Only), and both placement toggles are configurable from the admin without any template changes. Guests are directed to the order lookup form; logged-in customers are directed to My Orders.
- Configurable Cancel Button Label — the text of the Cancel Order button is set in Stores → Configuration → Magento Expert → Cancel Order → General Settings → Cancel Button Label and applies consistently across all placements: the guest order view, My Orders, Order Detail, and My Account.
- Configurable Popup Notice Text — the confirmation message inside the cancellation popup is managed from the admin, allowing you to tailor the wording to your returns policy or preferred tone without modifying any template files.
- Enable / Disable without Uninstalling — the master Enable Module switch in Stores → Configuration → Magento Expert → Cancel Order suppresses all frontend cancel output and hides the admin menu item while leaving every cancellation request record intact in the database. Re-enabling restores full functionality immediately.
- Zero Core Code Modifications — built entirely on Magento's plugin, observer, layout XML, UI component, and event architecture. No class rewrites, no preferences over core classes, no patches. Safe alongside Magento upgrades and compatible with other extensions.
How It Works
After installing and enabling the module, navigate to Stores → Configuration → Magento Expert → Cancel Order and verify that Enable Module is set to Yes. To support guest cancellations, confirm that Allow Guest Cancellation Requests is also set to Yes. Set the Recipient Email in Email Notification Settings so your team receives alerts when guests submit requests. Optionally configure the navigation link so a Cancel Order link appears in the store header and footer. From this point, guests can reach the lookup form at /cancelorder/guest/form or via the navigation link, look up their order by Order ID and email, and submit a cancellation request with an optional reason. The request appears immediately in Sales → Cancel Order → Guest Order Cancellation Requests with status pending. An admin clicks Approve to cancel the order, generate the credit memo, and restore stock — or Reject to leave the order unmodified. Registered customers see the Cancel Order link on the My Orders page, the Order Detail page, and the My Account dashboard and can cancel eligible orders directly without any admin interaction.
Use Cases
- Reducing support load — let customers handle their own cancellations rather than emailing or calling support, freeing your team for higher-value interactions.
- Guest-heavy stores — stores where a large share of orders are placed as guest checkouts gain a structured request and approval process that keeps operations in control without giving guests unrestricted access to cancel orders.
- Fashion and seasonal goods — allow customers to cancel orders placed by mistake within the pending window, reducing return shipments and associated handling costs.
- B2B and wholesale stores — the admin approval workflow means a buyer's cancellation request is reviewed before the order is actually cancelled, giving staff time to contact the customer or negotiate an alternative.
- Multi-store operations — store-view scoped configuration means different stores can have different cancellation policies, different button labels, and different notification recipients from a single Magento installation.
- Stores with strict inventory management — automatic stock restoration on cancellation ensures your inventory figures stay accurate without requiring manual adjustments after each cancellation.
Technical Specifications
Back to topSeller profile
Seller contact
Current Version
1.0.0
Adobe Commerce platform compatibility
Adobe Commerce (cloud): 2.4 (current)
Adobe Commerce (on-prem): 2.4 (current)
Magento Open Source: 2.4 (current)
Type
Stable Build
Updated
02 July, 2026
Categories
Extensions, Sales
Quality Report
Back to topAll tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.
Release Notes
Back to top1.0.0:
- Compatible with Adobe Commerce (cloud) : 2.4
- Compatible with Adobe Commerce (on-prem) : 2.4
- Compatible with Magento Open Source : 2.4
- Stability: Stable Build
-
Description:
Initial release — guest order lookup and cancellation request form, admin approval/reject grid with mass actions, logged-in cancel from My Orders / Order Detail / My Account, automatic credit memo with stock restoration, admin email notification, configurable navigation link for top and footer areas.
Support
Back to topThe best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.
Contact Vendor