=== MadlabDS Easy Product Sync ===
Contributors: MadlabDS,ZombieMann 
Tags: woocommerce, whatsapp, automation, green-api, productivity
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.1.1
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish simple WooCommerce products directly from mobile messaging. Professional bridge between WhatsApp and WooCommerce. 

== Description ==

MadlabDS Easy Product Sync PRO is the ultimate tool for store managers and business owners who need high-speed catalog management.

If you sell through WhatsApp, you can now sync your broadcast group (or admin chat) directly with your online store and manage your WooCommerce 100% from your phone. Forget about opening additional interfaces, logging into slow dashboards, or dealing with technical complications; with a single message from your WhatsApp chat, you can create, edit inventory, or delete products from your store instantly. It is the fastest, most natural, and direct way to keep your high-rotation inventory synchronized using the technology and speed of Green-API.

**This plugin relies on a third-party service, [Green-API](https://green-api.com), to act as a gateway between your device and your WordPress site.**

= 🛠️ Service Disclosure =
* **Service Used:** Green-API (https://green-api.com)
* **Purpose:** Required to receive webhook events from mobile messaging and send automated confirmation replies to the administrator.
* **Terms & Privacy:** Consult the Green-API website for their specific policies regarding data handling.

= 💎 Lite vs PRO =
MadlabDS Easy Product Sync is the free version focused on **Simple Products**. For advanced features like **Product Variations (Size/Color)**, **Photo Galleries**, and **Stock Rules**, please visit [MadLab DS Easy Product Sync](https://madlabds.com/easyproductsync).

== Installation ==

= Step 1: Green-API Setup =
1. Create an account at [Green-API](https://green-api.com).
2. Create an instance and link your device by scanning the QR code.
3. Locate your **Instance ID**, **API Host**, and **API Token** in the Green-API console (Go to the Green-API Console / Service Methods / GetChats and find your Group ID in the response json).

= Step 2: Plugin Configuration =
1. Upload the `madlabds-easy-product-sync` folder to `/wp-content/plugins/` or install via WordPress.
2. Activate the plugin.
3. Go to the **Product Sync** menu in your WordPress dashboard.
4. Enter your Green-API credentials: **Instance ID**, **API Host**, and **API Token**.
5. Enter your **Group ID** (The unique ID of the group where you will send the products).
6. Click **Save Changes**.

= Step 3: Webhook Link =
1. Copy the **Webhook URL** generated in the plugin settings page.
2. Go to your Green-API console -> Settings -> Webhooks.
3. Paste the URL and ensure "Incoming Messages" is enabled.

== Frequently Asked Questions ==

= How do I create a product? =
Send a PHOTO to your authorized group with this 4-line caption:
1. Product Name
2. Category
3. Price
4. SKU

= Which commands are available? =
* **STOCK [SKU] [QTY]**: Updates product inventory instantly (e.g., STOCK X51 12).
* **DELETE [SKU]**: Removes the product from WooCommerce.
* **HELP**: Sends the instruction manual back to your admin chat.

== Screenshots ==
1. Settings
2. Webhook URL and debugger
3. Create an Instance in GreenAPI and locate your credentials
4. Edit your Webhook url
5. Webhook URL location
6. Locate your group's credentials here API/Service Methods/GetContacts

== Changelog ==

= 1.0.1 =
* Initial Version for Madlab DS Easy Product Sync

= 1.0.1.1 =
* readme.txt tags and description update