Disable Phone Number Required

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
Quick question, I would like to disable the phone number as a required field in customer registration where should I change this.
14 years ago
Remove all controls with ID "rfvPhoneNumber" from CustomerRegister.ascx and CustomerInfo.ascx controls
14 years ago
Thanks!
13 years ago
How can I just have the 'Required' validation removed from the Customer information. I removed it from the Customer Registration with the checkbox in the 'Admin' 'global settings', 'customer profiles'.
13 years ago
mlopilato wrote:
How can I just have the 'Required' validation removed from the Customer information. I removed it from the Customer Registration with the checkbox in the 'Admin' 'global settings', 'customer profiles'.


just untick the checkbox beside   '   'Phone Number' required   '  


remember to click save when your done

- hayden
13 years ago
That only removes the Telephone Number required from the 'Customer Information' NOT the Shipping and Billing Info pages in the cart.
I need those to be NOT REQUIRED also.
13 years ago
mlopilato wrote:
That only removes the Telephone Number required from the 'Customer Information' NOT the Shipping and Billing Info pages in the cart.
I need those to be NOT REQUIRED also.

It's not supported in the current releases (form fields are related to 'My Account' and 'Registration' pages).

But you can customize it. Open \Modules\AddressEdit.ascx control and replace
<nopCommerce:SimpleTextBox runat="server" ID="txtPhoneNumber" ErrorMessage="<% $NopResources:Address.PhoneNumberIsRequired %>"></nopCommerce:SimpleTextBox>

with
<asp:TextBox runat="server" ID="txtPhoneNumber" />
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.