カスタム拡張機能に取り組んでいます。2 つの問題に直面しています。
1) でカスタム HTML ページを作成しましたLocale->en_Us->template->email->testEmail.hmtl
。そして、これは私のconfig.xmlコードです:
<template> <email>
<mymodule_email_settings_client_email_template>
<label>Follow up Emails</label>
<file>test_email.html</file>
<type>html</type>
</mymodule_email_settings_client_email_template>
</email>
</template>
コントローラーにロードしようとすると、空が返されます。これは、テンプレートにアクセスするコードです。
$emailTemplate = Mage::getModel('core/email_template')->loadDefault('mymodule_email_settings_client_email_template');
2) ID を使用してトランザクション テンプレートとニュースレター テンプレートをロードしたいカスタムメールでそのテンプレートを使用しますか? ありがとう