I want to change the content of thank you email sent to a user when he is subscribed to newsletter in magento.
Subscription form is in /app/design/frontend/base/default/template/newsletter/subscribe.phtml
:
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
</form>
getFormActionUrl function I found in /app/code/core/Mage/Newsletter/Block/Subscribe.php
:
public function getFormActionUrl()
{
return $this->getUrl('newsletter/subscriber/new', array('_secure' => true));
}
I am new to magento, getUrl function is defined in many files, can any one point me to the file directly which have thank you for newsletter subscribing email message.
Mahendra,如果你想改变唯一的模板请
app>locale>en_US(your language)>template>email>newsletter_subscr_success.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.