At the end of the order, VPCART looks up each product and checks if it has a points value assigned to it. If the product has points, they are totalled and then stored in the pointstotal and points remaining fields of the customers table.
When the customer reviews their orders, they can see their total points remaining, total points accumulated and points for each order.
To set up a basic points system, which simply adds the points to the customers’s record without allowing them to redeem points, you need to set the following Software Configuration values:
Xpoints |
Setting this to Yes turns on the points system. |
Xpointsfield |
This is the field in the product record where the points value are stored. Default is points. |
Xpointsequalcurrency |
If set to Yes, the customer receives the number of points as the amount they have ordered. For example, if they have ordered $20 worth of products, they will get 20 points.
Setting this to Yesalso means that the points are calculated using the price rounded to an integer. For example –
$5.55 = 5 points $6.85 = 7 points |
Xpointsredeem |
Setting this to Yes allows your customers to redeem points in your online store. |
Xpointsredeemrate |
The conversion rate used to convert points to currency. For example,0.1. |
Xpointsredeemtemplategift |
This is the template used to send to a customer if points are redeemed for a gift certificate. Default is tmp_pointsredeemgift.txt. |
xpointsredeemtemplatecoupon |
This is the template used to send to a customer if points are redeemed for a coupon. Default is tmp_pointsredeemcoupon.txt. |
Xpointsredeemtype |
The type of reward to be created - only one type is allowed per shop. You need to enter Gift, Coupon or PercentCouponhere depending on what type of reward you want to offer. |
xpointsredeemcouponproducts |
If you want to limit the products that can be purchased using a points-redeemed coupon, you can enter a comma delimited list of catalog IDs here. For example - 1,77,88 |
xpointsredeemcouponcategories |
If you want to limit the products that can be purchased using a points-redeemed coupon based on their category, you can enter a comma delimited list of category IDs here. For example - 1,77,88 |
Xpointsredeemminpoints |
The minimum number of points that can be redeemed. |
Xpointsredeemmaxpoints |
The maximum number of points that can be redeemed at one time. |
The points are stored in two places – in the points field of the order record and in the pointstotal and pointsremaining fields of the customer record.
Pointstotal represents all points accumulated to date and pointsremaining holds the number of points remaining after some have already been used.
The customer can review the points accumulated by using the standard review orders facility of the customerservice center.