Jump to content

How do I add Status order in AdminStats


Recommended Posts



I'm using Prestashop 1.6

I created override/controllers/admin/AdminStatsController.php with the following:

// Check order status in Stats Dashboard BO

class AdminStatsController extends AdminStatsControllerCore
    public function __construct()
        $this->fields_list['order_statuses'] = array('title' => $this->l('Order Status');            

After deleting cache, HTTP ERROR 500 appears.




Link to comment
Share on other sites

  • 10 months later...
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 by codochi (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...