Table of Contents
Our last major update for Order Delivery Date Pro for WooCommerce plugin was v9.25.0 & this time we’ve come up with some epic performance changes in the latest release of our plugin. Say hello to Order Delivery Date Pro for WooComerce v9.27.0 which is now available for all our customers! We were finally able to release it on 3rd August 2021, and we’re very excited to share this update with all of you. So, here are all the new things that we’ve worked on for this update:
1. Removing unnecessary ajax calls
We have removed 2 of the ajax calls i.e orddd_get_zone_id and check_for_time_slot_orddd . The third ajax call that we made a change to was orddd_update_delivery_session. We converted it to WC Ajax and now it is only called when category-based custom settings are applied on checkout.
So what does all of this mean for non-developers who are using our plugin?
It means that now, with these performance changes, there will be an improvement in the load time. It will ensure that your site performs faster & better for a customer who is trying to fill in their details on the Checkout Page.
Here’s a quick look at the load time between the older version of the plugin, which is v9.26.1, and the newer version, which is v9.27.0.
Load Time for different versions of the Order Delivery Date Pro plugin | ||
Settings |
v9.26.1 |
v9.27.0 |
Only global settings with time slots |
4.88 seconds |
3.48 seconds |
Custom settings with date & time slots |
7 seconds |
3.54 seconds |
Global settings with only date |
13.96 seconds |
3.71 seconds |
Custom settings with only date |
6.68 seconds |
4.32 seconds |
Let’s see how it will work in the real sense.
Performance on the frontend
To illustrate, we will have a look at different delivery date & time scenarios & preview the performance on the frontend for both the version. Let’s begin:
1. Only global settings with time slots:
v9.26.1
Here’s the Checkout Page performance for v9.26.1 when we have applied only global settings with time slots:
v9.27.0
Here’s the Checkout Page performance for v9.27.0 when we have applied only global settings with time slots:
2. Custom settings with date & time slots:
v9.26.1
This time, we have applied Custom settings with date & time slots & here’s how the performance is on the Checkout Page:
v9.27.0
Now, for v9.27.0, w have applied Custom settings with date & time slots & here’s the performance on the Checkout Page:
3. Global settings with only date:
v9.26.1
Here’s the Checkout Page performance for v9.26.1 when we have applied Global settings with only date:
v9.27.0
Next is the Checkout Page performance for v9.26.1 when we have applied Global settings with only date:
4. Custom settings with only date:
v9.26.1
Here’s the Checkout Page performance for v9.26.1 when we have applied custom settings with only date:
v9.27.0
Lastly, here’s the Checkout Page performance for v9.27.0 when we have applied custom settings with only date:
As you’ve seen with all of these examples, the load time for v9.27.0 has improved by at least 1-2 secs & made the customer experience faster and better!
2. Filter delivery orders based on Shipping methods on the Delivery Calendar page
If you go to your Delivery Calendar Page, then you find a newly added shipping methods dropdown over there. Once you’re there, you can filter your delivery orders based on shipping methods easily! Here’s how it will appear once you got to Order Delivery Date > Delivery Calendar:
Let’s say that you want to filter out your deliveries by shipping method ‘Local Pickup’. You can choose Local Pickup from the ‘Select Shipping method’ dropdown and click on ‘Apply filters’. Here’s how the deliveries will be displayed:
3. Using REST API calls
Earlier, we told you how we removed some ajax calls in our plugin. Instead of that, we have now added new REST API endpoints. To know more about the endpoints that we’ve added, you can read our full documentation here.
Conclusion
You can check out the other development-related changes, fixes, and tweaks for the Order Delivery Date Pro plugin over here.
Don’t forget to let us know in the comments below if you have any queries or suggestions for us regarding this update!