SLiCK_303 Posted December 25, 2017 Share Posted December 25, 2017 Ok here is an override so you can search for phone numbers, both normal and mobile, in BO->Customers->Addresses. Create a file called AdminAddressesController.php and in it put... ``` <?php class AdminAddressesController extends AdminAddressesControllerCore { public function __construct() { parent::__construct(); $this->fields_list['phone'] = [ 'title' => $this->l('Phone'), 'filter_key' => 'a!phone' ]; $this->fields_list['phone_mobile'] = [ 'title' => $this->l('Mobile Phone'), 'filter_key' => 'a!phone_mobile' ]; } } ``` ..place it in your sites override/controllers/admin folder, and delete your sites /cache/class_index.php file. Link to comment Share on other sites More sharing options...
Generaal Posted February 8, 2018 Share Posted February 8, 2018 Thank you SLiCK_303, I have made some translations to it, 'Phone' and 'Mobile Phone'. It works great! 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