=== FlowDino ===
Contributors: jeremydumont
Tags: woocommerce, sync, flowdino, catalog, ecommerce
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.17
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sync your WooCommerce catalog with FlowDino and automatically publish your products to multiple marketplaces: Vinted, Leboncoin, eBay, Etsy, Vestiaire Collective, and more.

== Description ==

FlowDino is a powerful multi-platform selling tool that centralizes all your listings in a single interface and lets you publish them to the most popular second-hand and e-commerce marketplaces — Leboncoin, Vinted, Etsy, Vestiaire Collective, eBay, and more — in just a few clicks.

This **WooCommerce plugin** extends FlowDino's capabilities with two additional features:

* **Sync FlowDino articles to WooCommerce** — pull your FlowDino listings directly into your WooCommerce store
* **Import marketplace sales into WooCommerce** — automatically bring back orders from Leboncoin, Vinted, Etsy, Vestiaire Collective, eBay, and other platforms into your WooCommerce dashboard

= FlowDino Platform Features =

* Centralize all your listings in a single interface
* Optimize your product descriptions with an AI assistant
* Generate images of your clothing items on a virtual model
* Automatically change image backgrounds for a professional look
* Publish automatically to multiple platforms (Vinted, Leboncoin, eBay, Etsy, and more)
* Renew your listings automatically to stay at the top of search results
* Boost visibility through view and favorite exchange systems
* Automatically send personalized messages to users who favorite your listings
* Automatically delete your listings across all platforms in a few clicks

= WooCommerce Plugin Features =

* **Automatic synchronization**: Syncs your products when they are created or updated
* **Manual synchronization**: Bulk or individual synchronization via a dedicated interface
* **Complete admin interface**: Dashboard with statistics and advanced management
* **Category mapping**: Easily map your WooCommerce categories to FlowDino categories
* **Brand support**: Compatible with popular brand plugins (WooCommerce Brands, Perfect Brands, YITH Brands)
* **Attribute management**: Mapping for colors, materials, and sizes
* **Variable products**: Full support for product variations
* **Image synchronization**: Main images and galleries included
* **Stock management**: Synchronization of quantities and stock statuses
* **Multilingual**: Interface available in French and English
* **Dashboard**: Detailed synchronization statistics
* **Sales tab**: Import orders from external platforms (Vinted, Leboncoin, Etsy, eBay, Vestiaire Collective etc.) directly into WooCommerce

= Use Cases =

* Online stores using WooCommerce
* Centralized product catalog management across multiple marketplaces
* Multi-platform synchronization (Vinted, Leboncoin, eBay, Etsy, Vestiaire Collective, and more)
* Automation of listing publication and renewal
* Simplified inventory and order management

= Benefits =

* **Time-saving**: Full automation of synchronization and multi-platform publishing
* **Reliability**: Robust system with error handling
* **Ease of use**: Intuitive and user-friendly interface
* **Flexibility**: Configurable to fit your needs
* **Support**: Complete documentation and technical support

== Installation ==

= Automatic Installation =

1. Go to 'Plugins' > 'Add New' in your WordPress dashboard
2. Search for "FlowDino"
3. Click 'Install Now'
4. Activate the plugin

= Manual Installation =

1. Download the plugin ZIP file
2. Go to 'Plugins' > 'Add New' > 'Upload Plugin'
3. Select the ZIP file and click 'Install Now'
4. Activate the plugin

= Configuration =

1. Go to 'WooCommerce' > 'FlowDino' after activation
2. Enter your FlowDino credentials in the 'Settings' tab
3. Configure category and attribute mappings
4. Run your first synchronization

== Frequently Asked Questions ==

= How do I get a FlowDino account? =

Visit the FlowDino website to create your account and obtain your API credentials.

= Is the plugin compatible with all WooCommerce themes? =

Yes, the plugin works with all WooCommerce-compatible themes without any modifications required.

= Can I synchronize existing products? =

Absolutely! The plugin allows you to synchronize both existing products and new ones.

= How do I resolve connection issues? =

Use the built-in diagnostic tool in the 'Help' tab to identify and resolve connection problems.

= Does the plugin support variable products? =

Yes, the plugin fully supports variable products and their variations with all their attributes.

= Can I synchronize only certain categories? =

Yes, you can choose which categories to synchronize via the category mapping interface.

== Screenshots ==

1. Main plugin interface with dashboard and statistics
2. FlowDino connection settings configuration
3. Category mapping management
4. Product synchronization with detailed statuses
5. Brand and attribute management interface
6. Diagnostic and help tools
7. Advanced synchronization statistics
8. Color and material mapping configuration

== External Services ==

This plugin connects to the FlowDino API (https://www.flowdino.com) to synchronize your WooCommerce catalog with the FlowDino platform for centralized product management.

This service is provided by FlowDino: terms of service https://www.flowdino.com/cgu, privacy policy https://www.flowdino.com/privacy, legal notices https://www.flowdino.com/mentions-legales.

== Changelog ==

= 1.1.14 =
* Compatibility - Declared HPOS (High Performance Order Storage) compatibility via FeaturesUtil::declare_compatibility()

= 1.1.13 =
* Sales - Variation products are now correctly linked to orders: externalKey resolving now accepts product_variation post type
* Sales - Order item now calls set_variation_id() so WooCommerce displays the correct variation link and decrements variation stock
* Sales - Fixed externalKey parsing to use site URL prefix stripping instead of fragile explode+end approach
* Sales - Fallback no-orderLines path also resolves and links variation products via externalKey

= 1.0.9 =
* Add Tags configuration tab

= 1.0.8 =
* 

= 1.0.7 =
* 

= 1.0.6 =
* Docs - Updated plugin description to better reflect FlowDino's multi-marketplace features

= 1.0.5 =
* Security - Sanitize POST keys with sanitize_key() before constructing option names in colors, materials, sizes and video game ratings tabs
* Docs - Added External Services section to readme.txt documenting FlowDino API usage, data transmitted, and links to terms of service and privacy policy

= 1.0.4 =
* Fixed - Removed WordPress.org directory assets (screenshots) from plugin zip

= 1.0.3 =
* Added - Interface get Order
* Added - Interface get products


= 1.0.2 =
* Improved synchronization stability
* Minor interface bug fixes
* Performance optimizations
* Added new diagnostic tools
* Improved error handling
* Added Sales tab to import orders from external platforms into WooCommerce

= 1.0.1 =
* Fixed image synchronization issue
* Improved user interface
* Added support for additional brand plugins
* Compatibility bug fixes
* Database query optimizations

= 1.0.0 =
* Initial plugin release
* Automatic and manual synchronization
* Complete administration interface
* Support for categories, brands, and attributes
* Variable product management
* Image and stock synchronization
* Built-in diagnostic tools

== Upgrade Notice ==

= 1.0.2 =
Recommended update to improve stability and performance. Back up your site before updating.

= 1.0.1 =
Important bug fix release. Update strongly recommended.

== Support ==

For help or to report bugs:

* Documentation: See the complete documentation included in the plugin
* Technical support: Contact the FlowDino team via their website
* Community: Join the discussions on the WordPress forums
