Back to Home

Documentation

Everything you need to know to get the most out of DiscountFlow. Find guides, tutorials, and API references.

Quick Start
API References
FAQs

Documentation

Quick Start
/
Products
/
Deleting and Restoring a Product

Deleting and Restoring a Product

Delete, restore, or permanently remove a product from the list.

Last updated: Jul 2, 2026

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

  1. Go to Manage Products in the sidebar.
  2. Find the product you want to delete.
  3. Click the three-dot actions menu (⋮) in the product's row.
  4. Select Delete.
  5. 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

  1. Locate the greyed-out product in the list.
  2. 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.

  1. Locate the greyed-out (soft-deleted) product in the list.
  2. Click the dropdown arrow next to the Restore button.
  3. Select Delete permanently....
  4. 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.