
A quick tip for Magento developer’s here, in how to add an unsubscribe link into a newsletter template so that the person can unsubscribe from the newsletter if they chose to do so.
Simply add {{var subscriber.getUnsubscriptionLink()}} into your template in order to output the link for the user to unsubscribe. This even works for people who aren’t registered customers of the Magento installation but that you’ve imported into your system as subscribing to the newsletter.
Full example of a link in your template to unsubscribe:
<a href=”{{var subscriber.getUnsubscriptionLink()}}” title=”Click here to unsubscribe from this newsletter”>Unsubscribe</a>
Share this with friends:
Like what you've just read? Share it to your friends using your favourite service below:
Comments:
Add a Comment: