Delivery address form¶
AbstractFormEntity and implements
It manages the form for choosing delivery address in checkout process.
||Status of the delivery address|
||User or company name||not blankmin = 2max = 30|
||Second name||min = 2max = 30|
||Street name||not blankmin = 2max = 30|
||Optional second address||min = 2max = 30|
||ZIP number||not blank (excluding Ireland)min = 3max = 20mumeric|
||City name||not blankmin = 2max = 30|
||Country name||not blank|
||County name||min = 2max = 30|
||Party ID in ERP system||string|
implements the setup for this form.
This class is defined as a service to take advantage of other services, such as
and to be able to read configuration settings.
The scope of this service is set to
A new instance of
CheckoutDeliveryAddressType is created every time this service is called.
You set the parameters in the configuration for checkout forms.
|Sidebar template for invoice||
Exceptions in validation process for delivery¶
In some cases you need to suppress the form validation, for example:
- If the user has a customer number and uses invoice as delivery.
- If the user has a customer number and uses an address from a list.
In these cases the data comes from the ERP and the user cannot change it.