Referral/Affiliate Extension Customization

Custom E-mail Template Variables

Please note: This only works for MageRewards Referral Extension versions 3.1 and newer.

Generic Variables

These variables will work for any MageRewards Referral Extension e-mail templates:

  • Store URL:
    {{store url=""}}
    	
  • Current Magento Store Name:
    {{var store_name}}
    	
  • Affiliate URL:
    {{var affiliate_url}}
    	
  • Affiliate Code:
    {{var referral_code}}
    	
  • Affiliate Shortcode:
    {{var referral_shortcode}}
    	

Referral Invitation E-mail

  • Affiliate (sender) full name:
    {{var affiliate.name}}
    	
  • Affiliate (sender) email:
    {{var affiliate.email}}
    	
  • Referral Full Name:
    {{var referral.referral_name}}
    	
  • Referral Customer (this is a 'rewardsref/referral' object):
    {{var referral}}
    	
  • Affiliate Customer (this is a 'rewards/customer' object):
    {{var affiliate}}
    	
  • Custom message from the person sending the invitation:
     {{var msg}}
    	

Affiliate New Earnings Notification E-mail

  • Affiliate (sender) full name:
    {{var affiliate.name}}
    	
  • Affiliate (sender) email:
    {{var affiliate.email}}
    	
  • Referral Full Name:
    {{var referral.referral_name}}
    	
  • Points earned due to referral action:
    {{var points_earned}}
    	
  • Referral Customer (this is a 'rewardsref/referral' object):
    {{var referral}}
    	
  • Affiliate Customer (this is a 'rewards/customer' object):
    {{var affiliate}}
    	
  • The points transfer comments as configured in admin for this event
    {{var msg}}
    	

Still need help? Get Help Get Help