Installing Woocommerce social reward / coupon is like any other WordPress plugin.

  1. In your WordPress dashboard, add a new plugin using the upload feature
  2. Select the xcid-social-reward.zip file NOT the file you downloaded from CodeCanyon.
  3. Once installed you can activate the plugin and continue with the setup.
  4. Advanced : You can also use a shortcode for custom page [\xc-social-reward] (remove the backslash)
  5. More Advanced : You can also use a php WC()->social_reward->display_coupons()

After you have installed the plugin you have to create your coupon. For that, you have to choose whether you will use the simple mode or the multiple mode

  1. Simple mode : Juste create one coupon, with the reward you want
  2. Multiple mode : Create for each action the specific reward you want.

When you create the coupon, the description field will be use as text on your cart, so DONT FORGET to fill it.

Then you can go to the settings page (on WooCommerce -> Settings), you will see Social Reward Tab

General Options

  • Enabled : You can here enable or disable the plugin
  • Coupon setup : Choose here if you want the simple way or the multiple (if simple, you can choose the coupon on the select box)
  • Enable the block coupon : Check this checkbox if you want to disable the use for your coupon without an social action (if the user use the coupon text area)
  • Enable if you want to have unique use by your customer (base on account / email) : You can choose to enable the unique use of the coupon
  • Advanced unique use : Increment this variable if you want to reset the permission on unique use feature.
  • Box setup : Edit here the Title / Content and Thank you message
  • Cart setup : Choose if you want to display on cart page
  • Checkout setup : Choose if you want to display on checkout page
  • Product setup : Choose if you want to display on product page

Create Facebook App : 

  • Go to : https://developers.facebook.com/docs/apps/register
  • And follow this instruction to create a new Website App
  • Add a Contact Email in Settings tab, and make the app on line in Status & Review tab
    AppOnline
  • Add your app id in Facebook section of your plugin in your website

FacebookApp

Facebook Options

  • Enabled : You can here enable or disable the Facebook feature
  • Like action enable : Choose here if you want to enable the like action, don’t forget to mention your facebook page
  • Multicoupon code : If you are on multicoupon mode, choose the coupon to apply if the action is validated
  • Share action enable : Choose here if you want to enable the share action, for that you will need to fill some info about an api key (http://www.shoutmeloud.com/how-to-acquire-your-facebook-api-key.html)
  • Share the current page : If the user is on a product page, share this page instead of the share url configured
  • Multicoupon code : If you are on multicoupon mode, choose the coupon to apply if the action is validated

WARNING : After updating the Facebook API, it is now no longer possible to pass the title, image, and message.
To customize rendering in the Facebook popup, you should now use meta og tags on the page you share.
See here : Facebook share documentation

Create Twitter App : 

  • Go to : https://apps.twitter.com/app/new
  • And create a new app.
  • For callback URL, please add this URL : http://YOURWEBSITE.COM/wp-content/plugins/xcid-social-reward/xc-twitter-login.php
  • Select read and write permission to the app
  • Add your app id and app secret in Twitter section of your plugin in your website

TwitterApp

Twitter Options

  • Enabled : You can here enable or disable the Twitter feature
  • Tweeter APP ID : You need to register an APP here : https://apps.twitter.com/, don’t forget to put read and write permission to the app
  • Tweeter APP Secret : Provided by twitter
  • Tweet action enable : Choose here if you want to enable the tweet action
  • Tweet url : the url to tweet
  • Tweet message : the predifined message to tweet
  • Share the current page : If the user is on a product page, tweet this page instead of the tweet url configured
  • Multicoupon code : If you are on multicoupon mode, choose the coupon to apply if the action is validated
  • Follow action enable :  Choose here if you want to enable the follow action
  • Username : Twitter account to follow
  • Multicoupon code : If you are on multicoupon mode, choose the coupon to apply if the action is validated

Create Linkedin App : 

  • Go to : https://www.linkedin.com/developer/apps/new
  • And create a new app.
  • Choose “r_basicprofile” and “w_share” in authorization section
  • Add a callback url : http://YOURWEBSITE.COM/wp-content/plugins/xcid-social-reward/xc-linkedin-login.php

LinkedinApp

Linkedin Options

  • Enabled : You can here enable or disable the Linkedin feature
  • Linkedin APP ID : App Id of your Linkedin App
  • Linkedin APP Secret : App Secret of your Linkedin App
  • Share Action : Choose here if you want to enable the Share action
  • Prefilled message for user to share : Text to share for user
  • Url to share : Url to share in Linkedin
  • Title to share : Title to share in Linkedin
  • Description to share : Description to share in Linkedin
  • Image to share : Image to share in Linkedin
  • Multicoupon code : If you are on multicoupon mode, choose the coupon to apply if the action is validated
  • Button text to valid share : Text of Valid button in share modal
  • Button text to cancel share : Text of Cancel button in share modal

Create VK App : 

vkApp

VK Options

  • Enabled : You can here enable or disable the VK feature
  • Like action enable : Choose here if you want to enable the like action
  • App id : VK App id
  • Page id to like : The id page to like
  • Multicoupon code : If you are on multicoupon mode, choose the coupon to apply if the action is validated

For any help of support, please contact us

Thank You