How to hide Customer Profile custom fields?
I have added some fields to the Customer Profile shipping and billing types. They are ID fields to maintain consistency with a backoffice system that I am trying to link with Drupal Commerce. Consequently, they mustn't be editable and they don't need to be visible. I have set them as Hidden in Manage Display, but it makes no difference, they are still visible and editable in the Customer Profile edit page. How do I make these fields hidden or at least non-editable by a user editing their profile?
Comments
I've hidden them with CSS, but it would be better if they weren't part of the form, rather than using styling to make them not show.