Customer address contain last name and email as required . i don't want these two field as required. these fields be optional in my address form how to disable these fields. what to do. i am comment out these fields
@*<div class="col-sm-3 col-md-4">
<nop-required />
<span asp-validation-for="Email"></span> </div>*@
from _CreateOrUpdateAddress.cshtml and also
//[DataType(DataType.EmailAddress)]
//[NopResourceDisplayName("Address.Fields.Email")]
public string Email { get; set; }
these two line from AddressModel.cs but it still not work.
how to make these two field optional not required.
Thanks in advance. i am using nop 4.40.4