=== SISL Loyalty ===
Contributors: sislsource
Tags: woocommerce, loyalty, points, rewards, referral
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Loyalty points with a transparent ledger: the balance is always the sum of what the customer can see. HPOS and Blocks checkout native.

== Description ==

**SISL Loyalty** keeps the points balance as the **sum of a visible, per-order ledger**. Every point earned, spent, reversed or expired is a line the customer can see under **My Account > Points**, so the balance is always auditable and adds up to the last cent.

Built natively for **High-Performance Order Storage (HPOS)** and the **Blocks checkout** - points apply as a discount right inside the block, and orders are stored the modern WooCommerce way.

= Free features =

* **Earn points on every order** - configurable rate, on the order status you choose, on the amount actually paid (coupons and refunds handled correctly).
* **Redeem points for a cart discount** - works in the classic cart and **natively inside the Blocks checkout**. Points are deducted when the order is placed and returned in full if it is cancelled.
* **A transparent ledger** - the balance is the sum of an append-only ledger. Every movement is a visible line in the customer's "Points" tab. Nothing is hidden or rounded away.
* **Automatic reversals** - refund or cancel an order and the points are returned automatically, to the exact amount.
* **Multi-currency ready** - amounts format in the store's active currency, with filters for multi-currency plugins.
* **Translation ready** - English source strings.

= Pro =

[SISL Loyalty Pro](https://sisl.pl/woocommerce-loyalty-points) adds VIP tiers with earn multipliers, a referral program, sign-up / review / birthday bonuses, and point expiry with reminder emails. **One-time license, no subscription.**

= About =

SISL Loyalty is built and maintained by [SISL](https://sisl.pl), an independent studio building WooCommerce and Magento tools. Questions and feature requests are welcome.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/` or install it from **Plugins > Add New**.
2. Activate it. WooCommerce must be active.
3. Go to **WooCommerce > Settings > Loyalty** to set your earn rate and redeem value.
4. Customers see their balance and full history under **My Account > Points**.

== Frequently Asked Questions ==

= Does it work with HPOS and the Blocks checkout? =

Yes, both, natively. Points apply as a discount inside the Blocks checkout.

= How is the balance calculated? =

The balance is always the sum of an append-only ledger. Every movement - earn, redeem, reverse, expire - is a visible line under My Account > Points, so the total is fully auditable and reconciles to the last cent.

= Does it support multiple currencies? =

Amounts format in the store's active currency. There are filters (`sisl_loyalty_point_value`, `sisl_loyalty_eligible_amount`) so multi-currency plugins can convert cleanly.

= Where are the Pro features? =

VIP tiers, referrals, sign-up / review / birthday bonuses and point expiry are in [SISL Loyalty Pro](https://sisl.pl/woocommerce-loyalty-points) - a one-time license, no subscription.

= Where can I get support? =

Use the plugin's support forum here on WordPress.org, or contact the developers directly at [sisl.pl](https://sisl.pl).

== Screenshots ==

1. The customer's "Points" tab with the transparent ledger.
2. Redeeming points in the Blocks checkout.
3. Loyalty settings in WooCommerce.

== Changelog ==

= 0.2.0 =
* Redeem points for a cart discount, native to the Blocks checkout.
* Multi-currency filters and currency-aware rounding.

= 0.1.0 =
* Earn points, transparent ledger, automatic reversals, My Account "Points" tab.

== Upgrade Notice ==

= 0.2.0 =
Adds point redemption in the cart and Blocks checkout.
