Hello,
I use version 1.7 and made changes to the contactform.tlp template.
I added two new fields "Name" and "Phone".
Appears on the page and passes the data to the data base table ps_customer_thread. Nice!!
I just can´t add these new fields to the BO customer service, what do I have to do?
--------------------------------------------------------------------------------------------------
SOLVED
I add this code:
/controllers/admin/AdminCustomerThreadsController.PHP
'telefone' => array(
'title' => $this->trans('Telefone', array(), 'Admin.Catalog.Feature'),
'filter_key' => 'telefone',
'tmpTableFilter' => true,
'maxlength' => 40,
),
It works, but is it the best way to add fields in BO?
Greetings,
Miguel Rocha