Affiliate Software Documentation

Commission Integration with WooCommerce

Affiliate Manager has a free WordPress Plugin for integrating with WooCommerce. The plugin also supports automatic registration and login via the Affiliate Manager Automation API.

Click Here to Download the Plugin

Install the plugin using the standard method of installing plugins in WordPress.  Please make sure you have WooCommerce installed as it won't work if WooCommerce is not available.

If you don't want to use the plugin, you can follow the steps below for the traditional integration method:

  1. Edit the file wp-content/plugins/woocommerce/templates/checkout/thankyou.php
  2. Look for the following line of code:
    <?php do_action( 'woocommerce_thankyou', $order->id ); ?>
  3. Place the following code below that line:
    <img src="http://www.domain.com/affiliates/sale/amount/<?php echo $order->order_total; ?>/trans_id/<?php echo $order->id; ?>" width="1" height="1" border="0" />
  4. Make sure to change the www.domain.com/affiliates to point to your Affiliate Manager installation URL.