=== Storelly ERP – B2B Inventory & Multi-Location POS for WooCommerce ===
Contributors: cloodo, storelly
Tags: storelly, erp, inventory, b2b, woocommerce
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Connect WooCommerce to Storelly ERP to sync products, inventory, categories, and orders across your business locations.

== Description ==

Storelly ERP is a powerful WooCommerce extension that seamlessly connects your online store to the Storelly business management platform. Stop manually updating spreadsheets and running your business from the WordPress backend.

By connecting WooCommerce to Storelly, you unlock advanced modules designed for scaling businesses:
* **Multi-Location Inventory**: Map your WooCommerce site to a specific Storelly physical location/warehouse and sync stock instantly.
* **Order Management**: Sync WooCommerce orders directly to Storelly as Sales records for fulfillment.
* **Point of Sale (POS)**: Sell in-person and have your WooCommerce inventory update in real-time.
* **Product Sync**: Keep your product catalog, pricing, and categories perfectly synchronized based on SKUs.
* **B2B Workflows**: Handle complex pricing tiers and bulk purchasing natively within Storelly.

== External services ==

This plugin relies on the **Storelly SaaS API** as a third-party service to function correctly. 

* **What it does**: The plugin communicates directly with the Storelly API to synchronize products, categories, locations, inventory levels, and orders. Without this connection, the plugin cannot perform its intended synchronization tasks.
* **API Endpoints**: The plugin connects to the Storelly app via the user-provided API URL (defaulting to `https://app.storelly.com` or your self-hosted Storelly dashboard URL) and specifically calls endpoints under `/api/woocommerce-plugin/*`.
* **Data Transmitted**: When you configure and run the plugin, the following data is transmitted to the Storelly servers securely via HTTPS: WooCommerce Orders (Customer details, purchased items, totals), Products (Titles, SKUs, inventory levels, prices), and Categories.
* **Terms of Service**: By using this plugin, you agree to the Storelly Terms of Service. Please review our [Terms of Service](https://app.storelly.com/terms) and [Privacy Policy](https://app.storelly.com/privacy) for complete details on how your data is handled and protected.

== Installation ==

1. Upload the `Storelly_ERP_Plugin` folder to the `/wp-content/plugins/` directory, or upload the generated ZIP file via your WordPress admin panel.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Upon activation, you will be redirected to the **Setup Wizard**.
4. Sign in with your Storelly account credentials to establish a secure connection.
5. Choose your synchronization preferences and perform your first sync!

== Frequently Asked Questions ==

= Do I need a Storelly account to use this plugin? =
Yes, you need an active Storelly workspace. You can create one at [Storelly.com](https://storelly.com).

= Can I link multiple WooCommerce sites to Storelly? =
Yes! You can link multiple WooCommerce sites to a single Storelly workspace by assigning each site to a different Storelly "Location".

== Screenshots ==

1. The 5-step Storelly ERP setup wizard welcome screen.
2. Storelly ERP settings for sync direction and background processing.
3. Storelly ERP dashboard showing sync status and SKU health tools.

== Changelog ==

= 1.0.1 =
* Update translations and modify text domain for Storelly ERP
* Enhance Sync Engine with SKU Tracking and Log Improvements
* Fix Connection Form Validation & UX Polish for Setup Wizard

= 1.0.0 =
* Initial release. Features include 2-way product sync, category sync, inventory sync, order webhooks, and an interactive setup wizard. Full i18n support.
