Hello, you need to change the letter template sent to the client after the order. I changed the admin panel, but as I understand it, the programmer who made the site changed the settings in the code, because changing any transactional letter doesn’t give anything. Who can tell where the file / controller is located who is responsible for sending transactional letters to magento?
- Magento 1 or 2? - Siarhey Uchukhlebau
- @SiarheyUchukhlebau Magento 1.9.2.3 - Lada
|
1 answer
If you need to catch a letter template, then look at the method Mage_Core_Model_Email_Template::sendTransactional() ( app/code/core/Mage/Core/Model/Email/Template.php )
Note the following code:
if (is_numeric($templateId)) { $queue = $this->getQueue(); $this->load($templateId); $this->setQueue($queue); } else { $localeCode = Mage::getStoreConfig('general/locale/code', $storeId); $this->loadDefault($templateId, $localeCode); } Do not forget to look in advance if the other module rewrites this model, since This is the most common problem with sending emails.
|