Showing posts with label Get Content part in Email Template magento | Get Content in Email Template magento | Get template text in Email Template magento. Show all posts
Showing posts with label Get Content part in Email Template magento | Get Content in Email Template magento | Get template text in Email Template magento. Show all posts

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');