Summary
The validation of mandatory attachments is done only when the order is created, in the last "end purchase" button. This field requirement is not expressed in the cart (/checkout/#/cart
), where fields are displayed.
This is visible only in attachments that do not have predefined values, so they are manually filled fields. In the case of attachments with predefined values, a selection list is displayed, already with some of them preselected.
Ideally, the fields requirement should be expressed together with it so that the customer gives attention to this before attempting to close the order, avoiding the error message.
Simulation
- Create an SKU with a mandatory attachment;
- Add this SKU to the cart;
- Follow the steps of the purchase without filling in the attachment fields;
- Watch for the error message when trying to complete the order.
Workaround
You can do a custom validation of these fields using Javascript in the cart page - in case the required field is not filled, it's enough to block the continue button.