Jump to content

Customer form


Bjarne

Recommended Posts

  • 2 weeks later...

Hi,

 

Have a look here:

/your_theme/templates/customers/_partials/address-form.tpl

 

I'm not sure what you are trying to achieve exactly, but you cannot remove/add these fields in the TPL files, they are generated in the PHP code.

 

You can change the look of the form fields in:

/your_theme/templates/_partials/form-fields.tpl

Link to comment
Share on other sites

  • 3 years later...

I'm having an issue with the fields in this form (Firstname, Lastname, Email): When I disable the modules GDPR and Newsletter, the bottom two text input fields "think" they are the checkboxes that are no longer there. Ie they format with label on top and Email field is no longer mandatory - a huge issue for us:

Where in the PHP may I find the code that does this?

Better yet, how do I get rid of the "ghosts" of GDPR and Newsletter checkboxes? Have tried to unhook what I believe was carrying them, and disabled the modules. No luck!

Thanks.

image.png.ba580e8cf4b980b8a5457e549fd5074f.png

Link to comment
Share on other sites

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...