Difference between revisions of "ShareASale Affiliate Tracker"

From AbleCommerce Wiki
Jump to: navigation, search
(New page: * Edit your website/conlib/ReceiptPage.ascx.cs file * Add following property to the code and save it <pre> public string GetImage { get { string image = "<...)
 
(No difference)

Latest revision as of 13:00, 1 June 2010

  • 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.