I found this tip for adding the delete button for orders in prestashop. If you are looking for the delete button for deleting the test orders before going live in PrestaShop, follow the instructions below.
You probably found this blog post because you’re wondering the same thing I was this morning… the ability to delete an order is a very basic function and yet, I cannot find the delete button! Well, the delete button is is not a permission, but instead an option you must turn on by modifying the code. A lot of people that don’t speak PHP will not be happy. Anyway, the delete button will appear at the bottom of your order list by adding the following line of code in the construct of the AdminOrders class.
1. In the renamed admin directory of your store, go to tabs/AdminOrders.php.
2. Around line 28 below $this->colorOnBackground = true; , add $this->delete = true; so it looks like this –
class AdminOrders extends AdminTab
{
public function __construct()
{
$this->table = ‘order’;
$this->className = ‘Order’;
$this->view = ‘noActionColumn’;
$this->colorOnBackground = true;
$this->delete = true;