=== Forga Migration Export ===
Contributors: dominikshaim
Tags: export, migration, woocommerce, xml
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
WC requires at least: 6.0
WC tested up to: 11.0
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Export WooCommerce catalog, customers, and orders to XML files for migration to Forga.

== Description ==

The plugin adds one WooCommerce administration screen with three download links:

* `catalog.xml`: products, variations, prices, tax rates, stock levels, images, and category paths used by products
* `customers.xml`: registered customers and their billing and shipping addresses
* `orders.xml`: orders, address snapshots, line items, shipping, payment, discounts, fees, and refunds

Drafts, private products, and products hidden from the catalog are exported too, marked as hidden, so the new store keeps them unpublished. Disabled variations are marked as hidden as well.

Files are streamed directly to the browser of a signed-in user who can manage WooCommerce. The plugin does not send data to an external service, create a publicly accessible file, require an API key, or run in the background.

= Data that is not exported =

* Passwords or their hashes. Customers set a new password in the new store.
* Custom fields and prices calculated by other plugins. These require separate mapping.
* Categories without products. The catalog format carries category paths, not a separate category tree.

== Installation ==

1. Upload the ZIP through Plugins > Add New Plugin > Upload Plugin.
2. Activate the plugin.
3. Open WooCommerce > Migrate to Forga and download the three files.
4. After the migration, deactivate and delete the plugin. It leaves no stored data behind.

== Frequently Asked Questions ==

= Who can access the exported data? =

Only a signed-in user with permission to manage WooCommerce. Download links are protected by a time-limited WordPress nonce, and the export is not stored on the server.

= Can it handle a large store? =

XML is streamed in batches, so the entire catalog is not held in memory. Export duration depends on the amount of data and hosting performance. Keep this tab open until the file has downloaded.

== Changelog ==

= 1.0.3 =
* Drafts, private products, and products hidden from the catalog are exported marked as hidden, so the migrated store does not publish them. Disabled variations are marked as hidden too.
* A published product carries the address of its product page, so the new store can redirect the old address to the product.
* The version follows the OpenCart packages: all migration packages are released under one number.
* Shipping and fee lines carry the tax rate the order was charged at instead of a ratio of rounded amounts.
* Orders carry the WooCommerce status key, so translated status names pair with the statuses of the new store.
* Czech translation: corrected the introduction text.
* Slovak translation.

= 1.0.0 =
* Initial release: export the catalog, customers, and orders.
