Understanding the time calculation and buffer for Delivery Time of Orders can be a little confusing at the beginning, when connected to the Store and Delivery opening hours. It's important to understand the difference between the default delivery time buffer and the calculated delivery time buffer, as well as how does the calculated time behave, when does it increase and when does it lower
Hence, here's an explanation!
Here's an example on how the Store Opening hours vs. Delivery hours look:
- Store Opening Time: 8:00am - 8:00pm
- Delivery Opening Time: 8:00am - 8:30pm
- Store Pickup Time: 10 min.
- Default Delivery Time Buffer: 20 min.
Customer, with a delivery commute of less than 30 minutes, can place a Delivery Order no later than 7:30pm. Since the Store closes at 8pm and the Pickup Time + Default Delivery Time Buffer add up to 30 minutes, the Order is still prepared during the Store Opening Time and since the delivery path is 30 minutes, it can then still be delivered by 8:30pm.
The calculation for this is as follows:
Less than 30 mins distance
Store Opening Time - Pickup Time - Standard Delivery Buffer = Latest time to place an Order for Customers with less than 30 minutes delivery distance. Meaning:
20.00 - 10 minutes - 20 minutes = 19.30
Please note: according to the above, a Customer who has a longer delivery path than 30 minutes (Store Opening Time end - Delivery Opening Time end) must place an Order earlier than 7:30 pm.
More than 30 mins distance
Delivery Opening Time - Delivery Route - Pickup Time - Default Delivery Buffer = Latest time to place an Order for Customers with delivery route longer than 30 minutes. Meaning:
20:30 - 45 minutes - 10 minutes - 20 minutes = 19:15
The latest Delivery Time is the end of the Delivery Opening Time.
Here's how it would look like on a timeline: