Vegaanders Posted September 27, 2016 Share Posted September 27, 2016 Is there a way to change the BO product list to also show the wholesale price? I found some post but it was not very clearAnders Link to comment Share on other sites More sharing options...
rocky Posted September 28, 2016 Share Posted September 28, 2016 Create override/controllers/admin/AdminProductsController.php with the following: <?php class AdminProductsController extends AdminProductsControllerCore { public function __construct() { parent::__construct(); $this->fields_list['wholesale_price'] = array( 'title' => $this->l('Wholesale'), 'type' => 'price', 'align' => 'text-right', 'filter_key' => 'a!wholesale_price', ); } } Remember to go to the Advanced Parameters > Performance tab and click the "Clear cache" button (or manually delete cache/class_index.php) so PrestaShop can find the override. 1 Link to comment Share on other sites More sharing options...
Vegaanders Posted September 28, 2016 Author Share Posted September 28, 2016 (edited) Thank You!That works perfect.Could you perhaps also advice how I take away the endcustomer price incl tax. The product list get very crowded with info and that column is unnecessaryThanks EDIT: I found out my self how to do itThanks again! Edited September 28, 2016 by Vegaanders (see edit history) 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