0

I am running this code in my Template file:

echo($_order->getDeliverydate());

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

{{var order.getDeliverydate()}}

Any ideas what I might be missing?

1

Try with

{{var order.deliverydate }}

I hope its working fine.

| improve this answer | |
  • 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 '19 at 10:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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