=== Smart Order Number for WooCommerce ===
Contributors: wpclever
Tags: woocommerce, order number, sequential order number, custom order number, order format
Tested up to: 7.0
Version: 1.0.2
Stable tag: 1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Easily customize WooCommerce order numbers with dynamic prefixes, suffixes, sequential counters, auto-resets, and separate formatting for free orders.

== Description ==

**Smart Order Number** is a powerful and flexible WooCommerce extension designed to help store owners take complete control of their order numbering system. Instead of relying on random or standard WordPress post IDs, you can create clean, professional, and branded sequential order numbers.

### Key Features

* **Sequential Order Numbers**: Assign customizable sequential order numbers to newly placed WooCommerce orders.
* **Dynamic Placeholders**: Use dynamic tags in prefixes and suffixes, including date tags (`{YYYY}`, `{YY}`, `{MM}`, `{DD}`, `{HH}`), order & customer details (`{ORDER_ID}`, `{CUSTOMER_ID}`, `{PAYMENT_METHOD}`, `{USER_ROLE}`, `{COUNTRY_CODE}`, `{POST_CODE}`, `{PRODUCT_COUNT}`).
* **Custom Counter Settings**: Define custom starting numbers, step increments, and number padding (zero-filling).
* **Auto-Reset Cycles**: Automatically reset sequential order counters daily, monthly, or yearly.
* **Separate Formatting for Free Orders**: Configure distinct prefix and suffix formats for zero-amount ($0) orders.
* **HPOS & Legacy Search Compatibility**: Seamless search integration in WooCommerce order admin table supporting both High-Performance Order Storage (HPOS) and legacy custom post types.
* **Live Interactive Preview**: View real-time previews of standard and free order formats directly in the settings page.
* **Bulk Order Generator**: Tool to generate custom sequential numbers for existing past orders.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/smart-order-number` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Navigate to **WP-admin > Smart Order Number** to configure your order format preferences.

== Changelog ==

= 1.0.2 =
* Updated: Changed the plugin name to "Smart Order Number for WooCommerce"

= 1.0.1 =
* Fixed: get_transient may not works correctly
* Fixed: Generic function/class/define/namespace/option names

= 1.0.0 =
* Initial release.
