Text says “Historical orders can be deleted automatically”, is this a scheduled task or how do we set up this? (or do you mean it is “automatically” deleted when clicking button to delete in control panel)
When deleting orders, will also connected persons in Relations be deleted (if such connection exists)?
Ok, thanks!
But when orders are deleted by scheduled task we will still store personal information for customers on those orders?
Don’t you agree that customer info should also be removed?
Or should this be a separate task?
The scheduled task that delete orders cannot be extended.
But you could
Create a new scheduled task that regularly deletes all customers that do not have any orders.
Add a listener to the event ModuleECommerce.Instance.EventManager.OrderDeleted and if the deleted order is the only one the customer has then also delete the customer.