Deleting a Customer
Remove a customer record from the system when it is no longer needed.
- 1
Delete from the customer list
On the Customers page, find the customer in the DataTable and click the "Delete" button (red/error variant) in the Actions column. This button requires the "customers:delete" permission.
- 2
Confirm deletion
A browser confirmation dialog appears asking: "Are you sure you want to delete customer [full name]?". Click OK to proceed with deletion or Cancel to abort.
- 3
Delete from detail page
Alternatively, navigate to the customer's detail page (/customers/[id]) and click the "Delete" button (red) in the page header. The same confirmation dialog appears. After deletion, you are automatically redirected to the customers list.
Tips
Consider deactivating instead
Instead of permanently deleting a customer, consider deactivating them by unchecking the "Active" checkbox in the edit modal. This preserves their order history and loyalty data for future reference.
Delete button disabled during operation
The Delete button is disabled while the deletion is in progress to prevent accidental double-clicks.