I use NC 3.90
I use Anonymous Guest Checkout + OnePageCheckout. Then I have Disabled "Billing address" step (in Order Settings.
My problem is that it always shows Validation Error Messages even on Checkout Start. I was trying to figure out what causes it and couldn't find.
If I enable Billing Address it works fine and Validation Errors won't show. Also, if I disable OnePageCheckout it also works fine.
These errors come from \Views\Shared\_CreateOrUpdateAddress.cshtml
Piece of code:
<div class="edit-address">
<div class="inputs">
@Html.LabelFor(model => model.FirstName, new { }, ":")
@Html.EditorFor(model => model.FirstName)
</div>
@Html.RequiredHint()
@Html.ValidationMessageFor(model => model.FirstName)
</div>
<div class="inputs">
@Html.LabelFor(model => model.LastName, new { }, ":")
@Html.EditorFor(model => model.LastName)
</div>
@Html.RequiredHint()
@Html.ValidationMessageFor(model => model.LastName)
</div>
How can I solve this?
Or how to disable these error message only for the first time?
Thanks in advance.