ShareASale Affiliate Tracker

From AbleCommerce Wiki
Revision as of 13:00, 1 June 2010 by Mazhar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Edit your website/conlib/ReceiptPage.ascx.cs file
  • Add following property to the code and save it
public string GetImage
    {
        get
        {
            string image = "<img width=\"1\" height=\"1\" SRC=\"https://shareasale.com/sale.cfm?amount=" + _Order.TotalCharges.ToString() + "&tracking=" + _Order.OrderId.ToString() + "&transtype=sale&merchantID=#####\" />";
            return image;
        }
    }
  • Edit your website/conlib/ReceiptPage.ascx file and put following line of code where you want the ShareASale image to appear
<% = GetImage %>
  • Save the file and test new changes by creating some demo orders.