Configuring Cut off Times for Ordering
You can specify a daily cut off time after which customers cannot place orders, or apply changes to orders for the duration of a blackout period.
Note
This feature only applies to orders placed by customers. It does not affect ordering within the Orders module.
How does cut off time work?
This is how the cut off and blackout constraints work:
- If you want to place, cancel, or modify an order BEFORE the cut off time, you can do so provided the change applies no earlier than tomorrow. (Note that you cannot cancel an operating order).
- If you want to place, cancel, or modify an order AFTER the cut off time, you can do so provided the order falls after the blackout period that starts at the cut off time tomorrow. That is, the earliest time a change can apply is at:
Today's cut off time + the blackout period + 24 hours
Example
Suppose the cut off time is 4:30 pm and the blackout period is 13.5 hours.
-
Before 4:30 pm you can place, cancel, or modify any order (except operating orders) provided the change happens tomorrow.
-
After 4:30 pm you can place, cancel, or modify any order provided the change happens after 6 am the day after tomorrow (cut off time at 4:30 pm today + 13.5 hours blackout period + 24 hours).
What if the order extends beyond the blackout period?
After the cut off time you can make changes to orders that start within the blackout period but extend beyond the current day blackout period + 24 hours. However, the changes can be effective beyond current day blackout period + 24 hours. For example, after cut off time, you could modify flow details or change the order end time, if the order runs beyond blackout period + 24 hours.
Configuration
This feature is configured using the following attributes. You must set both attributes to a non-zero value or the cut off functionality will not work. These attributes can be set at the system level or at group, area, or outlet level. Attributes set at a lower level in the hierarchy take precedence over attributes set on their parent objects.
| Attribute | Description |
|---|---|
|
Cut off time |
Time in hours and decimal hours since midnight after which the daily blackout period constraints apply. For example, a value of 16.5 would give a cut off time of 4:30 pm. |
|
Cut off blackout hours |
Duration in hours and decimal hours after the cut off time for which the restriction applies |
How does this affect notice periods?
Caution
To avoid confusion we recommend that you implement EITHER the relevant notice periods OR cut off times and blackout periods, but not both at the same time.
To disable the relevant notice periods, set the following attributes to null (no value) wherever they are set:
-
Lodge Notice Minimum
-
Lodge Notice Maximum
-
Change Notice
See Configuring Notice Periods for Ordering for a list of the notice period attributes that may be set on objects.
If you have configured notice periods AND cut off times and blackout periods then the system will consider BOTH attributes and will apply whichever is the longer. This is true even if one attribute is set on a parent object and the other on a child object.
Example
Suppose there is a default lodgement notice period of 24 hours set on the system with a cut off time of 5 pm and a blackout period of 7 hours set on a specific outlet.
-
If you try to place an order at that outlet at 10 am for 9 am tomorrow, the order will be rejected because the order would start before the notice period expired.
-
If you try to place an order at 8 pm for 8 pm the following day, the order will be rejected because the order would start before the end of the blackout period.