Jump to content

when adding new values to field list getting error


Recommended Posts

I am trying to add supplier column to the BO order tab and to to the order report which is being generated from the order table ,while folowing the solution that were regarding this topic

 https://www.prestashop.com/forums/topic/275522-solved-add-backoffice-columns-products-list/

https://www.prestashop.com/forums/topic/276546-how-to-add-an-extra-column-in-orders-table/

but when i am trying to add new values to the field list like products and supplier there is an error : 'Unknown column'

$this->fields_list = array(
			   'id_order' => array(
				'title' => $this->l('ID'),
				'align' => 'text-center',
				'class' => 'fixed-width-xs'
			),
            'products' => array(
                'title'=> $this->l('products')
            ),
			'reference' => array(
				'title' => $this->l('Reference')
			),
			'new' => array(
				'title' => $this->l('New client'),
				'align' => 'text-center',
				'type' => 'bool',
				'tmpTableFilter' => true,
				'orderby' => false
			),
			'customer' => array(
				'title' => $this->l('Customer'),
				'havingFilter' => true,
			),
           'supplier' => array(
               'title'=> $this->l('supplier')
           ),


		);
Edited by omerdavid (see edit history)
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...