Currently in checkout process, in shipping method section Fedex Shipping method showing as –
Federal Express
Ground - $13.86
Standard Overnight - $36.87
2 Day - $36.87
I would like the estimated delivery date to be displayed along with the shipping option on my checkout page.
Federal Express
Ground - Est. Delivery February 21, 2016 $13.86
Standard Overnight - Est. Delivery February 21, 2016 $36.87
2 Day - Est. Delivery February 21, 2016 $36.87
One more thing "Is Fedex return delivery date ?" if yes "how can i get the delivery date ?".
Best Answer
Yes, Fedex returns delivery date but you have to configure the request sent to the api accordingly.
I am not sure your version of magento, This will work in Magento 1.9.x.
add 'ReturnTransitAndCommit'=>true to the "ratesRequest" array,
Now if you log the response in "_prepareRateResponse", you will see something similar to
Notice
To get the timestamp to the checkout page, override "_prepareRateResponse" method by the following code (change is marked as - checkpoint)
Rewrite "Mage_Sales_Model_Quote_Address_Rate" as
Go to desing/frontend/[package]/[theme]/checkout/onepage/shipping_method.phtml and call the time stamp as
You can format the the timestamp using php methods.
I hope this helps!