Ray UK Posted September 20, 2018 Share Posted September 20, 2018 Im trying to add some custom fields in the custom profile. We sell ecigs so need to age check customers. One of these fields will be to say PASS or FAIL, and maybe the other will have a date that they were checked. I have managed to add the field in the db, show the FAIL or PASS on the customers list, and orders list. I have the field showing on the edit customer page, but i cannot get the field in the edit customer page to show the value PASS or FAIL. The field in the db is agecheck and is text In the AdminCustomersController.php i have this code which shows the value in the customer list. 'agecheck' => array( 'badge_success' => true, 'title' => $this->trans('18?', array(), 'Admin.Global') ), And this code shows the field on the customer edit screen array( 'type' => 'text', 'label' => $this->trans('Age Verified?', array(), 'Admin.Global'), 'name' => 'agecheck', 'required' => false, 'col' => '1', 'hint' => $this->trans('Is this customer verified as 18 or over?', array(), 'Admin.Global', 'Admin.Notifications.Info').' Type PASS or FAIL' ), but it doesnt show the value, and any value I enter does not get saved. Link to comment Share on other sites More sharing options...
Ray UK Posted October 4, 2018 Author Share Posted October 4, 2018 any ideas on how to acomplish this please ? 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