=== ShapeOptions ===
Contributors: shapekode22
Tags: woocommerce, product options, product addons, extra options, custom fields
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add extra product options — text, selects, dates, file uploads and more — with flat-fee pricing to any WooCommerce product.

== Description ==

ShapeOptions lets you attach extra options to WooCommerce products without writing code. Build option groups with a visual builder, target them at all products, specific products, categories or tags, and charge flat fees per option or per choice.

**Fields included:**

* Text, Textarea, Number, Email, URL, Phone
* Select dropdown, Radio buttons, Checkbox, Checkbox group
* Date picker, Time picker
* Color picker, Range/Slider, Switch/Toggle
* Heading, Paragraph/HTML block, Separator, Collapsible section
* Secure file upload (type & size limits enforced)

**Also included:**

* Visual card builder: click to expand a field's settings, duplicate fields, structured choice rows, grouped field picker
* Per-field instructions shown as hints on the product page
* Show/hide by Product (AJAX search), Category, Tag
* Flat-fee pricing per field and per choice with live options total
* Drag-and-drop field ordering in the builder
* JSON import/export of option groups
* Template library with field previews (gift wrap, personalization, delivery preferences) — install as drafts, review, publish
* WPML and Polylang string translation
* Placement before or after the Add to Cart button
* Options shown in cart, checkout, orders and emails
* HPOS and Cart/Checkout Blocks compatible
* Lightweight vanilla-JS frontend, no jQuery or other dependencies
* Works on unlimited sites


== Installation ==

1. Install and activate WooCommerce.
2. Upload the plugin to `/wp-content/plugins/shapeoptions/` or install via the Plugins screen.
3. Activate, then go to **ShapeOptions → Dashboard** to build your first option group.

== Frequently Asked Questions ==

= Does it work with variable products? =
Yes — option groups render on simple and variable products.

= Where do uploaded files go? =
Into a dedicated `uploads/shapeoptions/` folder with randomized filenames. File type and size limits are enforced server-side.

= Is there a limit on option groups, fields, or sites? =
No — ShapeOptions is unrestricted and works on unlimited sites.

== Screenshots ==

1. The ShapeOptions Dashboard — an overview of your option groups, fields, and pricing at a glance.
2. The visual option builder — add and configure fields without writing code.
3. An option group rendered on the product page, with a live price total.
4. The template library — start from a ready-made option group.

== Changelog ==

= 1.0.0 =
* Initial release.
