How to setup Referral Candy on WooCommerce 

Learn how to setup a referral program on your WooCommerce store using Referral Candy.

For example, we are going to setup a Give $10, Get $10 referral program. You will need to sign up for Referral Candy to set this up. Referral Candy offers a free trial if you are trying to decide if you want to use this on your store.

https://www.youtube.com/watch?v=4aXSjDcLVzk

Links

Code Snippet

Here is the code snippet to install the Referral Candy Referral Widget on your site.

function referral_candy_widget() {
	// Add your code here

   ?>
<div id="refcandy-poprocks" data-id="k24oakgsl2l4zs389sc48lrj7" data-location="right" data-minimized="no" data-version="2"></div>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//portal.referralcandy.com/assets/widgets/refcandy-poprocks.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","refcandy-poprocks-js");</script>
   <?php
}
add_action( 'wp_footer', 'referral_candy_widget' );
Simon Gondeck

I’m a big fan of WordPress + WooCommerce (especially WooCommerce Subscriptions). Check out my YouTube channel.

Leave a Comment