1

I am looking for (and am so far unable to find) a way to load all the transactional email templates in Magento 1.

Is there a way to do this? I don't want to load a single one, I need to load them all at once.

1

You can use the following code:

$templates =  Mage::getResourceSingleton('core/email_template_collection');
foreach($templates as $template) {
     $singleTemplateData = $template->getData();
     // Do what you need here
}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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