I am running this code in my Template file:


It echo a date, doing that in my transaction mail, it stays empty:

{{var order.getDeliverydate()}}

Any ideas what I might be missing?

1 Answer 1


Try with

{{var order.deliverydate }}

I hope its working fine.

  • Perfecto :-) ... now the only question is, how I could reformat the date. The current output is 2019-07-10, I want 10.07.2019
    – Arnie
    Jul 10, 2019 at 10:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.