Guides¶
Each guide is written for something you are trying to do. Every setting named here is on Extensions › Extensions › Modules › Loyalty unless it says otherwise, and every one is described exactly on settings.
Choosing a rate you can afford¶
Two numbers decide what the programme costs: Points earned, a percentage, and Points per unit of currency, under Spending. The What this costs block beside the form divides one by the other as you type, and says it as a share of every order once the points are spent.
| Points earned | Points per unit of currency | What it costs |
|---|---|---|
| 100 | 100 | 1% of every order |
| 200 | 100 | 2% |
| 500 | 100 | 5% |
| 100 | 50 | 2% |
So "5% back" is Points earned 500 at 100 points to the unit, or 5 at 1 point to the unit. The first gives customers bigger numbers to look at; the cost is the same. Choose the exchange rate before you start and leave it: see changing the exchange rate.
Counted on decides whether tax is part of the base. Shipping never is, and a coupon or points spent always come off it first.
Rewarding one customer group more¶
Under Rate per customer group, type a percentage beside the group, such as
200 for a wholesale or VIP group, and save. A group left blank earns the
store's own rate. The rate an order earns is the one for the group it was placed
in, so moving a customer between groups changes their future orders, not their
past ones.
Giving a product a fixed number of points¶
Open the product, and on its Reward Points tab set Points for each customer group. While Product reward points is on in Loyalty, which is how it ships, a line of that product earns exactly that figure, times the quantity, instead of its share of the percentage. Switch it off to make every product earn by the percentage.
Zero on that tab means not set, so it does not make a product earn nothing. For that, see the next guide.
Stopping some products earning points¶
Under Categories that earn nothing, start typing a category's name and choose it, once for each category, and save.
Every product in those categories,
and in any category below them, adds nothing to what an order earns, even if it
has its own Reward Points figure. The rest of the order earns as before, and a
coupon still takes its share off the excluded lines, so the other lines do not
earn less because of them.
To stop a single product earning:
- Under Catalog › Categories, add a category such as Earns no points and switch its Status off, so shoppers never see it.
- Open the product, and on its Links tab add that category beside the ones it already has.
- In Loyalty, add Earns no points under Categories that earn nothing and save.
The welcome and birthday bonuses are not affected, and nothing already awarded changes.
Giving a customer group different spending limits¶
Under Spending, each of Minimum balance to spend and Most of an order
points may pay has a box per customer group below the store's own figure. Type
a figure beside the group, such as a minimum of 0 and a most of 100 for a
VIP group, and save.
A group left blank uses the store's figure. The group is
the one the customer is in when they reach the cart.
To stop points being spent on small orders at all, set Minimum cart subtotal to spend. It is measured on the goods before tax, and applies to every group.
Welcoming new customers¶
Set Welcome bonus to the points a new account earns. It is paid once per account, for an account made on the register page, at checkout or by you in the admin, and only while the programme is on for that store. Accounts that already exist are not paid.
Paying for a newsletter subscription¶
Set Newsletter points to the points a customer earns for subscribing. A sentence beside the newsletter checkbox tells them how many, and that they keep them if they unsubscribe. It is paid once per account, on the storefront only, and only while the programme is on for that store. Before you set it, check whether paying for a subscription is allowed where you trade; see newsletter points.
Paying a birthday bonus¶
OpenCart has no birthday field, so you add one:
- Under Customers › Custom Fields, add a field of type Date at the Account location, and make it visible to the customer groups you want to celebrate.
- On the Loyalty screen, choose it as Birthday field, and set Birthday bonus.
The hourly scheduled pass pays it once a year, on or after the birthday. A birthday that already passed before you switched this on, or before earning started, waits for next year. A customer who left the field empty is simply not celebrated. On OpenCart 4.1.0.4 the scheduled pass runs only from a crontab line of your own; see install.
Switching expiry on safely¶
Expiry takes points from customers, so check three things before you tick Expire dormant points:
- Your store's mail works. Send yourself a password reset from the storefront. Nothing expires without its warning email, so a store whose mail is broken expires nothing, but it also warns nobody.
- The scheduled pass runs. Under Extensions → Cron Jobs, Loyalty: the
hourly scheduled pass should show a recent date. If it does not, your host
is not calling OpenCart's
cron.php. - The window is one you would defend to a customer. After this many months without a movement runs from 12 to 120, and Warning email, days before from 14 to 365. The shipped 24 months and 30 days are a reasonable start.
Then save. The first pass only warns: customers whose window has already run out get their email within the hour, and nobody is expired. After that, each pass warns the customers whose window is about to run out, and expires the ones whose warning is old enough. Only points Loyalty awarded can go; points you added by hand, or that were there before Loyalty, stay. The Due to expire in the next 30 days block on the right shows what is coming.
Switching expiry off again stops it at once, and brings nothing back.
Changing what a point is worth¶
Changing Points per unit of currency changes what every point already earned will buy, because points are stored as points. Raising it makes them buy less, so before such a save goes through, the screen names the effect in money for the points outstanding and asks you to confirm. Orders already placed keep the rate they were created at.
Lowering it makes every outstanding point buy more, straight away, and nothing asks you first.
Running more than one store¶
Pick the store with the selector at the top of the Loyalty screen. Rates, the exchange rate, limits, bonuses and the expiry window are set per store, and a store with nothing saved uses the default store's. The programme's Status is per store too, so it can run on one storefront and not another.
Balances are not per store. A customer has one balance, spendable on any store where the programme is on, and their expiry follows the settings of the store their account belongs to.
Correcting a customer's points¶
Use Adjust points under the Balances block on the Loyalty screen. Press Adjust on the customer's row, or find them by name or email — a customer with no points yet is not on the list, but can be found. Type the points to add, or a minus sign to take some off, and a reason: the customer reads it on their points page. The answer says what the balance was and what it is now. Points added this way expire like points earned on orders, and the adjustment restarts the customer's expiry clock.
The customer's Reward Points tab under Customers › Customers still works as it always has, and counts at once too, but what you add there never expires and does not restart the clock.
Importing points from a spreadsheet¶
Use Import CSV, beside Export CSV on the Balances block, to move many customers' points at once — for orders placed before they registered, or when moving from another points system.
-
Save a CSV file with a header row and three columns, in any order:
customer(the customer's id, or their email),points(a whole number, with a minus sign to take points off, never 0) andreason(what the customer will read). Commas or semicolons both work.text customer,points,reason 42,150,Orders before you registered ada@example.com,-20,Correction 2026-11-08 -
Choose the file and press Upload and check. Nothing is written yet: the screen lists the rows it would write, the rows it refuses with the reason, and the net points.
- Fix what was refused, if you want, choose the corrected file and check again. Then press Commit.
A row is recognised by its customer, points and reason together, so committing a corrected file writes only the rows that changed, and a file committed twice writes nothing the second time. To give the same customer the same points for the same reason again later, put the date in the reason. One file carries at most 2,000 rows and 1 MB; split anything larger.
Moving over from OpenCart's own reward points¶
- Points your customers already have stay theirs, and they never expire, because Loyalty did not award them.
- Product Reward Points figures keep working, while Product reward points is on.
- Switch OpenCart's Reward Points order total off, then install Loyalty's, as install describes. Customers spend their old points and their new ones through the same slider.
- Orders OpenCart already rewarded are not rewarded again, because no order placed before you press Start awarding points earns.
Stopping the programme¶
- Stop awarding points ends new awards from the next order. Points already given stay, reversal keeps working for orders that earned, and customers can still spend.
- Status off stops everything on that store: nothing is earned, spent, taken back or expired through Loyalty, no bonus is paid, and the storefront shows OpenCart's own Reward Points page again.
- Uninstalling keeps every point and every row. See limits.
Awarding points from another extension¶
Another installed extension can award or deduct points with one model call. The parameters, refusals and guarantees are on the award seam. Review Requests uses it to pay for an approved review.