1.Overview

Points and Rewards for WooCommerce plugin allow the merchants to assign points to customers on signup while purchasing products, or other activities performed on-site. The customers can redeem the earned points to get discounts on the purchase or to avail of the benefits of the membership program.

 Features: 

  1. The merchant can provide the points to their customer at the signing in on your website, Referral Signup, Referral Purchase, Product Assign, Points on Order Total, and Per Currency Spend.
  2. Redeem those points on the Cart subtotal as well as use them to get the membership. 
  3. Using the Membership feature you can allow your customers to get a discount on the products.
  4. Notify the user about their points by the Notification Mail.
  5. Shortcodes for displaying the notification anywhere on site.
  6. Points Log for Customer and Merchant.
  7. Points table for a merchant to update the customers’ points with the remark.
  8. Customers can apply points on the cart as well as on the checkout page.

2.Installation

1. Automatic Installation
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser.
The steps are as follows :
(i) Download the zip folder of the plugin Points and Rewards for WooCommerce.
(ii) Once downloaded install Points and Rewards for WooCommerce plugin through browsing and activate it.

 

2. Manual Installation
The manual installation of the plugin is another option to install the plugin to your WordPress-environment. The manual installation method involves downloading our Points and Rewards for WooCommerce Extension and uploading it to your webserver via your favorite FTP application.
The steps are as follows :
(i) Upload the Points and Rewards for WooCommerce folder to the /wp-content/plugins/ directory.
(ii) Activate the Points and Rewards for WooCommerce plugin through the ‘Plugins’ menu in WordPress.

 

Note:
Before activating the Points and Rewards for WooCommerce, you should have the Points and Rewards for WooCommerce – WordPress plugin else the plugin will not function.

So, if you don’t already have it, you can download it directly from here:

Download Zip

3. General Settings

general setting
  • After the successful installation of the plugin, first of all, enable the plugin.
  • Go to the admin panel click on the WooCommerce > Points and Rewards > General Setting.
  • Enable the points and Rewards settings by clicking on the checkbox.
  • Click on Save Changes.

3.1.Signup Setting

Enable the Signup Points for the user. Through this setting when the user signs up on your site then they will get some signup points as a reward.

points and rewards for woocommerce
  • Go to the admin panel click on the WooCommerce > Points and Rewards > General Setting.
  • Enable the Sign-up point settings and enter the signup points. A new user will get the signup points whenever they successfully signup on your site.
  • And lastly, click on the “Save Changes” button.
points and rewards for woocommerce

The user can see their Points Log Table through these steps:

  • Go to My Account Page.
  • Click on the “Points” tab from the sidebar.
  • And the last click in  View Points log link.
points and rewards for woocommerce

3.2.Referral Setting

Enable the Referral Setting for the customers – Through this setting customers will get the points on the referee (the user invited by the customer) purchase.

points and rewards for woocommerce
  • Go to the admin panel click on the WooCommerce > Points and Rewards > General Setting.
  • Enable the Referral Points settings and enter the Referral Points.
  • Click on the “Save Changes” button.

After successfully enabling settings, customers can share the referral link with other users.

points and rewards for woocommerce

From the My Account Page, they can copy the referral link and share it with other users.

points and rewards for woocommerce

3.3.Comments Points Settings

The admin can:

  • Enable Comments Points: Check this box to allow your users to earn points on giving their reviews   
  • Enter Comments Point: Enter the number of points that the user will gain on every successful review.
comment points

3.4.Social Sharing Setting

Enable this setting to allow their customers to share the referral link to other users through social media channels.

points and rewards for woocommerce
  • Go to admin panel click on the WooCommerce > Points and Rewards > General Setting.
  • Enable Social Sharing settings and select social media platforms.
  • Click on the “Save Changes” button.
points and rewards for woocommerce

After successfully enabling the setting, your customers can share referral links to other users on social media platforms.

3.5.Social Sharing Instagram

To enable social sharing of referral codes or links on Instagram follow these steps:

  • Go to admin dashboard > WooCommerce > Points and Rewards > General Settings
  • In the general settings section, navigate to the Social Sharing

Here check the box in front of Instagram and social sharing via Instagram will be enabled. ‘Save changes’ and proceed.

social sharing instagram

Front-End:

instagram sharing

The Instagram sharing option will be visible on the Points Tab of My Accounts Page.

3.6.Text Settings

This setting allows the admin to update the text under the My Account > Points tab.

points and rewards for woocommerce
  • Go to the admin panel click on the WooCommerce > Points and Rewards > General Setting.
  • Go to Text Setting, here the admin can make the changes for the Points page.
points and rewards for woocommerce

3.7.Redemption Settings

Enable this setting if you want to allow your customers to redeem their earned points over the Cart page and Checkout page to get the discount.

points and rewards for woocommerce

1. Redemption Over Cart Subtotal: Enable this setting if you want to allow your customers to redeem their earned points over the cart Subtotal.

2. Conversion Rate: Enter the conversion rate of points redemption. The customer can redeem their points based on the conversion rate set by the admin. For example, the worth of 10 points is equal to $1.

3. Enable Apply Points during Checkout: Enable this setting if you want to allow your customers to redeem their earned points over the Checkout page.

4. Enable Point Usage Limitation: This setting restricts the customer to redeem some pre-defined points on the order. Customers can pay a particular part of the order using points.

5. Select Points Limitation Type: Select the type which you want to provide your customer Fixed/Percentage.

6. Enter Amount: Enter the points value that the customer can apply while placing the order. Customers can’t apply more than points from this value.

Customers can apply their points over the cart subtotal.

points and rewards for woocommerce

Customers can apply their points over the checkout page.

points and rewards for woocommerce

Your customers can see their total points on the “Points Log Table”.

points and rewards for woocommerce

3.8.Points Discount On Sale Product

Admin can terminate providing points to customers on sale products. For restricting reward points on discounted products:

  • Go to admin dashboard > WooCommerce > Points and Rewards > General Settings
  • In the general settings section, navigate to the Redemption Settings 
points discount on sale product

After that, under the ‘Redemption settings’, the admin can tick the checkbox provided against the ‘Enable Point Restriction On Sale Product.’ The point redemption will be restricted to discount and sale items. Click ‘save changes’ and the settings will be done. 

3.9.Per Currency Points Settings

Through this setting, the customers will get the points based on the per currency points conversion whenever the customer spent some amount on the site then they will get some points as a reward.

points and rewards for woocommerce

1. Enable Per Currency Points Conversion: This setting allows your customers to earn points based on the per currency points conversion. For example, the customer can earn points for the purchase based on the per currency points conversion.
2. Per $ Points Conversion: Enter the points for currency conversion. According to the conversion rate whenever the customer spent some defined dollar on the site then they will get some defined points as a reward.

Customers can see this notification on site.

points and rewards for woocommerce

Customers can see their points from the My Account > Points > Points Log Table page.

points and rewards for woocommerce

3.10.Points for selected user role only

Using this feature of the plugin, the admin can assign roles for the users. Further, the admin can allow selected user’s roles to use the points and rewards features of the plugin.

points-rewards-woocommerce

3.11.Points On First Purchase

Enable first-order point setting is for providing points on sign-up of a new user. These points can only be used once by the customer. For enabling the points on first order directly:

  • Go to admin dashboard > WooCommerce > Points and Rewards > General Settings
  • In the general settings section, navigate to the Enable first-order points settings

In the ‘Enable first-order points settings,’ the admin can check the provided box to enable the function of offering points on first order.

points on first purchase

Subsequently, the admin can enter the amount he wants to reward the user in the ‘Enter First Order Purchase Points.’ These reward points can only be received once the first order has been placed. ‘Save Changes’ after modifications. 

3.12.Provide Points on Birthday

Providing extra reward points on special occasions like birthdays can induce customer loyalty perfectly. For enabling additional points on birthdays:

  • Go to admin dashboard > WooCommerce > Points and Rewards > General Settings
  • In the general settings section, navigate to the Enable Birthday Points Settings

Firstly, the admin can tick the checkbox to enable giving points on birthdays. After this, the admin needs to set the rewards he wants to provide the users on their birthdays. Also, users are eligible for these birthday points only after their first purchase. Finally, press ‘save changes, and the changes will be applied.

points on birthday

Front-end setting:

birthday points frontend settings
  • The date of birth can be set only once.

3.13.Round Up/ Round Down

The Round off setting helps in rounding up or down the points earned in decimal by the customers. For round off settings:

  • Go to admin dashboard > WooCommerce > Points and Rewards > General Settings
  • In the general settings section, navigate to the Point Round Off
round up setting
round down setting

The admin can select from the Roundup or Round Down setting in the ‘Select Points Round Off‘ option. The roundup will round the points earned to the following higher number, whereas the round-down setting will round the point off to the lower number. ‘Save Changes’ for new settings.

3.14.Create Coupon(Referral) Code

For enabling referral via reference coupon code, follow these steps:

  • Go to admin dashboard > WooCommerce > Points and Rewards > General Settings
  • In the general settings section, navigate to the Referral section

Under the referral section, the admin can tick the checkbox in front of the option, ‘Enable to Refer via referral Coupon Code.’ This setting will enable users to refer via a referral coupon code. 

Admin can further set the amount for the referral coupon discount in the box provided. Moreover, the admin can also select referral purchase coupon types between fixed and percentage type discounts.

referral coupon code

‘Save Changes’ and then the new settings will be applicable.

3.15.Per Currency Settings

Prevent users from earning extra reward points on a more significant order total and exclude the shipping fees from the points of cart capacity. For excluding points on tax:

  • Go to admin dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupons Settings 
  • In the Per currency points & coupon settings section, navigate to the ‘Enable per currency points in subtotal.’

Admin can check the box if he wants to allow per currency points on subtotal. If not, the admin can leave it empty. This setting will exclude delivery fees from orders to stop a customer from earning points for delivery fees. Press ‘Save Changes’.

per currency settings

3.16.Per Currency Points And Coupon Settings

Coupon Settings

For Coupon Settings,

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings

Under the Coupon Settings, the admin can:

1. Enable Points Conversion 

To enable coupon generation functionality for customers, the admin should tick the check box. For that:

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Enable Points Conversion Fields 
points conversion
  • Tick the checkbox to enable points conversion.
  • Save changes.

Generate Coupons On Front-end

To check this setting on the front end:

  • Go to Dashboard > Pages >All Pages > My Account > Points
generate coupons on frontend
  • Under Points Conversion, enter the number of points.
  • Click Generate Coupon and the coupon will be generated for further use.  

2. Redeem Points Conversion

The admin can enter the redeem points for coupons. That is how many points will be equal to how much amount when the customer will redeem those points. For example, 20 points will be equal to $1.

For that:

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Enable Points Conversion 
  • Enter points for conversion and amount.
  • Save changes.
redeem points conversion
Redeem Point Conversion On Front-end
redeem point conversion on frontend
According to the settings, the customer’s points will be converted.

3. Enter Minimum Points Required For Coupon Generation

In this setting, the admin can enter a number, that will be the minimum number of points required for coupon generation. The customers will not be able to generate coupons if they have lesser points entered in the box. 

For that:

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Enter Minimum Points Required For Generating Coupon 
minimum points for coupon generation
  • Enter the minimum points required for generating coupons you want.
  • Save changes.

4. Enable Custom Convert Point

If this setting is enabled, the customers will be able to convert some points from the total points they have into coupons. Hence converting custom points to coupons out of their total points. 

For that:

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings
custom convert points
  • Tick the checkbox for custom convert points.
  • Save changes.

5. Individual Use

Admin can use this setting to allow coupons to be used individually. The customers will not be able to use the coupon in conjunction with any other coupon. 

For that:

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Individual Use
individual use
  • Tick the checkbox for individual use.
  • Save changes.

6. Free Shipping

Enable this setting if the admin wants the created coupon to grant free shipping. A free shipping method must be enabled in your shipping zone and be set to require “a valid free shipping coupon” (see the “Free Shipping Requires” setting). 

For that: 

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Free Shipping 
free shipping
  • Tick the free shipping option.
  • Save Changes.

7. Coupon Length

Admin can set coupon length excluding the prefix. The minimum length is set to 5.

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Coupon Length
coupon length
  • Enter a number for coupon length.
  • Save changes.

8. Coupon Expiry After Days

Admin can set the coupon validity period. 

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Coupon Expiry After Days.
coupon expiry after days
  • Enter the number of days after which the Coupon will expire. Keep value “1” for one-day expiry when the order is completed. Keep value “0” for no expiry.
  • Save Changes.

FrontEnd Coupon Expiry:

frontend coupon expiry

Under the Coupon details, expiry dates are mentioned that can be checked by the user.

9. Minimum Spend 

This field allows you to set the minimum amount spent (subtotal, including taxes) allowed to use the coupon. 

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Minimum Spend
coupon minimum spend
  • Enter the amount for the minimum spent. Keep value “0” for no limit.
  • Save Changes.

10. Maximum Spend

This field allows you to set the maximum amount spent (subtotal, including taxes) allowed when using the Coupon. Keep value “0” for no limit.

  • Go to Dashboard > WooCommerce >Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Maximum Spend
coupon maximum spend
  • Enter the amount for maximum spent.
  • Save Changes.

11. Coupons Number Of Times Uses

Admin can set how many times the coupons can be used before they become void. Keep value “0” for no limit. For that:

  • Go to Dashboard > WooCommerce > Points and Rewards > Per Currency Points & Coupon Settings > Coupon Settings > Coupon Number Of Times Uses.
Coupon number of time uses
  • Enter a number (you want to allow customers to use coupons that many times)
  • Save Changes

4.Points Table

This setting allows the admin to view the points log of any user and apply the action to add/deduct the points with the specific remark.

Import User Points: You can also update user points using CSV. You have to enter User Emails, Points, Reason in a specific format in the CSV and then you can import. Now Customer previous points are get replaced with the new points.

points and rewards for woocommerce

Click on the “View Points Log”, admin can easily view the full report of the points log.

points and rewards for woocommerce

4.1.Reset customer points log

The plugin smartly prepares a detailed log for the admin to view the points earned by the customers. After redeeming the points, the log detail becomes meaningless which the admin requires to delete.

This feature adds a reset button for the admin to reset the customer points log detail, saving a lot of time and effort.  

points-rewards-woocommerce

4.2.Delete Customer Generated Coupons

Points and Rewards for WooCommerce plugin allow customers to generate coupons using their earned points. With this new feature, the plugin lets the admin delete those customers generated coupons. 

points-rewards-woocommerce

5.Points Notification Settings

Through this setting, you can notify your users about their points through email. You can easily customize that subject and description of the email according to necessity.

You can notify your users through the notifications like Custom Point Notification, Signup Points Notification, Product Purchase Points Notification, Order Amount Points Notification, Referral Points Notification, Upgrade Membership Level Notification, Product Purchase Points Notification, Deduct Assigned Points Notification, Points On Cart Subtotal, Points On Order Total Range.

points and rewards for woocommerce

5.1.Email section Updation

Sending emails to notify customers about their points has turned more advanced. Now, the plugin settings let the admin send well-curated emails rather than simple text emails.

Admin can set header and footer, and even design the body of the email emphasizing the purpose better. 

To enable this feature, tick mark the enable option.

points-rewards-woocommerce

5.2.Notifications Settings

Under the Points Notification settings, a list of email settings for the admin allows him to enable or disable email notifications for several activities. The steps are as follows:

  • Go to admin dashboard > WooCommerce > Points and Rewards > Points Notifications
  • In the ‘Points Notification’ section, navigate to the notification section admin wants to alter

The following notification modification options are available:

1. Mail Notification for Coupon referral

notification for coupon referral

2. Points Only on Bday Notification

points on bday notification

3. Points Only on First Order Notification Settings

points on first order notification

Do not forget to click ‘Save Changes’.

5.3.Email Modification For Referral Coupon Code Template

For allowing users to modify email of referral coupon code template steps are as follows:

  • Go to admin dashboard > WooCommerce > Points and Rewards > Points Notifications
  • In the ‘Points Notification’ section, navigate to the ‘Mail template for Email referral section’ 
  • Admin can modify the email template accordingly.
referral coupon code template

Press ‘Save Changes’ and the changes will be updated.

Front-end screenshot of the email input box:

referral coupon code template frontend

6.Enable Membership

This feature allows your customers to get the membership level by the required points and keep the benefits on the selected categories or products fulfilled by that level.

points and rewards for woocommerce

You can create the level for the membership by the following steps:

  • Enable Membership: Enable Membership setting.
  • Exclude Sales Products: Exclude sale products from the membership benefits.
  • Create Membership
    • Enter Level: Enter the name of the membership.
    • Enter Points: Enter the number of points to get the membership.
    • Expiration Period: Enter the expiration period of the membership.
    • Select Product Category: Select product categories on which membership discount will be applied.
    • Select Product: Select the products from the categories on which the membership discount will be applied.
    • Enter Discount: Set the value that will be applied as the percentage discount amount on the memberships’ products and categories.

After successfully created the membership level, your customer can view the benefits of membership level by clicking on the “View Benefits” button.

points and rewards for woocommerce

Click on the link customer can view the benefits of the membership level.

points and rewards for woocommerce

By clicking on the “Upgrade Level” button, your customer can get the membership benefits easily.

points and rewards for woocommerce

Now you can see your upgraded membership.

points and rewards for woocommerce

Membership Log: By clicking on the ‘Membership log link’ the admin can view the details of all members.

points and rewards for woocommerce

7.Assign Product Points

This setting allows you to assign points to the products in three ways.

  1. Globally
  2. Category wise
  3. Per Product-wise
points and rewards for woocommerce

7.1.Global Setting

Through this setting, you can assign equal points on each product at once by the global setting.

Enable this setting if you want to assign the same points on all the products and enter the points which you want to assign for all products.

points and rewards for woocommerce

 

Your customer can see the assigned points on the single page of the product.

 

points and rewards for woocommer

7.2.Category wise Setting

This is the category-wise setting for assigning the points to the product. Enter some valid points for assigning or leave blank fields for removing assigned points and click on the “Submit” button.

points and rewards for woocommerce

Your customer can see those assigned points on the single page of the product.

points and rewards for woocommerce

7.3.Per Product wise Setting

This setting for assigning points Per product-wise. Go to the “Products” and click on the edit page of the selected product.

points and rewards for woocommerce

Click on the “Points and Reward” setting. Enable the setting and enter some valid numbers for assigning points.

points and rewards for woocommerce

Your customer can see the assigned points on the single page of the product.

points and rewards for woocommerce

8.Others Setting

points and rewards for woocommerce

8.1.Use of Shortcodes

points-rewards-woocommerce

Shortcodes: Shortcodes allow the admin to quickly display values such as current membership level, current points of a user, notification info, and referral link, at needed places simply using these shortcodes.

[MYCURRENTUSERLEVEL]: This shortcode use for displaying the current Membership Level of Users.

For example, If you want to show the current Membership Level for the customers on the shop page.

Simple Go to the “Shop page” paste the Shortcode of Membership Level and click on the update button. The current Membership Level of the customer will get displayed along with the text.

Enter text for Current Points: Entered text will get displayed along with [MYCURRENTPOINT] shortcode.

points and rewards for woocommerce

 [MYCURRENTPOINT]: This shortcode use for displaying current Points of Users.

For example, If you want to show the customer’s current points on the shop page.

Simple Go to the “Shop page” paste the Shortcode of current points and click on the update button. The current points of the customer will display with the text.

Enter text for Current User Level: Entered text will get displayed along with [MYCURRENTUSERLEVEL] shortcode.

points and rewards for woocommerce

[SIGNUPNOTIFICATION]: This shortcode use for displaying signup notifications anyplace on site.

For example, If you want to show the signup notification on the shop page.

Simple Go to the “Shop page” paste the Shortcode of sign up notification and the most important thing is that the signup point feature must be enabled from the “General Setting”.

points and rewards for woocommerce

8.2.Shortcodes for Thank You Page

These shortcodes for providing an appropriate message for your customers for their Total Points when they gain or spend points on the checkout page.

points and rewards for woocommerce

Notification When Your Customer Gain Points After Checkout:

points and rewards for woocommerce

8.3.Point Sharing

Enable this setting if you want to allow your customers to share some points from his/her account of any other user.

points and rewards for woocommerce

After enabling the setting your customer can share your points with other users by simply clicking on “GO”.

points and rewards for woocommerce

8.4.Select Color Notification Bar

Here you can select a color for the notification bar.

points and rewards for woocommerce

9.Product Purchase Through Points

Through the Product Purchase Points setting, the admin can buy products only by the points.

Assign Points to the particular category and click on the submit button.

points and rewards for woocommerce

Here you can see that your customer can purchase that particular product only by the points.

points and rewards for woocommerce

10.Points Expiration Notification

In this section, you can set the Expiration Period of the customer’s points and send the Notification Mail as a reminder of the expiration of points.

points and rewards for woocommerce

1. Enable Points Expiration: Enable this checkbox if you want to set the expiration time period of rewarded points for your customers.
2. Show Points expiration on My Account Page: Enable this setting if you want to show the expiration time period of points on my account page.

points and rewards for woocommerce

3. Set the Required Threshold: Set the threshold for rewarded point expiration, the expiration period will be calculated when the threshold will be reached.
4. Set Expiration Time: Set the maximum time limit for points expiration. After this time limit points need to get expired. It will be calculated after the above threshold time.
5. Email Notification(Re-Notify Days): Set the number of days before the mail will get sent out the re-notify the customer for points expiration.
6. Enter the Message for notifying the user that they have reached their Threshold: Use these shortcodes for providing the first notification to the customer, that they have reached the threshold now they should redeem their point before it will get expired.
7. Re-notify Message before some days: Use these shortcodes for providing the re-notification to their customers that they have left some days more for the expiration of points.
8. Message when Points have been Expired: Enter the message to notifying your customer that their points have been expired.

11.Order Total Points

To enable the ‘Order Total Points’ setting first you have to click on the checkbox to enable the setting and then set the points within the order amount range and the last click on the ‘Save Changes’ button to save the settings.

points and rewards for woocommerce

After successfully completed the order, your customers will get the points according to the order range and they can view their points from the My Account page.

points and rewards for woocommerce

To view the detailed description of the points go to the My Account > Points Tab > and then click on the ViewPoints Log link, here you can see the detailed description of points.

points and rewards for woocommerce

12.User Notification Addon

Users’ notification addon adds additional features to the Points and Rewards for WooCommerce plugin. With this addon, registered as well as guest users receive a notification on points updates; informing how many points they have earned as well as the ways to earn more points.

points-rewards-woocommerce

13.Validation, Notices, and WooCommerce Points and Rewards Log

The validity of points for single-use has been taken care of. Users can use the coupon once—no more conflict between referral link and coupon code. The referee cannot use the generated code for himself. The backend will now accept no negative values. Admin can set points Per currency value for WooCommerce reward points redemption.

14.Sorting of WooCommerce Points and Rewards Table

The WooCommerce Points and rewards log table sorts ideally in ascending or descending order of the users’ points. The admin sets the order in the setting, and the total identified hierarchy appears in the log table in the desired order.   

  • Points in descending order:
points in descending order
  • Points in ascending order
points in ascending order

15.API Settings

The admin has access to API settings for combining Points and Rewards with other applications. Via API settings, the admin can get all of the user’s information. The API is used to retrieve a user’s total points and referral ties, monitor loyalty points, manage users and view their point log data.

api settings

16.API Implementation

Enable API Feature

1.Go to WooCommerce->Points and Rewards->API  SETTINGS

api feature

2.Then Click on the ‘Generate Secret Key’ button. and secret key will generate.

api settings

1. Get Total Points and referral link.

This API is used to  get total points and referral link of user.

HTTP Request.

POST  /wp-json/wpr/mwb-get-points/user

curl -X POST https://example.com/wp-json/wpr/mwb-get-points/user

    -u “consumer_secret: <points and rewards secret key>” 

    -d ‘{

  “user_id”: “<wordpress user id>”,

}’

JSON response example:

{

    data: {

        “user_id: 4,

        total_points: 9991,

        referal_link: https://example.com?pkey=Y6O9C06XZ1″

    },

    status: “success”,

    code: 200

}

 

2. Get Points log details.

This API is used to get user points log details.

HTTP Request.

POST  /wp-json/wpr/mwb-get-points/user/log

curl -X POST https://example.com/wp-json/wpr/mwb-get-points/user/log

   -u “consumer_secret: <points and rewards secret key>”  

    -d ‘{

  “user_id”: “<wordpress user id>”,

}’

JSON response example:

{

    “data”: {

        “user_id”: 4,

        “membership_level”: “basic”,

        “points_log”: {

            “signup_event_points_log”: [

                {

                    “points”: 1,

                    “date”: “2020-12-13 11:52:30pm”

                }

            ],

            “coupon_creation_points_log”: [

                {

                    “points”: -75,

                    “date”: “2020-12-10 09:41:25am”

                },

                {

                    “points”: -10,

                    “date”: “2020-12-12 05:19:59am”

                },

                {

                    “points”: -10,

                    “date”: “2020-12-12 05:20:01am”

                }

            ],

            “points_earn_via_partiular_product_points_log”: [

                {

                    “points”: 1,

                    “date”: “2020-12-11 05:38:03am”

                },

                {

                    “points”: 1,

                    “date”: “2020-12-11 05:40:02am”

                },

                {

                    “points”: 1,

                    “date”: “2020-12-14 02:26:10am”

                }

            ],

            “points_earn_via_per_currency_conversion_points_log”: [

                {

                    “points”: 17,

                    “date”: “2020-12-11 05:40:02am”

                },

                {

                    “points”: 0,

                    “date”: “2020-12-14 02:26:10am”

                }

            ],

            “points_earn_on_order_total_points_log”: [

                {

                    “points”: 10,

                    “date”: “2020-12-11 05:38:03am”

                },

                {

                    “points”: 10,

                    “date”: “2020-12-11 05:40:02am”

                }

            ],

            “cancel_order_points_log”: [

                {

                    “points”: -10,

                    “date”: “2020-12-14 02:14:44am”

                },

                {

                    “points”: 0,

                    “date”: “2020-12-14 02:26:20am”

                }

            ],

            “membership_points_log”: [

                {

                    “points”: -10,

                    “date”: “2020-12-10 08:01:26am”

                }

            ],

            “product_purchase_through_points_log”: [

                {

                    “points”: -17,

                    “date”: “2020-12-14 02:23:43am”

                }

            ],

            “return_request_products_points_log”: [

                {

                    “points”: 17,

                    “date”: “2020-12-14 02:26:20am”

                }

            ],

            “applied_on_cart_points_log”: [

                {

                    “points”: -2,

                    “date”: “2020-12-11 05:38:34am”

                }

            ],

            “deduct_pre_currency_spent_on_cancel_order_points_log”: [

                {

                    “points”: -17,

                    “date”: “2020-12-14 02:14:44am”

                },

                {

                    “points”: -0,

                    “date”: “2020-12-14 02:26:20am”

                }

            ],

            “deduct_assign_product_points_on_cancel_order_points_log”: [

                {

                    “points”: -1,

                    “date”: “2020-12-14 02:14:44am”

                },

                {

                    “points”: -1,

                    “date”: “2020-12-14 02:26:20am”

                }

            ],

            “sender_point_details_log”: [

                {

                    “points”: 5,

                    “date”: “2020-12-10 08:03:31am”,

                    “shared_to_user”: “testuser”

                },

                {

                    “points”: 10,

                    “date”: “2020-12-10 08:04:33am”,

                    “shared_to_user”: “test”

                }

            ],

            “receiver_point_details_log”: [

                {

                    “points”: 5,

                    “date”: “2020-12-10 08:03:31am”,

                    “received_by_user”: “testuser”

                }

            ],

            “updated_by_admin_points_log”: [

                {

                    “points”: “100”,

                    “date”: “2020-12-10 08:01:12am”,

                    “sign”: “+”,

                    “reason”: “test”

                },

                {

                    “points”: “10000”,

                    “date”: “2020-12-12 05:19:47am”,

                    “sign”: “+”,

                    “reason”: “test”

                }

            ],

            “referral_sign_up_points_log”: [

                {

                    “points”: 1,

                    “date”: “2020-12-13 11:52:30pm”,

                    “refered_user”: “test12”

                }

            ],

            “referral_product_purchase_points_log”: [

                {

                    “points”: 1,

                    “date”: “2020-12-13 11:54:14pm”,

                    “refered_user”: “test12”

                }

            ]

        },

        “coupon_log”: [

            {

                “SUHPN”: {

                    “points”: 75,

                    “coupon_code”: “SUHPN”,

                    “coupon_amount”: “75”,

                    “left_amount”: “75”,

                    “expiry_date”: “No Expiry”,

                    “currency”: “USD”

                }

            },

            {

                “TR6G1”: {

                    “points”: “10”,

                    “coupon_code”: “TR6G1”,

                    “coupon_amount”: “10”,

                    “left_amount”: “10”,

                    “expiry_date”: “No Expiry”,

                    “currency”: “USD”

                }

            },

            {

                “JUWGM”: {

                    “points”: “10”,

                    “coupon_code”: “JUWGM”,

                    “coupon_amount”: “10”,

                    “left_amount”: “10”,

                    “expiry_date”: “No Expiry”,

                    “currency”: “USD”

                }

            }

        ]

    },

    “status”: “success”,

    “code”: 200

}

17.Feedback and Suggestions

Don’t see a feature in Point and Rewards for WooCommerce plugin that you think would be useful?

We’d love to hear it: Reach out to our Support query and we’ll consider adding it in a future release.

18.FAQs

Yes. You can do this by going to General Settings of the plugin. In the General settings, you’ll find a section named Redemption Settings. In Redemption settings, click on the Enable Point Usage Limitation checkbox.

After enabling the checkbox, set the type of limitation, i.e,

1) Percentage,

2) Fixed.

Now enter the amount customers can pay using their points. After entering the amount, click on Save Changes

Yes. After collecting the required number of points, the customer can upgrade his membership level.

Yes. Under the My Account > Points tab, the customer can enter the email of the user and the number of points he wants to share and click on the Share button to transfer the points.

Yes. Through the Points Expiration setting, you can set the Expiration limit of the points. In the Points Expiration setting, click on the Enable Points Expiration checkbox. Then set the required threshold and expiration period. After this, enter the number of days you want your customers to notify before, for the points expiration. Add your points expiration message and click on Save Changes.

Yes, From the Assign Product Points, admin can assign a different number of points for every different category. In the Assign Product Points setting, all your store categories will be listed. Enter the number of points you want to assign to each category and click on Submit in the end.

Yes. From the Per Currency Points & Coupon Settings, you get a Coupon Settings section. From that section, you can allow customers to convert points into coupons. Just click on the Enable Points Conversion checkbox. Enter all the required details and click on Save Changes.

The referee will get the referral points when a fixed number of customers register using his referral link.

Suggest Edit