WordPress Affiliate Platform

Take control of your affiliates and drive more sales

  • Documentation
  • Affiliate Platform Plugin
  • Projects
  • Home

Affiliate Platform Integration with the Shopp plugin

Please follow one of the integration methods below to integrate the WP Affiliate Platform plugin with the Shopp Plugin.

What can you expect from this Shopp Plugin affiliate integration?

The following points shows the usual flow of events that you can expect:

  1. You place Shopp plugin product(s) on your WordPress powered site.
  2. An affiliate sends a visitor to your store (The affiliate plugin detects this referral and tracks the click).
  3. The visitor decides to buy your product so he clicks on the “Buy” button which will add the product to shopp plugin cart.
  4. Clicking on the checkout button takes the visitor to the payment page where the visitor can pay for the product.
  5. After the visitor makes a payment, he/she gets redirected to the “Thank You” page.
  6. The affiliate plugin detects that this sale was referred by an affiliate so it awards appropriate commission to the referrer.

Integration Steps for Shopp plugin

Download and install the WP Affiliate and Shopp Integration addon plugin.

All done! Perform an affiliate test purchase to make sure commission is awarded after the purchase correctly.

Filed Under: 3rd Party Cart Integration Tagged With: 3rd party Integration, Shopping Cart Integration, WP Affiliate Platform

Comments

  1. admin says:

    How much is the price of the product? Sometimes users test with small price items (for example $0.01) and when you calculate commission on this amount it becomes so close to 0.0 that the amount becomes $0.00. When you are selling properly priced items you won’t see this issue.

  2. Stuart Anderson says:

    Hi! Great plugin. Very impressed with interfaces and functionality.

    I have installed the two plugins + added in code to checkout.php file as per your instructions above.

    The plugin records the sales transactions OK (5 test transactions so far). The problem is that all of the commission amounts are $0.

    Any suggestions? I am happy to email you access details for plugin.

  3. admin says:

    @Peter, If you can give me a link to the documentation where it explains how to use the following hook then I will look into it:

    shopp_tag_checkout_cart-summary

  4. Peter Chester says:

    FYI, I think this can be done without hacking the checkout file. I haven’t tested this completely yet, but there’s a filter that is run in the checkout file that we can hook into. Something like this.

    // Add Shop Referral to shop
    function addShopReferral($results) {
    if (function_exists('wp_aff_shopp_get_referrer')) {
    $referrer = wp_aff_shopp_get_referrer();
    $referrer_string = "type=hidden&name=referrer&value=".$referrer;
    shopp('checkout','order-data',$referrer_string);
    }
    return $results;
    }
    add_filter('shopp_tag_checkout_cart-summary','addShopReferral');

  5. Ivy says:

    Hi Laura, Please download the new version of the integration plugin above.This issue was fixed in version 1.1.

  6. Laura says:

    The tax and shipping are not removed. The code is pulling the total from the purchase_log table which includes shipping and tax.

  7. Ivy says:

    @Nathan, No the Affiliate Platform does not use the same table as WordPress. The Affiliate Platform creates it’s own user table within the WordPress database.

  8. Nathan Barry says:

    Does the affiliate plugin use the same users table as WordPress? Or is it storing its own set of users?

  9. Ivy says:

    Hi Ray, The Affiliate should automatically disregard the shipping and tax when calculating the Affiliate Commission. Can you please check this and if it is not disregarding the shipping please let us know and I will have Amin (The Developer) take a look at this.

  10. Ray says:

    Great plugin! Incredibly useful and easy to use.
    One question though. When giving an affiliate a % of the total sale, is there a way to remove the shipping costs from that total? I’m using the shopp plugin (and your integration plugin).

    I appreciate it. Thank you.

  11. admin says:

    Did you do step 1 (Ask me for the “WP Affiliate and Shopp Integration plugin”)?

  12. raygun says:

    Hi,

    I also have the same problem.

    What I’ve noticed that adding the bit of code stated above doesn’t work.

    I checked all the files on wp-affiliate-platform plugin but I didn’t found this function ‘wp_aff_shopp_get_referrer’.

    I guess that’s the reason why it didn’t tract the sales.

    Is function ‘wp_aff_shopp_get_referrer’ really exist? That is the big question.

    Please let me know your thought guys. Really need to fix this.

    Thanks in advance.

  13. admin says:

    Thanks for that… I looged into the affiliate using “testtest” account but didn’t see any clicks. Did you simulate the affiliate click. Where did you put the affiliate link for testing? Do you have a test product (e.g. for $0.01) that I can purchase to see how it goes?

  14. Andre says:

    Sure! My site is http:www.musiktavling.nu and the products are at http://www.musiktavling.nu/shop/

    The affiliate-page is at http://www.musiktavling.nu/affiliate/

    I had the link in an e-mail, but the link is musiktavling.nu

    This link is for my test-affiliate “testtest”. You can take a look using login: testtest, passw: abc123

    Thanks!

  15. admin says:

    Can you please post a link to your site (the products page)? Also, post a link to the test page where you have the affiliate link too.

  16. Andre says:

    Hi!

    I can´t get this to work. I have installed the Integration plugin as described here and changed the checkout.php in Shopp.

    The affiliate-plugin works up to the point of adding commision for each sale. Visitors can sign up and wneh using the link/banner, wp-affiliate track the lead. But when I make a test-purchase, wp-affiliate doesn´t track the sale.

    The Shopp-plugin tracks the order and I have changed the order-status from “Pending” to “Complete”. But wp-affiliate don´t add any commision to the referrer.

    Where do I start debugging?

  17. admin says:

    You can download it from this page. Look at the link provided in step 1 of this documentation.

  18. JR Calvert says:

    How do we received the WP Affiliate and Shopp Integration plugin?

    Thanks,
    JR

Leave a Reply

Your email address will not be published. Required fields are marked *

affiliate plugin infographic

Search

Recent Comments

  • admin on WP Affiliate Platform Frequently Asked Questions (FAQ)
  • Alex on WP Affiliate Platform Frequently Asked Questions (FAQ)
  • admin on WordPress Affiliate Platform Features
  • Ken Hammond on WordPress Affiliate Platform Features
  • admin on WooCommerce and WP Affiliate Software Plugin Integration

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | WP Affiliate Plugin