How to override the \Magento\Sales\Model\Order\Email\Sender::prepareTemplate() method?

(Poongudivanan N) #1

How to override the abstract class protected method in the blow class

\Magento\Sales\Model\Order\Email\Sender;
protected function prepareTemplate(Order $order)

I have tried preference but is not working.

0 Likes