I have the below function which I've added to a couple of places on the front end of my site, to show estimated delivery date based on the current date:
<?php $del_from = date('jS F', strtotime("+10 days"));
$del_to = date('jS F', strtotime("+30 days"));
$html = "Order today for estimated delivery between <b>{$del_from}</b> and <b>{$del_to}</b>. <a href='deliveryinfopageURL' target='_blank'>Read more about delivery</a>.";
echo $html;
?>
I would like to include this in the shipment notification email (with slightly different text), but rather than using the current date + X days I'd like to use the order date + X days instead, as that's when the fulfilment process starts. Is this possible?
Also is there anything else that would need to change in order for this to work in a WooCommerce email template? Such as changing the way the hyperlink is placed in the text?