Categories
CMS Development Magento

Magento 2 – Order confirmation email not use override file

In magento 2, I have this problem :

This file : vendor\magento\module-sales\view\frontend\templates\order\totals.phtml
is override here : app\design\frontend\Vendor\Theme\Magento_Sales\templates\order\totals.phtml

The override works fine when I send order confirmation email from admin in order edit (template use app\design\frontend\Vendor\Theme\Magento_Sales\templates\order\totals.phtml)

But when email is send automatically after an order, the file use is core file : vendor\magento\module-sales\view\frontend\templates\order\totals.phtml

Do you know why ?

And where to make the change for the automatically sent email?

Leave a Reply

Your email address will not be published. Required fields are marked *