...
Note |
---|
Before this data can be displayed in the store app, a number of other actions need to be taken. Find out more here: Milestones configuration |
Please note that compatible pages are pack
, bag
, reserve
, pack_scan
, bag_scan
pages only.
...
The store app has a default configuration, but this can be changed from the Configuration > Store App > Pages > {Page name} > Delivery promise backoffice page.
...
milestone
(string - mandatory) - Name of the milestone to be warned about. Must be identical to the one configured in the delivery promise operations.warning
- (object- optional) - Indicates the period of time, in seconds, before the milestone, during which the remaining time will be showed as a warning, in orange. Before, the milestone is shown with no warning, and after it is shown in alert, in red.from
(int) - Number of seconds remaining before the end of the milestone. Transition from orange to red display.to
(int) - Number of seconds remaining before the end of the milestone. Transition from grey to orange display.
sort
-
Default configuration
Exemple
...
If set to true, orders will be sorted from most urgent to least urgent.
Default configurations
Page | Default configuguration | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Pack |
| ||||||||||
Pack scan |
|
...
It means that the order will be displayed:
...
Bag |
| ||||||||||
Bag scan |
| ||||||||||
Reserve |
|
Exemple
Let's take the case where the carrier pick-up is scheduled for 17:00 according to the route schedule set in the Delivery Promise configuration.
The desired display is:
in grey until 16:30
in orange between 16:30 and 16:50 and
in red starting from 16:50.
Then, the configuration should look like this.
Code Block | ||
---|---|---|
| ||
{
"milestone": "carrier_pickup",
"warning": {
"from": 600,
"to": 1800
}
} |