Open alexsegura opened 6 years ago
Has i said noob version /**
Note: DO NOT! alter or remove the code above this text and only add your custom PHP functions below this text. */
`// afficher la date de livraison dans le mail de confirmation
add_action( 'woocommerce_email_order_details', 'ts_email_order_details', 10, 4);
function ts_email_order_details( $order, $sent_to_admin, $plain_text, $email ) {
echo '<p><strong>Votre commande sera livrée le : </strong>'. get_post_meta( $order->id, "shipping_date", true ) .'</p>';`
At the end of function.php of the child theme and that's resolve this issue.
Maybe you prefer to implement directly to the plugin ? If yes i will try it in my fork.
Maybe a noob coding but we plan to manage this in function.php of the child theme ; this code work :
https://github.com/PasLoin/woo.delivery/commit/5396395fe47b022eb48baf3412477b3f9677b812