Jump to content

Help Refecence supplier on BO


Recommended Posts

Hello community, i try to put on my Back Office product list the column with the "Supplier product reference"

(controllers/admin/AdminProductsController.php)

$this->fields_list['product_supplier_reference'] = array(
'title' => $this->l('Suplier Reference'),
'width' => 40,
'filter_key' => 'refer!name',
);
$this->_join .= ' LEFT JOIN `'._DB_PREFIX_.'supplier` AS supp ON (supp.`id_supplier` = a.`id_supplier`) ';

I have tried many codes and forms but i always end up getting errors similar to this one:
Unknown column 'a.id_product_supplier' in 'on clause'

 

Which is the correct form to put that date?

post-566490-0-45087800-1436548542_thumb.jpg

Sorry for the languaje of the image. But can find "supplier" on the product page.

 

My version is: 1.5.4.1

Edited by Krauser (see edit history)
Link to comment
Share on other sites

  • 2 months later...

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...