Table of Contents | ||
---|---|---|
|
Introduction
By configuring the delivery promise in the Store app, you can display the time remaining or the time passed in relation to a certain milestone.
A milestone represents a specific step in the order execution and the corresponding time when it should be executed. For example: fraud check validation on the 05/05 at 10:00, start of preparation on the 05/05 at 12:00, carrier pick-up on the 05/05 at 16:00…
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 |
...
The store app has a default configuration, but this can be changed from the Configuration > Store App > Pages > {Page name} > Delivery promise backoffice page.
...
Configuration structure
milestone
(string - mandatory) -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 the milestone is today at 17:00, and the configuration is:
Code Block | ||
---|---|---|
| ||
{
"milestone": "carrier_pickup",
"warning": {
"from": 600,
"to": 1800
}
} |
It means that the order will be displayed:
in black until 16:30,
in orange between 16:30 and 16:50 and
in red starting from 16:50.