=== Edara Connect ===

Contributors: edaraconnect
Donate link: 
Tags: Edara, WooCommerce, ERP, Accounting, Finance
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.8
Stable tag: 2.0.5
WC requires at least: 2.6
WC tested up to: 9.3.3
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Seamlessly integrates your WooCommerce store with Edara ERP to synchronize orders, inventory, and financial data in real-time.

== Description ==
Edara Connect integrates your WooCommerce store with Edara ERP, a powerful cloud-based solution for managing finances, sales, inventory, and operations. Whether you run an e-commerce business, retail store, or distribution network, this plugin streamlines your workflows by connecting all business operations into a single platform.

== Features ==
1. Seamless **Order Sync** from WooCommerce to edara for streamlined processing.
2. Effortless **Customer Sync** from WooCommerce to edara for unified data management.
3. Automatic **Inventory Balance Sync** ensures accurate product quantities across platforms.
4. Real-time **Price and Product Data Updates** for consistent information.

== Privacy & Data Collection ==

**Support & Debugging Data Collection**

To provide optimal support and resolve technical issues efficiently, Edara Connect automatically collects anonymous error logs and diagnostic information. This data helps our support team identify and fix integration issues quickly.

**What We Collect:**
* Error messages and API response details (when errors occur)
* Website URL and basic technical information (PHP version, WordPress version, plugin version)
* Request context and timestamps for debugging purposes
* No personal customer data, order contents, or sensitive business information is collected

**How It's Used:**
* Exclusively for technical support and debugging purposes
* Helps identify and resolve integration issues faster
* Enables proactive improvements to plugin stability
* Data is automatically anonymized and securely handled

**Your Control:**
* Only error/diagnostic data is collected - no personal or business data
* Data collection is essential for providing reliable technical support
* All data follows WordPress and privacy best practices

By using Edara Connect, you acknowledge this data collection for support purposes. If you have privacy concerns, please contact our support team.

== Installation == 
Visit Edara Help Center [here](https://help.getedara.com/en/collections/10567926-woocommerce).

== Changelog ==

= 2026-04-15 - version 2.0.5 =
* Better handling for simple-to-grouping transition and SKU conflict safeguards.

= 2026-04-06 - version 2.0.4 =
* Optional stock movement log.
* Stock movement list: UI fixes (reasons, search, pagination).

= 2025-09-30 - version 2.0.3 =
* Fix Allow Empty SKU checkbox button due to broken admin.js file.

= 2025-09-30 - version 2.0.2 = 
* Enhanced order date handling to use WordPress site timezone for accurate local time representation.
* Added comprehensive error logging for products with disabled stock management during inventory updates.

= 2025-09-29 - version 2.0.1 =
* Implemented smart error message extraction from Edara API responses.
* Eliminated duplicate logging across all plugin components for cleaner error tracking.
* Added detailed error context and operation-specific logging for better debugging.
* Improved error handling in all API communications and data synchronization processes.

= 2025-09-15 - version 2.0.0 =
* Handled discount updates from WooCommerce to Edara.
* Added sales person selection to be sent with the order.
* Added support to link payment methods in WooCommerce to GL accounts in Edara.
* Enhanced error logging and debugging system for improved support.
* Implemented comprehensive error tracking with Google Sheets integration for faster issue resolution.

= 2025-09-01 - version 1.2.4 =
* Added a safeguard to prevent repeated updates between Edara and WooCommerce.

= 2025-08-31 - version 1.2.3 =
* Add more order cleanups to match discounts between woocommerce and edara.

= 2025-08-31 - version 1.2.2 =
* Dynamic properties are now mapped with woocommerce global attributes.
* Fix orders discounts being double applied on updates from edara.

= 2025-08-21 - version 1.2.1 =
* Fix wrong customer issue

= 2025-07-06 - version 1.2.0 =
* Added incoming order updates from Edara to WooCommerce
* Added WooCommerce Order Number to paper number in Edara
* Added option to choose either Edara price or dealer price for WooCommerce regular price with discounts

= 2025-06-19 - version 1.1.1 =
* Added WooCommerce order cancellation sync with Edara ERP.

= 2025-06-16 - version 1.1.0 =
* Added advanced product sync direction and robust product linking
* Improved variable product and WPML compatibility (main product only for price/stock)
* Enhanced settings UI/UX and product table display
* Fixed duplicate product linking and empty SKU handling
* General bug fixes and performance improvements

= 2025-06-12 - version 1.0.4 =
* Improved performance by optimizing cache handling
* Fixed API token persistence issues
* Enhanced API communication reliability

= 2025-05-07 - version 1.0.3 =
* Bug fixes

= 2025-03-04 - version 1.0.2 =
* Bug fixes & base improvements

= 2025-03-04 - version 1.0.1 =
* Bug fixes

= 2025-01-27 - version 1.0.0 =
* First public release