=== NH2T Orders Export to Excel for WooCommerce ===
Contributors: NaderHt
Donate link: https://naderdev.com/
Tags: woocommerce, export, excel, orders, export orders
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
WC requires at least: 8.0
WC tested up to: 11.0
Stable tag: 1.2.7
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Export WooCommerce orders to Excel with Persian date picker and filtering options.

== Description ==

This plugin allows you to export WooCommerce orders to Excel files with the following features:

**Privacy-first:** Your customers' data never leaves your website and is never sent to external servers or third-party services.

* Filter orders by date range (Persian calendar support)
* Select specific order statuses
* Export all order details including:
  * Order number and status
  * Customer information (name, phone, address)
  * Product details with prices and quantities
  * Discount and shipping costs
  * Order totals

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/nh2t-orders-export-to-excel-for-woocommerce` directory
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Navigate to WooCommerce <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Orders Export to use the plugin

== Frequently Asked Questions ==

= Does this plugin work with the latest WooCommerce? =

Yes, tested with WooCommerce 8.0 to 11.0.

= Can I export orders from a specific date range? =

Yes, use date picker to select start and end dates.

= What order statuses are supported? =

All WooCommerce order statuses are supported.

= Is the plugin compatible with WooCommerce HPOS? =

Yes. The plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS).

= Is customer data sent to an external server? =

No. All data is processed locally on your website and is not sent to any external server.

= Is the exported file stored on the hosting server? =

No. The export file is generated temporarily and downloaded directly to your device. It is not permanently stored on the hosting server.

= Does the plugin support the Persian (Jalali) calendar? =

Yes. The plugin supports the Persian (Jalali) calendar and can export order dates in the Jalali date format.

= Does the plugin modify order data? =

No. The plugin only reads order data to generate the export file. It does not modify or delete any order information.

== Screenshots ==

1. Export settings page with date picker and status filters
2. Generated Excel file with order details

== Changelog ==

= 1.2.7 =
* Prevent export failures when a product or order amount is empty or non-numeric.

= 1.2.6 =
* Add complete Persian translations for the plugin interface and metadata.
* Add a fully translated Persian readme.
* Load bundled translations with the plugin slug text domain.

= 1.2.5 =
* Prefix the bundled SimpleXLSXGen namespace to prevent conflicts with other plugins and themes.

= 1.2.4 =
* The text domain was changed to the same as the plugin slug.

= 1.2.3 =
* Make product line labels in Excel exports translatable.

= 1.2.2 =
* Generate exports in memory and stream them directly without writing runtime files.

= 1.2.1 =
* Load admin CSS and JavaScript through the WordPress enqueue APIs.
* Improve export validation and download security.
* Preserve customer data as literal text in Excel exports.

= 1.2.0 =
* Add Jalali (Shamsi) DateTime Class to convert Gregorian date to jalali on Persian sites.

= 1.1.0 =
* Make .xlsx files

= 1.0.0 =
* Initial release
* Basic order export functionality
* Persian date picker integration
* Order status filtering

== Upgrade Notice ==

= 1.2.7 =
Prevent export failures for products without a price and other empty WooCommerce amounts.

= 1.2.6 =
Add complete Persian localization and ensure bundled translations load correctly.
