/
Technical documentation - AssertDBProvider order delivery options
Technical documentation - AssertDBProvider order delivery options
It is possible to define a set of order types the user may choose from and delivery methods on these order types.
The configuration option is available in the AssertPlaceOrderProvider only.
Version 4.5. This function is available in version 4.5 and later. In earlier versions only two or three pre-defined delivery methods could be configured and selected.
Overview
The order page delivery options cover the following:
Enabling to select delivery method
Enable and allow user to select order type
For each order type, if order type is used
Selector on order page may look like this.
Configuration
Configuration is done in profile.config and in custom-text.config.
profile.config
<!-- Options are available if AssertPlaceOrderProvider is used -->
<PlaceOrderProvider>
<AssertPlaceOrderProvider>
</AssertPlaceOrderProvider>
</PlaceOrderProvider>
<OrderTypeProvider>
<!-- Assert for options from Signifikant DB, REST for API from customer system. -->
<AssertDbOrderTypeProvider>
</AssertDbOrderTypeProvider>
<RESTOrderTypeProvider>
</RESTOrderTypeProvider>
</OrderTypeProvider>
<OrderAdditionalInformationSettings>
<!-- Enabling selection of delivery option -->
<DeliveryMethodEnabled>true</DeliveryMethodEnabled>
<!-- Make requested shipping date available as an option. -->
<ShippingDateDeliveryEnabled>true</ShippingDateDeliveryEnabled>
<!-- Allow user to select other delivery option, which contains a free text field. -->
<OthersDeliveryEnabled>false</OthersDeliveryEnabled>
<!-- Define order types for the order type selector -->
<OrderTypeSettings>
<OrderType>
<Id>Type1</Id>
<!-- Display text, refers to a key text in custom-text.config -->
<DescriptionKey>Day</DescriptionKey>
</OrderType>
<OrderType>
<Id>Type2</Id>
<DescriptionKey>Season</DescriptionKey>
</OrderType>
</OrderTypeSettings>
<!-- Define delivery options for each order type -->
<DeliveryOptionSettings>
<DeliveryOption>
<Id>Del1</Id>
<!-- The order type id which this delivery option will display -->
<OrderTypeId>Type1</OrderTypeId>
<!-- Display text, refers to a key text in custom-text.config -->
<DescriptionKey>Normal</DescriptionKey>
<Available>true</Available>
</DeliveryOption>
<DeliveryOption>
<Id>Del2</Id>
<OrderTypeId>Type1</OrderTypeId>
<DescriptionKey>Express</DescriptionKey>
<Available>true</Available>
</DeliveryOption>
<DeliveryOption>
<Id>Del3</Id>
<OrderTypeId>Type2</OrderTypeId>
<DescriptionKey>Normal</DescriptionKey>
<Available>true</Available>
</DeliveryOption>
<DeliveryOption>
<Id>Del4</Id>
<OrderTypeId>Type2</OrderTypeId>
<DescriptionKey>Date</DescriptionKey>
<Available>true</Available>
</DeliveryOption>
</DeliveryOptionSettings>
</OrderAdditionalInformationSettings>
Related articles
, multiple selections available,
Related content
Technical documentation - Delivery options
Technical documentation - Delivery options
More like this
Technical documentation - Order process based on basic functionality and database
Technical documentation - Order process based on basic functionality and database
More like this
Technical documentation - Order Process and APIs for Order Process
Technical documentation - Order Process and APIs for Order Process
More like this
Technical documentation - Order Manager
Technical documentation - Order Manager
More like this