B3aT Posted February 2, 2011 Share Posted February 2, 2011 I couldn't find anywhere how to make this adjustment in v.1.4 so here it is :In product.tpl add {$product->manufacturer_name} In classes / product.php add the followings :around line 206 protected $fieldsValidate = array( 'id_tax_rules_group' => 'isUnsignedId', 'id_manufacturer' => 'isUnsignedId', add 'manufacturer_name' => 'isString', around line 302 : parent::validateFields(); if (isset($this->id)) $fields['id_product'] = (int)($this->id); $fields['id_tax_rules_group'] = (int)($this->id_tax_rules_group); $fields['id_manufacturer'] = (int)($this->id_manufacturer); add $fields['manufacturer_name'] = ($this->manufacturer_name); ================ later editThis modifiction it seems creates an error in BO when updating a product an error occurred while updating object product (Unknown column 'manufacturer_name' in 'field list') 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