How to add column in List of orders in back office prestashop 1.7


You want to change List of column in prestashop Orders list :

First step Go to Controllers/admin/AdminOrdersController.php


How to add column in List of orders in back office prestashop 1.7

Go to line :107


Example Add total HT to list

And total Ht automaticaly add to exportorders:

'total_paid_tax_incl' => array(
                'title' => $this->trans('Total TTC', array(), 'Admin.Global'),
                'align' => 'text-right',
                'type' => 'price',
                'currency' => true,
                'callback' => 'setOrderCurrency',
                'badge_success' => true
            ),