Dears,
I'm creating a new email for 'new order' however, I am facing a problem.
the default payment method showing in the email, shows many lines. But I only want the title to be showing.
I tried to change the
{{var payment_html|raw}}
To
{{var order.getPayment().getMethodInstance().getTitle()}}
However, this didn't work. in fact, the payment method is not showing at all right now..
Is there anyone has a good solution for my problem ?
Solved! Go to Solution.
Hello,
My issue has been solved when I modified the Email from DB by changing is_legacy from 0 to 1.
Kindly refer below link for your issue:
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/templates/template-email.html
It may help you!
Problem Solved? Please click on 'Kudos' & Accept as Solution!
Hello @achahinewiffa8
'payment_html' => $this->getPaymentHtml($order),
Hii Bhanu Periwal,
This works really well for us, Thanks for the update and quick reply. I'll be sure to keep an eye on this thread MyGroundBiz.com