Inhalte aufrufen


Why is there a delete button in the order page?

logic order sales software design

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
3 Antworten zu diesem Thema

#1 oldcastle



  • Members
  • 16 Beiträge

Geschrieben: 11 May 2021 - 12:13



I am wondering why there is a delete button in the order page. What is the logic of that? I'm asking this because for me, an order is a legal entity and your company has about the purchased goods. I cannot see a reason for someone to delete an order, specially if it's completed. Should the system prevent this to happen?

#2 Marcel Schmidt

Marcel Schmidt

    SmartStore AG

  • Administrators
  • 149 Beiträge

Geschrieben: 11 May 2021 - 15:09

When you delete an order in the admin backend, it is not actually lost, but only marked so that it does not appear in lists and statistics.
You can restore deleted order entities from your database at any time by resetting "deleted" to 0 in your order table.
You may want to delete test orders, but orders by customers are not to be deleted. There is no check to prefend orders from being flagged as deleted.

#3 oldcastle



  • Members
  • 16 Beiträge

Geschrieben: 12 May 2021 - 09:12

Ah it's like a "soft delete", right?

#4 stefanmueller


    SmartStore AG

  • Administrators
  • 226 Beiträge

Geschrieben: 31 May 2021 - 09:15

Use the feature "Edit customer roles" to remove "delete" permission for Orders.


Angehängte Datei  order-remove-delete-permission.jpg   85.88K   0 Anzahl Downloads



This is possible since Smartstore 4.0.0



Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: logic, order, sales, software design