=== Rendervis Swatch Pack ===
Contributors: rendervis
Tags: woocommerce, samples, swatches, sample pack
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.2.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Let customers select samples for a product and save their choices with the order.

== Description ==
Configure a simple product with names, unique codes, colours and optional Media Library photos. The required number of choices is validated on the server. Choices appear in cart and order metadata. Includes a native selector block and supports Cart/Checkout Blocks and HPOS. WooCommerce manages pack price, tax, shipping and stock.

Requires WooCommerce 10.9 or newer. No per-swatch inventory, variable-product picker or automatic sample credits. No telemetry or external runtime service. See README.md for complete setup, behaviour, translation and limitations.

All included functionality is free. No license activation, trial expiry, paid unlocks, telemetry or remote service is required.

This extension builds fixed-count sample kits from a per-product catalogue. It does not replace variation dropdowns and does not require a separate WooCommerce product for each sample. Different kits can share a cart with ordinary products. It includes a native selector block and validation for Cart and Checkout Blocks.

== Installation ==
1. Install and activate WooCommerce.
2. Upload and activate this plugin.
3. Create a simple product and open Product data > General.
4. Enable Swatch pack, set the count and add catalogue rows with unique codes.
5. Save and test the full checkout journey on staging.

== Frequently Asked Questions ==
= Can I use photographs? =
Yes. Choose an image from the Media Library for each entry.
= Does it change the price? =
No. The simple product price applies to each pack.
= Does it track individual swatch stock? =
No. WooCommerce stock applies to whole packs.
= What happens on uninstall? =
Product metadata and order history are preserved.

== Privacy ==
Selected sample names and codes are stored in the WooCommerce cart/session and order-item metadata. The plugin does not collect analytics or contact external servers. Your store controls customer/order retention through WooCommerce and WordPress. Product settings and historical order metadata are preserved on uninstall.

== Changelog ==
= 0.2.2 =
* Use the distinctive Rendervis Swatch Pack name and matching slug/text domain.

= 0.2.1 =
* Prepare the free WordPress.org release for contributor rendervis.
* Add product-specific classic-form nonce validation and strict posted-code sanitization.
* Rely on WordPress.org translation loading and restore WooCommerce product context reliably.

= 0.2.0 =
* Add visual catalogue editor and Media Library photos.
* Add native selector block, translations template and explicit feature compatibility.
* Preserve valid configuration on invalid saves; validate stale Cart Blocks selections.
= 0.1.0 =
* Initial fixed-count picker and order metadata.
