Deleting and Restoring a Product
Delete, restore, or permanently remove a product from the list.
DiscountFlow uses soft deletes for products. When you delete a product it is not immediately removed from the database — it is marked as deleted and remains visible in the list in a greyed-out state. This allows you to recover products deleted by mistake.
Soft-deleting a product
- Go to Manage Products in the sidebar.
- Find the product you want to delete.
- Click the three-dot actions menu (⋮) in the product's row.
- Select Delete.
- Confirm the action when prompted.
The product remains in the list but appears greyed out. It is no longer available for selection on new discount requests.
Restoring a soft-deleted product
- Locate the greyed-out product in the list.
- Click the Restore button that appears in the product's row.
The product is restored to active status and becomes available on discount requests again.
Permanently deleting a product
Permanent deletion removes the product from the database entirely and cannot be undone.
- Locate the greyed-out (soft-deleted) product in the list.
- Click the dropdown arrow next to the Restore button.
- Select Delete permanently....
- Confirm the action when prompted.
A product must be soft-deleted first before it can be permanently deleted. You cannot permanently delete an active product in a single step.
Permissions
- Soft-deleting and restoring a product require the delete products permission.
- Permanently deleting a product also requires the delete products permission.
- Editing a product (to restore via edit) requires the edit products permission.