=== EGS Order Sequence Studio for WooCommerce ===
Contributors: egs2025
Tags: order numbers, sequential orders, order prefix, order reference, woocommerce
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create readable sequential WooCommerce order references with prefixes, suffixes, date tokens, padding, previews, and safe batch tools.

== Description ==

EGS Order Sequence Studio gives WooCommerce stores a focused way to display readable order references while preserving WordPress and WooCommerce's original internal order IDs.

Free features:

* Sequential numbers for new WooCommerce orders.
* Optional prefix and suffix.
* Configurable zero padding from 1 to 12 digits.
* Optional year, year/month, or full-date token.
* Custom separator between order-number parts.
* Live order-number preview in the settings screen.
* Configurable starting number.
* Explicit reset control with a duplicate-number warning.
* Batch assignment for older orders, 100 at a time.
* HPOS compatibility declaration.
* No tracking, external API requests, remote assets, or premium code.

The plugin changes only the order reference displayed through WooCommerce. It does not replace or rewrite the underlying database order ID.

== Installation ==

1. Install and activate WooCommerce.
2. Upload the plugin ZIP through Plugins > Add New Plugin > Upload Plugin.
3. Activate EGS Order Sequence Studio for WooCommerce.
4. Open WooCommerce > Order Sequence Studio.
5. Choose your format and save the settings.

== Frequently Asked Questions ==

= Does this change WooCommerce order IDs? =

No. It stores and displays a separate readable order reference. The original internal order ID remains unchanged.

= Can I number existing orders? =

Yes. Use the Existing Orders tool. It processes up to 100 orders without a sequence number per run.

= What happens when I reset the sequence? =

The next eligible order starts from the chosen starting number. A reset can create duplicate visible references if the new range overlaps existing values, so use it carefully.

= Does the plugin contact any external service? =

No. It does not send data externally and does not load remote JavaScript, CSS, fonts, images, or tracking code.

= Does it work with HPOS? =

The plugin uses WooCommerce order APIs and declares compatibility with High-Performance Order Storage.

== Screenshots ==

1. Format settings and live order-number preview.
2. Existing-order batch assignment and current sequence information.

== Changelog ==

= 1.2.1 =
* Added the declared languages directory.
* Reworked existing-order assignment to avoid a slow metadata query warning.

= 1.0.0 =
* Initial release.
* Added sequential order references, prefix, suffix, date tokens, padding, separators, preview, reset controls, batch assignment, and HPOS compatibility.

== Premium Add-on ==

An optional separately installed Pro edition is available from https://plugins.modulebazaar.com/product/woocommerce-order-sequence/. The free plugin does not contain or remotely load premium executable code.

= 1.2.0 =
* Added a clearly separated premium-feature preview page and the official upgrade link.
* The free plugin contains no premium execution code or licence validation.
