=== OmniWooSync – Sync Any API for WooCommerce ===
Contributors: uvision
Donate link: https://omniwoosync.com/
Tags: woocommerce, product-sync, inventory-sync, product-import, dropshipping
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect any external supplier REST API to automatically import and synchronize products, stock levels, and prices directly into WooCommerce.

== Description ==

**OmniWooSync** is the complete solution for synchronizing products, variations, inventory, and pricing from any third-party supplier API directly into your WooCommerce store.

Whether you run a dropshipping business, work with private B2B distributors, or operate multiple multi-channel stores, OmniWooSync automates your catalog management on autopilot.

### 🚀 Key Features

* **Universal API Connectivity:** Connect to any REST or JSON API with No Auth, Basic Auth (Base64), or Bearer Tokens.
* **Pre-built Supplier Templates:** 1-click configurations for **Shopify**, **PrestaShop**, **BigCommerce**, **Magento (Adobe Commerce)**, and external **WooCommerce** stores.
* **Custom REST API Builder:** Build custom connections from scratch with multi-endpoint chaining, nested payload traversal, and dynamic parameter variables (`{parent_id}`, `{sku}`, etc.).
* **Smart Field & Attribute Mapping:** Visually map external API JSON keys to WooCommerce standard fields (Title, SKU, Price, Sale Price, Stock, Categories, Images, Weight, Dimensions, and Custom Post Meta).
* **Variable Product & Variations Support:** Seamlessly detect child variants, option names, and attributes.
* **Scheduled Background Sync:** Set automated cron intervals (hourly, twice daily, or daily) powered by Action Scheduler to keep your inventory accurate in real time.
* **Detailed Activity & Error Logs:** Inspect request/response payloads and debug sync jobs directly from your WordPress dashboard.

*Disclaimer: OmniWooSync is an independent third-party tool and is not affiliated with, endorsed by, or sponsored by Automattic Inc. or WooCommerce.*

== Installation ==

1. Upload the `omniwoosync` folder to your `/wp-content/plugins/` directory, or upload the zip via **Plugins > Add New > Upload Plugin**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **OmniWooSync > Suppliers** in your admin sidebar.
4. Click **Add New Supplier** to select a pre-built template or configure a custom API endpoint.
5. Set up your field mappings and run your first sync!

== Frequently Asked Questions ==

= Does OmniWooSync work with any REST API? =
Yes! In addition to pre-built templates for popular eCommerce platforms, you can connect any custom REST API endpoint that returns JSON data.

= Can I sync stock and prices automatically on a schedule? =
Yes. You can schedule background sync tasks that automatically update inventory quantities and prices at regular intervals.

= Does it support variable products? =
Yes. OmniWooSync handles both simple and variable products, including child variations and attributes.

== Screenshots ==

1. OmniWooSync central dashboard with real-time statistics and sync logs.
2. Supplier management screen with connection statuses and quick actions.
3. Pre-built platform templates for Shopify, PrestaShop, BigCommerce, Magento, and WooCommerce.
4. Modular 5-step API configuration wizard and visual field mapper.

== Changelog ==

= 1.0.3 =
* Freemius SDK integration with automated licensing and updates.
* Upgraded to OmniWooSync branding with modern color palette and custom menu icons.
* Added official SVG logos for platform supplier templates.
* Replaced direct file logging with native WooCommerce Logger.

= 1.0.0 =
* Initial release of OmniWooSync.
