Magento Affiliate Programs v1.x Custom Affiliate Program Configuration

Managing Custom Affiliate Program in Magento

In this article, you will learn how to create and configure your Custom Affiliate Program in the Magento Affiliate Programs extension. Please follow the step-by-step instructions below.

Step-by-Step action:

  1. In your Magento Backend please go to “Plumrocket” in the main menu.
  2. From the list of extensions select “Affiliate Programs”.
  3. Click on “Manage Affiliate Programs”.
border

Step-by-Step action:

  1. Press on “Add New Affiliate Program”.
border

Step-by-Step action:

  1. Select “Custom”.
  2. Press “Continue” button.
Affiliate programs custom conf1

Configuring Custom Affiliate Program in Magento

Once you created the Custom Affiliate Program, you will need to configure it. Please follow the step-by step instructions below.

Step-by-Step action:

  1. Name: allows you to indicate the name of your Affiliate Program.
  2. Status: allows to enable or disable your Affiliate Program.
  3. Store View: allows you to select the Storeview(s) where your Affiliate Program will be executed.
ConfigureCustom1

Step-by-Step action:

  1. JavaScript Library File: allows you to upload the JavaScript Library File which you need to execute.
  2. Code: allows to insert the code which you need to execute.
  3. Execute On: allows to select the page(s) where you want the JavaScript Library File and Code to be executed.
  4. Repeat steps 1-3 in this section if necessary.
  5. Repeat steps 1-3 in this section if necessary.
  6. Click “Save” button to save your settings.
ConfigureCustom2

List of available variables

VariableDescription
order_subtotalOrder Subtotal
order_idOrder ID
order_dateOrder Date
order_coupon_codeCoupon Code used for Order
order_discount_amountDiscount Amount in the Order
order_tax_amountTax Amount in the Order
order_currency_codeCurrency Symbol in the Order
customer_emailCustomer Email Address
customer_nameCustomer Name
delivery_countryCountry of Delivery

Important Information:

How to test if your Affiliate Program is installed properly? Please follow the instructions below.

Testing Custom Affiliate Program in Magento

Step-by-Step action:

  1. Please go to the page on which you indicated the JavaScript Library File or Code to be executed.
  2. Using your browser’s Developer Tool (“F12” key on your keyboard) open search bar (“Ctrl+F” keys on your keyboard) and look for the JavaScript Library File or Code which you uploaded for execution.

Once you locate the JavaScript Library File or Code which you uploaded for execution – this means that your Custom Affiliate Program has been set up correctly. Now login at your Affiliate Network and verify that your transactions are being tracked correctly.

Was this article helpful?