=== SahlDesk - Advanced Ticketing System & Knowledge Base ===
Contributors: asheikh0
Donate link: https://sahldesk.com
Tags: ticketing system, helpdesk, customer support, woocommerce, ai agent
Requires at least: 5.6
Tested up to: 6.6
Stable tag: 1.4.92
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Centralize customer support with the ultimate WooCommerce helpdesk and ticketing system built directly into your dashboard.

== Description ==

SahlDesk is the ultimate **WooCommerce helpdesk** and **ticketing system** built directly into your WordPress dashboard. Managing a growing e-commerce store means dealing with a flood of customer emails, lost inquiries, and delayed responses. SahlDesk solves this by centralizing your entire **customer support** workflow into one beautiful, easy-to-use interface. Whether your customers need help with order tracking, general inquiries, or managing **RMA** (Return Merchandise Authorization) and **order returns**, SahlDesk ensures no message falls through the cracks. 

Our seamless WooCommerce integration syncs customer data instantly, allowing your **customer service** team to provide faster, more personalized responses without ever leaving WordPress. SahlDesk is also uniquely designed for international stores, featuring native **Bilingual/RTL support** out of the box, ensuring your interface and customer-facing widgets look perfect in both Arabic and English. Transform your store's support experience and save hours of administrative work with a modern, high-performance helpdesk.

### Key Free Features
* **Unified Support Inbox:** Centralize all customer inquiries into a single, organized ticketing dashboard.
* **Smart Ticket Categories:** Organize your workflow with customizable Ticket Categories, ensuring inquiries are routed correctly.
* **WooCommerce Customer Sync:** Instantly view customer order details and history directly alongside their support tickets.
* **Native Bilingual & RTL Support:** Flawlessly localized for Arabic and English, providing a native experience for both your agents and customers.
* **Frictionless Setup Wizard:** Get your helpdesk running in less than a minute with our zero-configuration onboarding.
* **Interactive Floating Widget:** Embed a beautiful, non-intrusive support portal on your storefront for customers to submit tickets instantly.

### 🚀 SahlDesk Pro (Premium Features)
Upgrade your customer service operations with SahlDesk Pro, designed for growing teams that need advanced organization, automation, and our powerful **AI support agent**.
* **Advanced User Role Management:** Securely scale your team by assigning custom permissions for Agents, Managers, and Admins.
* **Time-Saving Canned Responses:** Drastically reduce response times by creating pre-written reply templates for common questions like shipping times and order returns.
* **Custom Sub-Statuses:** Track your internal workflows precisely by creating custom ticket statuses beyond just "Open" and "Closed."
* **Advanced Analytics Dashboard:** Gain deep insights into your team's performance, average resolution times, and ticket volumes.
* **AI Support Agent (Coming Soon):** Automate initial responses and triage incoming requests using cutting-edge AI integration.

### ⚠️ Important Notice: 3rd Party Service Integration
This plugin relies on the SahlDesk external API service to manage tickets and provide advanced support features. By using this plugin, necessary store data is securely transmitted to our servers to facilitate the automated support process.
For full transparency, please review our legal terms:
* [Privacy Policy](https://sahldesk.com/privacy-policy)
* [Terms of Service](https://sahldesk.com/terms-of-service)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/sahldesk` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Configure the plugin settings through the SahlDesk menu to connect your API.

== Frequently Asked Questions ==

= Does it support Freemius? =
Yes, we use Freemius for secure license and subscription management.

== Screenshots ==

1. The main SahlDesk unified support inbox and centralized ticketing dashboard.
2. The beautiful, interactive floating support widget from the customer's perspective.
3. Seamless WooCommerce order sync displaying real-time customer data alongside their ticket.
4. SahlDesk Pro: Time-saving Canned Responses and advanced Custom Sub-Statuses.
5. Native Bilingual and RTL (Arabic) support flawlessly localized for international stores.

== Changelog ==

= 1.4.92 =
* Initial release on WordPress.org.
* Stable Core Baseline: Finalized architectural integrations and robust password generation logic for streamlined onboarding.
* Fix: Prevented split-brain account creation by strictly normalizing email casing.
* Fix: Corrected mojibake placeholder text in the "Forgot Password" form.

= 1.4.14 =
* Fix: Resolved an issue where Categories, Sub-Statuses, and Canned Responses were not being deleted properly from the backend API.
* Fix: Fixed a typo in the guest widget script that caused raw translation variable names to appear instead of the actual error messages.
* Fix: Implemented global HTML5 form validation overrides to ensure the browser strictly respects the WordPress site's Arabic translation settings.
* Update: Added missing Arabic translations for various frontend error messages.

