Jump to content

Photo

Why is there a delete button in the order page?

logic order sales software design

  • Please log in to reply
3 replies to this topic

#1 oldcastle

oldcastle

    Member

  • Members
  • PipPip
  • 16 posts

Posted 11 May 2021 - 12:13

Hi,

 

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 posts

Posted 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

oldcastle

    Member

  • Members
  • PipPip
  • 16 posts

Posted 12 May 2021 - 09:12

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



#4 stefanmueller

stefanmueller

    SmartStore AG

  • Administrators
  • 464 posts

Posted 31 May 2021 - 09:15

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

 

Attached File  order-remove-delete-permission.jpg   85.88KB   0 downloads

 

 

This is possible since Smartstore 4.0.0

 

 


Stefan



Also tagged with one or more of these keywords: logic, order, sales, software design