=== Ovesio - Ecommerce Intelligence for WooCommerce ===
Contributors: ovesio
Tags: woocommerce, ecommerce, intelligence, stock management, ai
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.1.7
Requires PHP: 7.4
WC requires at least: 3.0
WC tested up to: 10.4.3
License: MIT
License URI: https://opensource.org/licenses/MIT

Empowers your store with advanced AI-driven insights, stock management forecasting, and strategic consulting.

== Description ==

**Ovesio - Ecommerce Intelligence** plugin empowers your WooCommerce store with advanced AI-driven insights, stock management forecasting, and strategic consulting. This plugin generates secure data feeds for your products and orders, allowing the Ovesio platform to analyze your business performance in real-time.

Connect your store to Ovesio to unlock powerful capabilities:

= 📦 Stock Management & Loss Prevention =

*   **Reorder Point (ROP):** Know exactly when to restock to strictly avoid stockouts.
*   **Urgency Status:** Get immediate "Danger" alerts for critical low-stock items.
*   **Lost Sales Estimation:** Calculate revenue lost (past and potential) due to inventory shortages.
*   **Days of Inventory (DOI):** Visualize how many days your current stock will last based on sales velocity.

= 📈 Forecasting & Growth =

*   **Sales Forecast:** AI-driven predictions for unit sales over the next 3, 6, or 12 months for better budgeting.
*   **Seasonality Detection:** Identify peak demand periods (e.g., Holidays) and get recommendations to stock up early.
*   **Trend Detection:** Automatically detect if a product lifecycle is Trending UP, DOWN, or is FLAT.

= 💰 Capital & Warehouse Efficiency =

*   **Inventory Turnover:** Measure how fast your capital cycles through stock; higher efficiency means better cash flow.
*   **Overstock Risk:** Identify "money-traps"—products sitting too long in the warehouse that tie up profitable capital.
*   **ABC Analysis:** Automatically segment products into Stars (Top Sellers) and Slow/Dead Movers.

= 🏷️ Pricing Strategy & Cross-Selling =

*   **Profit Optimization:** Receive AI recommendations to raise prices (high demand, low stock) or run promotions (overstock).
*   **Sell-Through Ratio:** Track the percentage of received inventory sold within a specific period.
*   **Cross-Selling Suggestions:** Discover "Bought Together" patterns to create high-value bundles and increase Average Order Value.

= 🤖 Personalized AI Consulting =

*   **Overall Verdict:** A quick executive summary diagnosing the product's health.
*   **Action Plan:** Clear, actionable instructions generated by AI (e.g., "Order 20 units now", "Increase price by 10%").

== Installation ==

1.  **Edit Settings:** Navigate to **WooCommerce** > **Ovesio Ecommerce Intelligence** in the main menu.
2.  **General Settings:**
    *   **Status:** Set to **Enabled**.
    *   **Order Export Period:** Choose the historical period for analysis (Last 12 Months or Last 24 Months).
    *   **Order Statuses:** Select the order statuses to export (e.g., Completed, Processing). Leave empty to use default valid orders.
3.  **Data Sources:**
    *   The plugin automatically generates secure **Product Feed** and **Order Feed** URLs displayed on the configuration page.
    *   Copy these URLs.
4.  **Connect to Ovesio:**
    *   Create an account at [ovesio.com](https://ovesio.com).
    *   Navigate to the **Data Sources** section in your Ovesio dashboard.
    *   Paste the **Product Feed URL** and **Order Feed URL** generated by this plugin.
5.  **Save:** Click the **Save Changes** button.

== Frequently Asked Questions ==

= Important Note on Security =

When you install this plugin, a unique **Security Hash** is automatically generated. This hash protects your data feeds from unauthorized access.

*   **If you Uninstall and Reinstall** the plugin, a **NEW** hash may be generated or you might need to reset it.
*   This will change your feed URLs.
*   You must update the URLs in your Ovesio.com account whenever the hash changes to maintain the connection.

== Screenshots ==

== Changelog ==

= 1.1.4 =
*   New validation methods added

= 1.1.3 =
*   License updated to MIT.

= 1.1.2 =
*   Multiple bug fixes.

= 1.1.0 =
*   Initial release.

== Upgrade Notice ==

= 1.1.0 =
*   Initial release of Ovesio - Ecommerce Intelligence.


== Author ==

Aweb Design SRL

== License ==

MIT License. See LICENSE file for details.

== Disclaimer ==

This module is provided "AS IS", without warranty of any kind, express or implied.
The authors and contributors are not liable for any claim, damages, or other liability,
whether in an action of contract, tort, or otherwise, arising from, out of, or in connection
with the module or the use or other dealings in the module.

This is an open-source community module and is not an official module of WordPress

This module may rely on third-party services/APIs. Availability and output quality may vary.

Use this module at your own risk. Always test in a staging environment before deploying to production.
