Friday, 20 December 2013

Get Only Content part in Email Template magento


Get Only Content part in Email Template magento

$mailTemplate = Mage::getModel('core/email_template');
$myTemplate = $mailTemplate->load($templateId);
$content = $myTemplate->getData('template_text');

No comments: