quentino.cz Posted August 13, 2017 Share Posted August 13, 2017 Hi, can anybody help me to add a carrier name column to the orders list? I could figure it out with some help in PS 1.6, but the new version of presta seems to have it coded differently.. Thanks!! (ALSO) If anybody knows answer to the "not saving properly issue" I posted here: https://www.prestashop.com/forums/topic/623694-ps-17-not-saving-properly/ I would be really grateful for help! Link to comment Share on other sites More sharing options...
alltheshop Posted September 10, 2017 Share Posted September 10, 2017 (edited) I am also looking for an answer to this question, it would use the Override code until 1.6 this model worked but with 1.7 no longer works, the following code is for ProductsController but the principle is the same <?php class AdminProductsController extends AdminProductsControllerCore { public function __construct() { parent::__construct(); // Join the table product supplier in order to get product supplier reference ( Only Work for products without combinations ) $this->_join .= ' LEFT JOIN '._DB_PREFIX_.'product_supplier ps ON ( a.id_product = ps.id_product AND ps.id_product_attribute = 0 )'; //Add new field supplier reference in field list $this->fields_list['product_supplier_reference'] = array( 'title' => $this->l('Supplier Reference'), 'align' => 'left', 'filter_key' => 'ps!product_supplier_reference', 'width' => 80 ); } } Edited September 10, 2017 by alltheshop (see edit history) Link to comment Share on other sites More sharing options...
DARKF3D3 Posted September 8, 2021 Share Posted September 8, 2021 Does anyone know how to do it on PS1.7.7? Link to comment Share on other sites More sharing options...
Janett Posted September 9, 2021 Share Posted September 9, 2021 Here a demo module to add a column : https://github.com/Matt75/displayordercarrier/releases/latest 2 Link to comment Share on other sites More sharing options...
Skuiz Posted October 8, 2021 Share Posted October 8, 2021 On 9/9/2021 at 10:33 AM, Janett said: Here a demo module to add a column : https://github.com/Matt75/displayordercarrier/releases/latest Good morning, can you please tell me how to add it to the modules? Im adding the content to the modules folder on prestashop but its not showing on my modules tab to install it. Link to comment Share on other sites More sharing options...
DARKF3D3 Posted October 8, 2021 Share Posted October 8, 2021 I think you can instal it from back office, uploading the zip from the modules page. Link to comment Share on other sites More sharing options...
seok Posted August 9, 2023 Share Posted August 9, 2023 On 9/9/2021 at 10:33 AM, Janett said: Here a demo module to add a column : https://github.com/Matt75/displayordercarrier/releases/latest This module works on Prestashop 8 backfoffice 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