# Optiongrove1.0.0

Original native WooCommerce conditional extras for simple and variable products. Merchant-defined select/radio/checkbox/text choices are validated on the server, added once per unit, and carried into native cart and order items. WooCommerce calculates quantities, tax, coupons and shipping. The separate free preview is only arithmetic rehearsal.

## Install the actual plugin

Use a backed-up staging site, with WordPress, WooCommerce and PHP8.1+ installed. The producer's tested versions are recorded in the real QA evidence; untested host/theme/plugin combinations require a staging review. In WordPress Plugins → Add Plugin → Upload Plugin, choose optiongrove-plugin-1.0.0.zip, install and activate. The ZIP has the required optiongrove/ folder. Do not upload the broader source/documentation ZIP as a plugin.

Set classic WooCommerce cart and checkout shortcode pages, a single store currency and two decimal pricing. Blockcart/checkout/StoreAPI checkout are unsupported for configured items and fail explicitly. Do not combine with another product-options, dynamic-price, multi-currency, subscription or bundle price engine without a separate integration implementation/test. All option amounts use the product's native catalog tax basis: tax-exclusive/exclusive or inclusive/inclusive. Taxes/discounts follow the normal WooCommerce line price including extras, not a separate fee tax class.

## Configure one product

1. Open WooCommerce → Product options. Enter an existing simple product or variable parent product ID and Load product. Variation IDs are not rule targets; variation-specific base prices remain in native WooCommerce.
2. Use the field editor to set the heading, labels, types, required flags, per-item prices and choices. Add/remove fields and choose Show this field when / Equals for conditional branches. You can also open samples/ceramic-cup.json as a starting point. Advanced JSON remains available for developer edits; use Use JSON in field editor to synchronize that draft. A file fills the draft only; Save options validates all rules and persists them for this product. Export options JSON downloads the normalized saved rules.
3. Each field has a unique lowercase id, plain label, explicit type and required flag. Select/radio have1–10choices with uniqueid/label/price. Checkbox/text have a fixed price. Up to12fields; prices are nonnegative decimal strings up to99999.99 with two fractional digits. Combined additions have the same maximum.
4. A when condition may reference only an earlier select/radio/checkbox and a supported value. Checkbox values are yes or empty; text cannot be a condition parent. An inactive branch's values are ignored, not charged or carried into the order. Required is enforced only on active fields. Text is plain single-line, trimmed, up to60characters, without markup/control characters.
5. Visit the native product page, select options and add to cart. A personalisation selection is validated independently of the browser preview. Forged client price fields cannot set charges. Required/invalid options and bad nonce prevent native form add-to-cart. Host server-side plugin calls remain responsible for their own nonce/permission context; the configured classic form hook performs this validation.
6. Different configurations form separate native cart lines; identical selections merge. Quantity multiplies extras normally. Cart and order items show labels and selected values. A saved private snapshot records the rules revision and per-unit additions. Catalog product/variation base prices are not overwritten.

The synthetic cup has sale base30USD, Sea glaze5, gift wrap3 and inscription7, with required inscription text only when selected. Two fully chosen cups have item subtotal90USD before native taxes/shipping/discounts. The fictional fixture's10%tax and8USDshipping are test settings, not tax/business advice or real merchant promises.

## Change rules safely

JSON is validated completely before saving. An invalid save preserves the previous saved rules; a malformed file preserves the current draft. Review unsaved text before navigating away. Save/export rules as backups: they contain labels and amounts, not catalog records or customer orders.

After a rule change/removal, existing cart lines with an older snapshot block checkout and tell the shopper to remove/reselect that line. They are not silently converted to a new charge. Repeated native totals use the fresh native base price plus one reviewed unit addon, never the already-adjusted price. Raw order values and choice metadata remain with the existing order. Standard native refund/payment behavior is not overridden or independently certified by this plugin's local tests.

## Supported environment and boundaries

Classic WooCommerce forms/cart/checkout; simple and variable products; one two-decimal currency. Uses native prices, discounts and tax rules, with extras discounted as part of the product. No uploads, formula/percent/range/date fields, live stock/booking/availability, blocks, StoreAPI checkout or third-party dynamic pricing/currency/subscription/bundle support. Use real audience/theme/browser/accessibility integration checks. The local officialSQLite QA adapter does not certify MySQL row-lock/stock reservation behavior; the synthetic fixture uses unmanaged stock.

The native plugin adds no network, cron, telemetry, external fonts, payment or account connection. Product/order text belongs to the merchant's native store; no data is sent to Nishvault. Test accounts/data in the internal QA workspace are disposable synthetic and are excluded from customer archives. Never deploy that test runtime.

## Free rehearsal

Open preview/index.html or serve the extracted preview folder on loopback. It demonstrates fixed fictional30USD base plus options/quantity, with conditional text and invalid-input preservation. It creates no cart, quote, booking, checkout or payment. Its LICENSE.txt is the approved canonical free-use text. The paid plugin's LICENSE.txt is separate and unchanged from the approved purchaser profile.

## Edit and verify

Editable native files: optiongrove/core.php, optiongrove/optiongrove.php and assets/. No build or npm service is needed. Internal producer scripts/tests and native QA runtime are excluded from the customer ZIP. Actual source-bound QA records distinguish pure PHP/native WooCommerce assertions, genuine CUA screens/downloads/chooser and installation results; technical counts do not substitute for real UI or customer-quality review.

The selected package offer is USD 99 one-time. All original native plugin PHP/JavaScript/CSS in optiongrove/ is GPL v2 or later, with complete source and license in that directory. Recipients may use, modify and redistribute that software under the GPL, including for a fee; retain the required notices and corresponding-source rights. Root LICENSE.txt defines the remaining documentation/sample scope and does not add restrictions to the GPL-covered plugin. The separate free preview keeps its existing approved terms. No hosted service, guaranteed support, SLA/update schedule or results are promised. Local preparation is not live publication, payment activation or a successful purchase.
