How to use actionValidateCustomerAddressForm
, during runtime of address update details
In the actionValidateCustomerAddressForm
you will get the whole address form as parameter.
public function hookActionValidateCustomerAddressForm($params){
$addressForm = $params['form'];
// do the stuff
}
Of course, you can use the hook only in a module. For generating a basic custom module, check the https://validator.prestashop.com/