You are here: Blog » Code Snippets » Magento Send to Friend Sender Name

Magento Send to Friend Sender Name

You can use this code snippet to include the Magento Send to Friend Sender Name in your email templates.

Using this variable in your email template, your visitors will be able to have their names automatically signed at the bottom of the email, when they choose to notify their friends about a given product. This will help to increase the trustworthiness of the email so the friend will be able to tell that it’s not just another spam message.

An example email message might look something like:

Hey, just thought you might be interested in taking a look at Johnson’s Magic Toothpaste. Check out the link: http://www….

Your friend,

Dave Williams

To reference the sender name, just include the variable


within your email template. Not sure why it’s not in the email template by default, but now you know how do it.

This entry was posted in Code Snippets and tagged by .

Author: justin saad

Justin Saad is first and foremost a husband and a father of four. He is also a web developer and designer who has been making websites for over twenty years. His company is called The Motech Network and his website is In addition to building websites, Justin makes WordPress plugins and likes writing tutorials to help others learn about various aspects of web development.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">