In this post, we will discuss how you can setup minimum required time for delivery of an order in Order Delivery Date Pro for WooCommerce plugin. This feature will work with Delivery Date as well as Delivery Time.
If you have an online chicken shop where you provide fresh chicken. And you require 24 hours for preparing the delivery of fresh chicken. For that, you will want next 24 hours to be disabled from the current time for the customers to place the order. This post will be explaining how this can be achieved using the plugin.
You can find the setting to set Minimum Delivery time (in hours) under Order Delivery Date-> General Settings-> Date Settings.
Minimum Delivery time (in hours): Admin Setting
If you have online cake shop where you require at least 24 hours to prepare a cake before the delivery of the cake. So you can set 24 hours in Minimum Delivery time (in hours) field.
Minimum Delivery time (in hours): Checkout Page
Now, if the customers try to place an order, then they will find the first available date available for delivery after 24 hours from the current WordPress time.
So here, if a customer tries to place an order on 15 November 2016, they will find the first available date on 16 November 2016 and not 15 November 2016 as it will be disabled in the delivery date calendar.
Minimum Delivery time (in hours): Time slot
After the date, now we will discuss how the Minimum Delivery Time (in hours) will work with the Time slots.
If you have a business where you want that the customers choose Delivery Time also along with the Delivery Date but only after the minimum required time for preparation.
For example, if you have grocery shop where you can deliver the orders only after the 4 hours from the time order is placed. So you have to set 4 hours in Minimum Delivery time (in hours).
Now if you have set time slots for weekdays with 1 hour time difference. Then the customers will be able to see the time slots only after current time plus the minimum required time set.
So here, If the customer will visit your site on 17 November at 10.15 AM and the minimum required time is set to 4 hours, then the first available time slot will be 3.00 PM to 4.00 PM for the current date.
All the time slots will be available for deliveries for further dates.
And if you have set the minimum required time to 48 hours, then the first available time slot will be 11.00 AM to 12.00 PM for the day after tomorrow.
Minimum Delivery time (in hours): Time range
Same as time slot if you have a business where you allow customers to choose the time from the time range you have set. But only after 2 hours from the time the customer visit the website. Then you can set the Minimum Delivery Time (in hours) to 2.
Q. I want that the first available delivery date should be upcoming Wednesday for a customer who tries to place the order on Monday before 6 PM. How can I achieve this?
To achieve the above requirement, you can set 54 hours in the Minimum Delivery Time (in hours) field.
Let’s understand the calculation of Minimum Delivery Time. Minimum Delivery Time can be set as 24 * number of days which needs to be disabled + the remaining hours of the current day.
So, in the above example, 24 hours * 2 days + ( 24 – 18 hours ) = 54 hours which will be your Minimum Delivery Time if you want to allow delivery on Wednesday until 6 pm for a customer who visits the website on Monday.
Similarly, for the customer who tries to place the order on Tuesday after 6 PM the first available delivery date will be Friday as shown below:
Q: I want the first available delivery date to be on the upcoming Friday after 3 PM for a customer who tries to place the order on Wednesday after 2 PM. How can I achieve this?
Client’s Delivery Scenario:
Delivery weekdays: Tuesday, Wednesday, Thursday & Friday
Delivery time slot: 11 am to 3 pm.
Here, the client wishes to block their delivery time slot of Friday from 11 am to 3 pm. For this, the client can set the Minimum Delivery Time (in hours) as 45 hours.
Let’s understand the calculation of Minimum Delivery Time.
Wednesday 2pm to Thursday 2pm = 24 hours
Thursday 2pm to Friday 11am = 21 hours
We will add 24 hours + 21 hours = 45 hours
This would mean that our Minimum Delivery Time (in hours) would be 45 hours.
If the MDT goes above 45 hours, then that would mean that the next available delivery time slot will actually not be available for the customer. This would mean that if the customer makes an order on a Wednesday after 2 pm, then as per our MDT calculation of 45 hours, the delivery time slot available would be the time slot that falls after 11 am to 3 pm on Friday. This would mean that the delivery time slot of 11 am to 3 pm on a Friday would not be available for the customer to choose from. Here’s how it will appear on the frontend when the customer puts an item in their cart on a Wednesday (Date: 23rd) after 2 PM:
As we can see from the above image, the next available delivery date would be 29th June 2021.
Here it is important for the client to also enable the Business days from Monday to Sunday so that the calculations of Minimum Delivery Time can happen on weekdays & not only on Delivery Days.
Q: I want the first available delivery date to be disabled on the upcoming Thursday for a customer who tries to place the order on Tuesday after 12pm. How can I achieve this?
Client’s Delivery Scenario:
Business Days: Thursday Friday Saturday
As we can see above, the client wishes to block the upcoming Thursday.
For this, the client will have to set their Minimum Delivery Time as 60 hours.
Tuesday 12 pm to Wednesday 12 pm = 24 hours
Wednesday 12 pm to Thursday 12 pm = 24 hours
Thursday 12 pm to Friday 12 am = 12 hours
We will add our calculations: 24 + 24 + 12 = 60 hours
Thus, our Minimum Delivery Time will be 60 hours.
Here’s how it will appear on the frontend after setting the MDT as 60 hours & the customer adds an item in their cat on a Tuesday (15th June) after 12 PM:
As we can see from the above image the upcoming delivery date which falls on a Thursday (17th June) has been disabled.
It is important over here for the client to enable the Business days present under General Settings -> Date Settings link & set their Business days. The customer will also have to make sure that their Next day cut-off time is set to 00:00.
In this post, we saw how you can set up the minimum preparation time for the delivery of an order. This feature is useful for all the types of businesses who require some time for preparation of the deliveries.