=== Ordrivo StockFlow Pro ===
Contributors: bilgebaykus
Tags: inventory, warehouse, stock, purchasing, woocommerce
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 6.0.5
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Inventory and purchasing for WordPress with eight interface languages, a responsive staff terminal and 300 editable demo products across ten industries.

== Installation ==
Upload this ZIP through WordPress Plugins, install and activate. Open StockFlow, choose a language and configure your currency, staff roles and stock locations. Requires 64-bit PHP and InnoDB. Opening demo quantities are zero. Full guide: docs/index.html or docs/USER-GUIDE.md.

== Features ==
Exact four-decimal receipts, issues, transfers, physical counts, purchase receipts, audit trail, supplier contacts, role checks, CSV exports and optional WooCommerce stock mirroring. Shortcode: [ordrivo_stock_terminal]. English default with Swedish, Finnish, German, Turkish, Arabic, Persian and Kurmanji interfaces. Business content is manually editable.

== Scope ==
Ten business categories share one inventory installation; no multi-company separation. WooCommerce owns the chosen store stock location. No tax/accounting engine, invoice payments or automatic supplier emails. Camera scanning is browser-dependent. See docs/TEST-RESULTS.md for what was tested and what remains unverified.

== Image licensing ==

All ten bundled JPEG category images and the plugin code are GPL-2.0-or-later. Copying, modification and redistribution are permitted under that license, including commercially and outside the demo. See LICENSE.txt, assets/images/LICENSE.txt and docs/IMAGE-SOURCES.md.

== Changelog ==

= 6.0.5 =
* Validate product SKU uniqueness before insert/update and show a clear translated message for duplicates.
* Allow an existing product to retain its own SKU when edited; the database unique constraint remains a final safeguard.
* Check duplicate SKU validation for create and edit paths in source-level release checks.

= 6.0.4 =
* Add manager-only deletion for unused categories, warehouses, locations and suppliers, with transactional checks and translated explanations when records have dependencies.
* Preserve product assignments, warehouse locations, stock movement history, non-zero balances, WooCommerce mirror locations and purchase-order history from deletion.
* Fix Media Library selection inside the product/category editor by temporarily dismissing the native dialog, restoring it after the media modal closes and assigning the selected attachment.
* Retest release source and packaging; see docs/TEST-RESULTS.md for verified checks and environment limits.

= 6.0.3 =
* Add manager-only Remove demo products in Settings, with confirmation and protected-history results.
* Add product-row deletion for unused products; protect WooCommerce links, movement history, purchase references and non-zero balances.
* Retain demo-seeded marker after removal so updates/reactivation do not repopulate inventory.
* Identify new demo records explicitly; upgrades recognize exact untouched catalog matches.
* Add product-reference index and locking for safe purchase/deletion operations.

= 6.0.2 =
* Discover opening stock and stock actions directly in the product catalog.
* Disable unusable WooCommerce controls with actionable setup guidance.
* Fix redundant six-decimal WooCommerce stock values without changing quantities.
* Verify real WordPress/Chrome inventory, purchasing and WooCommerce workflows.
= 6.0.1 =
Clarify GPL-2.0-or-later licensing for all ten bundled JPEG assets, remove product/demo-only wording and preserve image provenance.

= 6.0.0 =
Initial release. See CHANGELOG.md.
