Bhuvani Posted May 27, 2017 Share Posted May 27, 2017 (edited) Hi, Im new for prestashop 1.7.1 How can i delete Social and last name things in register form ? Edited May 27, 2017 by Bhuvani (see edit history) Link to comment Share on other sites More sharing options...
Bhuvani Posted June 8, 2017 Author Share Posted June 8, 2017 bump Link to comment Share on other sites More sharing options...
trustport Posted July 27, 2017 Share Posted July 27, 2017 (edited) Hi, Im new for prestashop 1.7.1 How can i delete Social and last name things in register form ? U need to edit inside /classes/form/CustomerFormatter.php $genderField = (new FormField) ->setName('id_gender') ->setType('radio-buttons') ->setLabel( $this->translator->trans( 'Social Name', [], 'Shop.Forms.Labels' ) ) ; Remove This Field $format['lastname'] = (new FormField) ->setName('lastname') ->setLabel( $this->translator->trans( 'Last name', [], 'Shop.Forms.Labels' ) ) ->setRequired(true) ; Edited July 27, 2017 by trustport (see edit history) Link to comment Share on other sites More sharing options...
yurda Posted May 7, 2018 Share Posted May 7, 2018 And someone knows how to remove the "optional" thing from there? Link to comment Share on other sites More sharing options...
Velno Posted June 23, 2019 Share Posted June 23, 2019 On 5/7/2018 at 4:24 PM, yurda said: And someone knows how to remove the "optional" thing from there? Go to: Customers > Addresses find on the bottom: Set required fields for this section and select fields you want Caution: selecting field will remove "optional" tag, but it will also force customer to fill this form (the form will be required) 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