Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
lig_milestone_reached:
  media:
    rabbit:
    - order_dp:lig_milestone_reached
  time_type: duration
  time_value: 0s

Display the milestones on the store app

Select the pages and milestones to display

In the store app config, you need to add a delivery_promise key, with the list of pages where to display the milestones.

  • Pages supported: pack, bag, reserve, pack_scan, bag_scan

Code Block
languageyaml
delivery_promise:
  pack:
    milestone: carrier_pickup
    warning:
      from: 600
      to: 1800
  bag:
    milestone: carrier_pickup
    warning:
      from: 600
      to: 1800
  reserve:
    milestone: carrier_pickup
    warning:
      from: 600
      to: 1800

The warning 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.

Expand

If the milestone is today at 17:00, and the configuration is:

Code Block
languageyaml
    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.

Turn on the display of milestone on the stock location

Your stock location must have a configuration to indicate that the milestones can be displayed.

You must configure this on the stock location (endpoint), by API (it is currently not available in the backoffice):

Code Block
languagejson
"configurations": {
    "delivery_promise": {
        "milestone": true,
    }
}