Am trying to override the sales order email and I did that override but I have doubt in code, In that email template they called variable like

{{var payment_html|raw}}

in payment methods, I want to know in which file this variable is calling please tell me.

1 Answer 1


You can find payment_html in: \Magento\Sales\Model\Order\Email\Sender\OrderSender::prepareTemplate()


Your Answer

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

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