There are no pre-requisites in order for you to be able to implement this solution.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
This snippet adds some much needed functionality to the WooCommerce shipping methods shown on the checkout page.
Specifically, when adding this code snippet, you are able to add an estimated number of days each shipping method takes until the customer receives their order.
The code then takes the number of days and calculates the estimated delivery date by adding the number of days to the current date.
The date is displayed according to your WordPress settings under Dashboard > Settings > General.
By showing an estimated date of delivery, you provide a more positive user experience as it prevents the need for customers to contact you to ask the approximate delivery date.
When the code snippet has been added, simply edit each of your shipping methods and you will see a new meta field “Days to arrive”. In this box, enter the number of days it will take for the order to arrive if the user chooses this option. The code then calculates the estimated delivery date based on the number of days you have entered.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.