Miva Merchant 5 Module FAQs » Affiliate Manager 5.x (BROK_AFFILIATES5)


{docurl}

Displaying the products in affiliate order notification emails

I'd like to inform my affiliates of what products were purchased in orders referred by them. How do I go about it?

The module now supports the use of the %products% token in the affiliate notification email.  Below the template fields in the module's admin for the email 'body' you'll now find fields for the "product template" and "attribute template".  There are a set of fields for the default order notification email (on the module's main "Options" tab) and for each individual affiliate.  You can add the products listing to the body template with the token %products%.

This token will be replaced by once instance of the "Product Template" for each product in the order.  Tokens available in that field are:

%proddesc%
%prodname%
%prodcode%
%prodweight%
%prodprice% (the product price as it appears in admin)
%prodpriceF% (formatted using the currency module)
%prodprice% (the price paid)
%prodpriceF% (formatted using the currency module)

%prodcost%
%prodcostF%
%prodquantity% (quantity purchased)
%produpsold% (set to 1 if product was "upsold")
%prodtaxable% (set to 1 if product is taxable)
%prodlineid% (the "line id" of the product in Mercahnt's database)
%prodtotal% (price paid x quantity)
%prodtotalF% (formatted using the currency module)

%attributes% (replaced with one instance of the "Attribute template" for each attribute associated with the product)

And in the attribute template:

%attrcode%
%optcode%
%attrprice%
%attrpriceF% (formatted using the currency module)
%attrcost%
%attrdata% (data collected in a text field)
%attrdatalong% (data collected in a memo field)
%attrtotal%
%attrtotalF% (formatted using the currency module)



Last update: 2009-08-13 18:12
Author: Michael Brock
Revision: 1.1

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry