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:
- In your Magento Backend please go to “Plumrocket” in the main menu.
- From the list of extensions select “Affiliate Programs”.
- Click on “Manage Affiliate Programs”.
Step-by-Step action:
- Press on “Add New Affiliate Program”.
Step-by-Step action:
- Select “Custom”.
- Press “Continue” button.
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:
- Name: allows you to indicate the name of your Affiliate Program.
- Status: allows to enable or disable your Affiliate Program.
- Store View: allows you to select the Storeview(s) where your Affiliate Program will be executed.
Step-by-Step action:
- JavaScript Library File: allows you to upload the JavaScript Library File which you need to execute.
- Code: allows to insert the code which you need to execute.
- Execute On: allows to select the page(s) where you want the JavaScript Library File and Code to be executed.
- Repeat steps 1-3 in this section if necessary.
- Repeat steps 1-3 in this section if necessary.
- Click “Save” button to save your settings.
List of available variables
Variable | Description |
---|---|
order_subtotal | Order Subtotal |
order_id | Order ID |
order_date | Order Date |
order_coupon_code | Coupon Code used for Order |
order_discount_amount | Discount Amount in the Order |
order_tax_amount | Tax Amount in the Order |
order_currency_code | Currency Symbol in the Order |
customer_email | Customer Email Address |
customer_name | Customer Name |
delivery_country | Country 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:
- Please go to the page on which you indicated the JavaScript Library File or Code to be executed.
- 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.