Shipment Validator
Ensures that at least one shipment is selected on the cart.
Overview
The Shipment Validator checks that the cart has at least one shipment configured. Without a shipment, the order cannot be fulfilled, so this validator blocks checkout if no shipment is present.
Identifier
| Property | Value |
|---|---|
| Connector ID | shipmentValidator |
| Validation Type | Shipment |
Behavior
- Checks if the cart's order form has any shipments
- If no shipments are found, returns a validation error
- If at least one shipment exists, validation passes
Error messages
| Condition | Translation Key |
|---|---|
| No shipments on cart | ShipmentNotSelected |
Configuration
No additional properties required.
