How to hide fax field on account form

  • Patrick
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 months 3 weeks ago #170192 by Patrick
How to hide fax field on account form was created by Patrick
Hello Giang

If a user does click the link to show his account page where he can change his password and registered email, the field for fax is there as well.

I don't need fax at all. I have unpublished this field. But it's still shown on account edit page.

Why is it there even if the field is unpublished?

Thanks.

Regards
Patrick

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
1 month 1 week ago #171717 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic How to hide fax field on account form
Dear Patrick,

Please submit a new ticket to EShop category so I can help you to check and implement it for you.

Sincerely, Giang
The following user(s) said Thank You: Patrick

Please Log in or Create an account to join the conversation.

  • Patrick
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 month 1 week ago - 1 month 1 week ago #171725 by Patrick
Replied by Patrick on topic How to hide fax field on account form
Hello Giang

First I was thinking of using an override. But override files do get outdated, that's why I don't realy like them.
Instead I found a way to do it by using CSS. In custom.css I added:

Code:
.myaccount #process-user .form-group.form-row label[for="telephone"], .myaccount #process-user .form-group.form-row label[for="fax"] { display: none; }

That solves it.

Best regards
Patrick

 
Last edit: 1 month 1 week ago by Patrick.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
3 weeks 6 days ago #171852 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic How to hide fax field on account form
OK Patrick!

That's OK.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong