ShareASale Affiliate Tracker

From AbleCommerce Wiki
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.