Posted on 30/10/2026 12:48:05
Hi Imar,
I have tested and confirmed the issue.
This is how cart validation currently works. Validation groups are checked every time the customer moves to another step, and they can't be tied to a specific step. For a logged-in customer, a field that isn't on the current step is validated against the value already saved on the order. The order reference is still empty on the Information step, so the error shows there, before the field is visible.
Two workarounds, in your own copies of the Swift templates:
1. Move the field to the Information step (recommended). This keeps server-side validation.
Move @Include("Helpers/OrderReference.cshtml") from PaymentUser.cshtml and PaymentAnonymous.cshtml to InformationUser.cshtml and InformationAnonymous.cshtml, after the address include.
In Helpers/StepSummaryOrderReference.cshtml, change CartV2.GotoStep2 to CartV2.GotoStep0, so the Edit button goes to the Information step.
2. Keep it on the Payment step. Remove Order reference from the validation group and add required to the input in Helpers/OrderReference.cshtml. This is a browser check only, so it can be bypassed.
Note that field validation is configured on the checkout app paragraph, not the cart's. In Swift that means each checkout page (user, anonymous and quote) needs it set up separately.
Best regards
Karsten Thuen