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:
- You place Shopp plugin product(s) on your WordPress powered site.
- An affiliate sends a visitor to your store (The affiliate plugin detects this referral and tracks the click).
- The visitor decides to buy your product so he clicks on the “Buy” button which will add the product to shopp plugin cart.
- Clicking on the checkout button takes the visitor to the payment page where the visitor can pay for the product.
- After the visitor makes a payment, he/she gets redirected to the “Thank You” page.
- 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.
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.
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.
@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
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');
Hi Laura, Please download the new version of the integration plugin above.This issue was fixed in version 1.1.
The tax and shipping are not removed. The code is pulling the total from the purchase_log table which includes shipping and tax.
@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.
Does the affiliate plugin use the same users table as WordPress? Or is it storing its own set of users?
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.
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.
Did you do step 1 (Ask me for the “WP Affiliate and Shopp Integration plugin”)?
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.
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?
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!
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.
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?
You can download it from this page. Look at the link provided in step 1 of this documentation.
How do we received the WP Affiliate and Shopp Integration plugin?
Thanks,
JR