{docurl}
Is it possible to display data about the referring affliate on the Merchant pages and on the Invoice screen and notification emails?
Yes it is. On each page in the store and during the processing of the order, the Affiliate Manager defines a number of global variables which can be accessed in the store and on the Invoice page and notification emails (for you developers out there, these varialbes are available at any point after the module's FulfillmentModule_ProcessOrder() function is processed).
The data can be accessed with a component token of the form:
&mvt:global:AffiliateData:code;
This token would display the referring affiliate's "code". It is arrived at by getting the variable below, g.AffiliateData:code, removing the g., adding:
&mft:global:
at the front, and ; at the end.
The global variables that are defined for the affiliate include:
g.AffiliateData:code
g.AffiliateData:id
g.AffiliateData:fname
g.AffiliateData:lname
g.AffiliateData:email
g.AffiliateData:company
g.AffiliateData:phone1
g.AffiliateData:phone2
g.AffiliateData:fax
g.AffiliateData:address
g.AffiliateData:city
g.AffiliateData:state
g.AffiliateData:country
g.AffiliateData:payout (the payout for this particular order)
An example application would be to display an affiliate specific log in the store. If you name your logo graphics based on the affiliate's code (eg. alpha_logo.jpg, beta_logo.jpg, etc. for affiliates with code alpha, beta, etc.) you can "construct" the image path for the referring affiliate with:
<img src="&mvt:global:AffiliateData:code;_logo.jpg">
Last update: 2008-04-10 15:08
Author: Thor
Revision: 1.2
You cannot comment on this entry
Records in this category
- Is it possible to display data about the referring affliate on the Merchant pages and on the Invoice screen and notification emails?
- How do we get multi tier payout this is very important that if level 1 sign ups a level 2 affiliate they get credit for the orders that the level 2 has.
- How do I configure product specific payouts for each affiliate? I'd like to pay some affiliates more than others for certain products or categories of products.
- How do I display data from Affiliate Manager in the orders exported by Generic Orders Export?
- When a new affiliate signs up I would like to have the notification emails sent to every affiliate in the referral chain. Is this possible?
- Is there any way to configure specific global headers and footers for each affiliate that will show up any time a customer they referred is shopping in the store?
- Making fields on the "New Affiliate Sign-up" page required
- What does the "Associate by zip code?" option do?
- Displaying messages for failed login attempts
- Displaying the referral prompt at checkout
- Displaying the products in affiliate order notification emails














