Although, lucky for you Prestashop already have the build in "Delete" button in it. Now we just need to activate it first.
How To
- Go to your Prestashop root directory and find AdminOrders.php
eg: /root/admin/tabs/AdminOrders.php - Open it with notepad or any other software that you use to edit php files.
- Add $this->delete = true; below $this->colorOnBackground = true;.
eg:-28 29 30 31 32 33 34 35 36
class AdminOrders extends AdminTab { public function __construct() { $this->table = 'order'; $this->className = 'Order'; $this->view = 'noActionColumn'; $this->colorOnBackground = true; $this->delete = true;
- Save it and the "Delete" button now appear in the Order page.
*tested on prestashop 1.4.3.0
0 comments :
Post a Comment