Go Back to Parent Doc

Cashback & Rewards

Since version 1.2, Ollet can reward customers with store credit so they come back and spend it in your store:

  • Cashback on completed orders.
  • A sign-up bonus for new customer accounts.
  • Refunds as store credit instead of to the card.
  • Low balance reminders that bring customers back to top up.

Every reward is a normal ledger entry: it shows in the customer’s transactions, on the Overview, in the ledger export and in the ledger check, and it can be reversed like any other entry. All rewards are off until you turn them on in WooCommerce → Wallets → Settings → Rewards.

Cashback

Turning it on

  1. Go to WooCommerce → Wallets → Settings.
  2. Under Rewards, tick Cashback.
  3. Set the Cashback amount: a percentage of the products total, or a fixed amount per order.
  4. Optionally set a Minimum order and a Maximum per order.
  5. Click Save settings.

How it’s calculated

Cashback is worked out on the products total: the order’s line items after coupons, without tax, shipping or fees. So 5 % cashback on a $45.00 hoodie is $2.25, whatever the shipping costs.

  • Percentage: the products total × the rate, rounded half up to your currency’s decimals. Rates can have up to 4 decimals, such as 2.5 %.
  • Fixed amount: the same amount for every order that qualifies, never more than the products total.
  • Minimum order: orders with a smaller products total earn nothing.
  • Maximum per order: cashback is capped at this amount.

Amounts are calculated in whole cents, never with floating point numbers.

Who earns it

  • Customers with an account. Guests have no wallet, so they see “Create an account to earn … cashback” instead.
  • Orders in your store’s base currency.
  • Top-ups never earn cashback: that would let customers create money by topping up.

Developers can exclude more orders with the ollet_cashback_eligible filter.

When it’s paid

Cashback is added to the wallet as store credit when the order is marked Completed, once per order: completing an order again, or a status changing back and forth, never pays it twice. The order gets a note (“$2.25 cashback added to the customer’s wallet as store credit”) and the order page in My Account and the order emails show a Cashback earned line.

Paying only on Completed, not on payment, means customers can’t earn cashback on an order and then cancel it before it ships.

Refunds and cancellations

Cashback follows the order:

  • Partial refund: the same share of the cashback is taken back. Refund half the order total, and half the cashback is removed.
  • Full refund or cancellation: all of the cashback is taken back.
  • Already spent: Ollet never takes a wallet below zero. It removes what’s available, records the rest on the order as not recovered, and adds an order note so you can follow up. The refund itself is never blocked.

Each take-back is a Cashback reversal entry, so the customer sees exactly what happened in their transactions.

What customers see

With Show cashback on (the default), customers see what they’ll earn before they buy, on product pages, in the cart and at checkout, on both the classic checkout and the Cart & Checkout blocks. See Storefront.

Rules by product, category or role

The free plugin gives one store-wide rate. Developers can change the amount per product, category or customer with the ollet_cashback_amount filter. Whatever a rule returns, an order can never earn more cashback than its products total.

Sign-up bonus

A one-time amount of store credit for each new customer account.

  1. Under Rewards, enter the Sign-up bonus amount.
  2. Choose when it’s given: when the account is created (as soon as the customer registers) or after the first paid order (only once the customer’s first order is paid, which makes fake sign-ups pointless, because nobody gets credit without buying).
  3. Click Save settings.

The bonus is paid once per account, ever. It goes to users who register themselves with the Customer role. Accounts that existed before you turned it on don’t get it, and neither do users your team creates in Users → Add New. An order paid by cash on delivery counts only once it’s actually marked paid. Developers can change who’s eligible with the ollet_signup_bonus_eligible filter.

Refunds as store credit

From any order paid with a card, bank transfer or another payment method, you can refund to the customer’s wallet instead of the original payment method. The money stays in your store and the customer can spend it right away. See Refunding an order as store credit.

Low balance reminders

Enter an amount in Settings → Customer display and reminders → Low balance reminder. When a customer’s available balance falls below it after a payment or other debit, they get the Wallet balance low email with a link to add funds:

  • Once per drop: they get another reminder only after their balance went back above the amount and fell again.
  • Opt-out: customers can turn reminders off on their Wallet page.
  • Edit the subject and text in WooCommerce → Settings → Emails → Wallet balance low.

Limits

Two optional limits under Settings → Top-ups keep top-ups in check:

  • Daily top-up limit: the most a customer can add in any 24 hours.
  • Maximum wallet balance: a top-up can’t take the balance above this. Refunds, cashback and store credit from your team aren’t limited.

Developers can set different limits per customer or role with the ollet_wallet_limits filter.

Good to know

  • Bookkeeping: cashback and bonuses are store credit you grant, so they add to what your store owes customers. They appear on the Overview as their own rows and in the ledger export with their own reasons (cashback, cashback_reversal, signup_bonus, refund_credit).
  • Rules where you sell: store credit can be subject to consumer and unclaimed-property rules. Ollet gives you accurate records, but it isn’t legal advice.
Shopping Cart
  • Your cart is empty.