=== Spa Saloon Gift Card ===
Tags: gift card, gift voucher, spa, salon, voucher
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 7.1
Stable tag: 1.7.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Gift card management for spa and salon businesses, with orders, offline payments, tracking, redemption, expiry, and email workflows.

== Description ==

Spa Saloon Gift Card is a Free Core gift card management system designed for spa and salon businesses. It provides an end-to-end workflow for creating and managing gift cards, receiving customer orders, recording offline payments, tracking orders, and redeeming gift cards.

Key features include:

* Gift Card creation and management
* Pending, Active, Used, Expired, and Cancelled statuses
* Full and partial redemption with redemption history
* Customer order tracking using Order Number and Email
* Customer Gift Card tracking using Gift Card Code and Email
* Offline / bank-transfer payment workflow
* Separate order and payment records
* Service and pricing snapshots
* Configurable expiry settings with per-card expiry snapshots
* Customer and admin email workflows
* Multi-currency snapshots
* Secure admin actions with capability and nonce checks
* Extension hooks for future add-ons

The Free Core is designed to remain useful on its own. Planned Premium Add-ons are listed in the plugin admin as Coming Soon, but no premium code, download flow, purchase flow, or license activation is included in the Free Core.

== Installation ==

1. In your WordPress admin, go to Plugins > Add New.
2. Search for "Spa Saloon Gift Card".
3. Install and activate the plugin.
4. The plugin adds a "SPA Gift Card" menu to the WordPress admin.
5. Configure the plugin under SPA Gift Card > Settings. See the Customer Pages / Shortcodes section below to create the customer-facing pages.

Alternatively, download the ZIP from WordPress.org and install it from Plugins > Add New > Upload Plugin.

== Customer Pages / Shortcodes ==

After activating the plugin, create the customer-facing pages below and add the corresponding shortcode to each page.

= Gift Card Order Page =

Add this shortcode:

[spa_gift_card_buy]

This displays the customer-facing Gift Card order form.

= Order Tracking & Payment Page =

Add this shortcode:

[spa_gift_card_order]

This allows customers to view their order status and submit payment information.

= Gift Card Tracking Page =

Add this shortcode:

[spa_gift_card_tracking]

This allows customers to view their Gift Card status, remaining balance, redemption count, and redemption history.

== Frequently Asked Questions ==

= Does the Free Core require WooCommerce? =

No. The Free Core does not require WooCommerce.

= Which payment method is included? =

The Free Core includes an offline / bank-transfer payment workflow.

= Can a Gift Card be redeemed partially? =

Yes. Active Gift Cards support partial and multiple redemptions until the remaining balance reaches zero.

= Can customers track their orders? =

Yes. Customers can track an order using the Order Number and Email address.

= Can customers track their Gift Card? =

Yes. Customers can track a Gift Card using the Gift Card Code and Email address.

= Are Premium Add-ons included? =

No. The Free Core includes only a Coming Soon catalog for planned Premium Add-ons. Premium functionality is distributed separately.

= Does deactivating the plugin delete Gift Card data? =

No. Deactivation does not intentionally delete the plugin's stored Gift Card data.

== Privacy ==

The plugin stores information required to operate Gift Card orders, payments, customers, Gift Cards, and redemption history. Site owners are responsible for providing any privacy disclosures required for their particular use of the plugin.

The Free Core does not include an automatic third-party analytics or tracking service.

== Changelog ==

= 1.7.8 =
* Improved WordPress.org compatibility, asset loading, request sanitization, and initialization timing.

= 1.7.7 =
* Added the planned Print PDF Gift Card Premium Add-on to the Coming Soon catalog.

= 1.7.6 =
* Added a non-functional Premium Add-ons showcase in the SPA Gift Card admin menu.
* Added Coming Soon entries for planned premium extensions.
* Added GPLv2-or-later license metadata for WordPress.org distribution.

= 1.7.5 =
* Added the Payments admin page to the SPA Gift Card menu.
* Fixed the blank Payments submenu row.

== Upgrade Notice ==

= 1.7.7 =
Adds the Print PDF Gift Card entry to the Premium Add-ons Coming Soon catalog. Existing Free Core functionality is unchanged.
