Jump to content
thirty bees forum

Recommended Posts

Posted

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.

0_1514168701807_Capture.PNG

  • 1 month 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...