Created
August 15, 2012 07:11
-
-
Save jsifalda/3357305 to your computer and use it in GitHub Desktop.
Prestashop: How to allow deleting orders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# version 1.4.8.2 | |
# in file <folder-with-preshashop>/admin/tabs/AdminOrders.php | |
# find line "$this->colorOnBackground = true;", after that write: $this->delete = true; | |
#... | |
class AdminOrders extends AdminTab | |
{ | |
public function __construct() | |
{ | |
global $cookie; | |
$this->table = 'order'; | |
$this->className = 'Order'; | |
$this->view = true; | |
$this->colorOnBackground = true; | |
$this->delete = true; | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment