codochi Posted May 12, 2017 Share Posted May 12, 2017 Hello, I'm using Prestashop 1.6 I created override/controllers/admin/AdminStatsController.php with the following: <?php // Check order status in Stats Dashboard BO class AdminStatsController extends AdminStatsControllerCore { public function __construct() { parent::__construct(); $this->fields_list['order_statuses'] = array('title' => $this->l('Order Status'); } } After deleting cache, HTTP ERROR 500 appears. PLEASE hELP tHANK YOU Link to comment Share on other sites More sharing options...
codochi Posted May 13, 2017 Author Share Posted May 13, 2017 Anyone help me? Link to comment Share on other sites More sharing options...
codochi Posted March 24, 2018 Author Share Posted March 24, 2018 10 hours ago, ndiaga said: Hi, Did you enable error reporting? And try to delete the class_index.php in the override folder . After deleting cache, HTTP ERROR 500 appears. Link to comment Share on other sites More sharing options...
codochi Posted March 28, 2018 Author Share Posted March 28, 2018 (edited) On 25/3/2018 at 4:51 AM, ndiaga said: I need a closer look. What you get when deleting the override : override/controllers/admin/AdminStatsController.php ? Dear Sir, Blank page appears. I think that code is bad. When I delete override file, Product sale appear normally. I want Status of orders appear in atribute sales distribution Edited March 28, 2018 by codochi (see edit history) Link to comment Share on other sites More sharing options...
codochi Posted March 28, 2018 Author Share Posted March 28, 2018 5 hours ago, ndiaga said: Ok, the override code is is missing some important data. Dear Sir, I think AdminStatsController.php include statsproduct.php (stastic product module). But I don't know how to add code. Can you help me? Link to comment Share on other sites More sharing options...
codochi Posted March 31, 2018 Author Share Posted March 31, 2018 On 29/3/2018 at 7:46 PM, ndiaga said: Can you tell in details what you want to achieve? I want status order display in this tab below picture: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now