Add configuration to show or not the customer birthday field

This commit is contained in:
Abhishek Kumar
2023-08-24 20:17:04 +05:30
parent ccace94c38
commit 9325301e48
6 changed files with 118 additions and 96 deletions

View File

@@ -99,6 +99,13 @@ class AdminCustomerPreferencesControllerCore extends AdminController
'cast' => 'intval',
'type' => 'bool'
),
'PS_CUSTOMER_BIRTHDATE' => array(
'title' => $this->l('Ask for birth date'),
'hint' => $this->l('Display or not the birth date field.'),
'validation' => 'isBool',
'cast' => 'intval',
'type' => 'bool'
),
'PS_CUSTOMER_NWSL' => array(
'title' => $this->l('Enable newsletter registration'),
'hint' => $this->l('Display or not the newsletter registration tick box.'),