Checkout: WP Affiliate Platform

With the WordPress Shopping Cart plugin, the Affiliates Tracking extension and WordPress Affiliate Platform you can promote your products/services through an affiliate program to increase your sales drastically and be more successful with WordPress e-Commerce.

You can track/record sales/conversions to log commissions for your affiliates promoting your products/services and then do payouts to your affiliates through WordPress Affiliate Platform.

Follow these steps to setup the WordPress Shopping Cart plugin with WordPress Affiliate Platform using the Affiliates Tracking extension.

 

Install the WordPress Shopping Cart plugin

Assuming that you have a WordPress website ready and that you don’t have the WordPress Shopping Cart plugin installed and configured. You’ll purchase the WordPress Shopping Cart plugin and follow the installation instructions to install and activate it.

 

Install the Affiliates Tracking extension

In addition to the WordPress Shopping Cart plugin mentioned in Step 1, you’ll need to install and activate the Affiliates Tracking extension plugin which gives you the ability to configure clicks and sales tracking codes accordingly.

 

Get WP Affiliate Platform

You can get the WordPress Affiliate Platform directly from Tips & Tricks HQ. A license costs only $49.95 and it is a great WordPress affiliate tracking software built right into your WordPress installation for easy management.

Then you’ll install and activate the WordPress Affiliate Platform. They have easy to follow installation and upgrade instructions in case you need it.

 

Insert WP Affiliate Platform Tracking Code

Based on the WP Affiliate Platform API: Awarding Commission Via WordPress Hook, you can easily insert a bit of code into the ‘Sales Tracking‘ box of the Affiliates Tracking extension of the WordPress Shopping Cart plugin under Checkout > Configuration > Affiliates Tracking.

You’ll choose ‘PHP Code‘ for the ‘Type of Code‘ setting and then put the following code into the ‘Sales Tracking Code‘ text area and then save the settings:

$sale_amt = "{affiliates_ordertotal}";
$unique_transaction_id = "{affiliates_orderid}";
$email = "{affiliates_useremail}";
$referrer = $_COOKIE['ap_id'];
do_action('wp_affiliate_process_cart_commission', array("referrer" => $referrer, "sale_amt" => $sale_amt, "txn_id" => $unique_transaction_id, "buyer_email" => $email));

You can get the code here: https://pastebin.com/VKRZENqe

IMPORTANT: Be sure to copy the code from the RAW Paste Data on the Pastebin link above and not directly from this documentation.

It should look like this:

 

And you’re all done! Your sales will now be logged into the WordPress Affiliate Platform plugin.

Earn Money by Referring People

Refer customers to us with your affiliate link and earn commission on sales from your link.

Get Started

Pin It on Pinterest