Thursday, 27 October 2011

Email Variables in Magento

Please add or edit as necessary.

- For registration:

{{var customer}} Will print out all customer information

{{var customer.ID}}

{{var customer.email}}

{{var customer.firstname}}

{{var customer.lastname}}

{{var customer.name}}

{{var customer.password}}

{{var customer.created_in}} Store Name

{{var customer.dob}} Date of Birth

{{var customer.password_hash}}

{{var customer.prefix}}

{{var customer.middlename}} Initial

{{var customer.suffix}}

{{var customer.group_id}}

{{var customer.taxvat}}

{{var customer.store.name}} What store they registered with (On Demo store this will display as ‘English’

{{var customer.store.group.name}} The actual Store’s name (not the Store View’s)

- To subscribe/unsubscribe newsletter:

{{var subscriber.getConfirmationLink()}}

{{var subscriber.getUnsubscriptionLink()}}

{{var subscriber.email}}

- Send to a friend:

{{var product_image}}

{{var name}} Recipient’s Name

{{var email}} Recipient’s Email

{{var product_name}} Product Name

{{var product_url}} Product Url

{{var message}} Message Text

{{var sender_name}} Sender’s Name

{{var sender_email}} Sender’s Email

{{var product_image}} Product Image

 

 

Ref: http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/system_email_template/index

5 comments :

  1. I like this web site it's a master piece! Glad I discovered this on google.

    ReplyDelete
  2. Great writings! That is the kind of information that should be shared around the web. Disgrace on the search engines for not positioning this post upper! Come on over and seek advice from my web site . Thanks =)

    ReplyDelete