[英]how to change content of newsletter email - Magento
我想更改發送給用戶的感謝電子郵件的內容,當他訂閱magento的時事通訊時。
訂閱表格位於/app/design/frontend/base/default/template/newsletter/subscribe.phtml
:
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
</form>
我在/app/code/core/Mage/Newsletter/Block/Subscribe.php
找到的getFormActionUrl函數:
public function getFormActionUrl()
{
return $this->getUrl('newsletter/subscriber/new', array('_secure' => true));
}
我是magento的新手,getUrl函數在很多文件中定義,任何人都可以直接指向我的文件,感謝您訂閱電子郵件的新聞通訊。
Mahendra,如果你想改變唯一的模板請
app>locale>en_US(your language)>template>email>newsletter_subscr_success.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.