=== Tryly.ai Virtual Try-On for WooCommerce ===
Contributors: tryly
Tags: virtual try-on, woocommerce, clothing, fashion, apparel
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.17
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Transform your fashion store with virtual try-on technology. Let customers see how clothes look on them before buying - boost sales, reduce returns!

== Description ==

**The #1 Problem Facing Fashion Retailers: "Will this look good on me?"**

Finally, there's an answer. Tryly.ai Virtual Try-On lets your customers see exactly how your clothes will look on their body before they buy.

**🚀 Results Fashion Brands Are Seeing:**
* **3x Higher Conversions** - Customers who try-on are 3x more likely to purchase
* **64% Fewer Returns** - When customers see the fit, they keep what they order
* **Higher Average Order Value** - Confident customers buy more items
* **Better Customer Satisfaction** - No more sizing surprises

**Watch It In Action:**
[See the LIVE DEMO](https://www.tryly.ai/content-images/GIF%20Tryly%20in%20action.mp4) - Watch how virtual try-on transforms the shopping experience!

= Perfect For Fashion Retailers =

* **Clothing Brands** - Tops, bottoms, dresses, outerwear
* **Online Boutiques** - Stand out from competitors
* **Fashion Designers** - Showcase your creations perfectly
* **Apparel Stores** - Any fashion e-commerce business

= How It Works (So Simple!) =

1. **Install & Activate** - Download from WordPress plugins
2. **Connect to Tryly.ai** - One-click OAuth connection
3. **Choose Your Plan** - Start free or pick what fits your store
4. **Go Live** - Try-on buttons appear automatically on all products

= Key Features =

* **Zero Setup Required** - Works automatically on all products
* **Mobile-First Design** - Perfect experience on phones and tablets
* **Lightning Fast** - Won't slow down your store
* **Fully Customizable** - Match your brand colors and style
* **Real-Time Analytics** - Track try-on rates and conversions
* **Multiple Plans** - From small stores to enterprise solutions

= The Fashion Retailer's Dream =

**Stop Losing Sales to Uncertainty**
Every day, potential customers leave your store thinking "I'm not sure how this will look on me." With virtual try-on, they can see exactly how your clothes fit their body.

**Turn Browsers into Buyers**
When customers can visualize themselves in your products, hesitation disappears. They go from "maybe" to "add to cart" instantly.

**Slash Return Rates**
Returns are killing your profits. When customers see the perfect fit before ordering, they're confident in their purchase and keep what they buy.

== Installation ==

**Super Simple Setup - No Tech Skills Required!**

1. **Install** - Download from WordPress plugins or upload to `/wp-content/plugins/`
2. **Activate** - Click activate in your WordPress admin
3. **Connect** - Go to Tryly.ai in your admin menu and click "Connect with Tryly.ai"
4. **Choose Plan** - Select from Lite, Plus, Pro, or Studio plans based on your store size
5. **Done!** - Try-on buttons appear automatically on all your product pages

== Frequently Asked Questions ==

= Is it really that easy to set up? =

Yes! It's literally 4 steps. Install, connect, choose plan, done. No coding, no configuration, no headaches.

= What plans are available? =

**Lite Plan** - Perfect for small stores ($12.97/month - 120 try-ons)
**Plus Plan** - For growing businesses ($27.97/month - 300 try-ons)  
**Pro Plan** - For established brands ($59.99/month - 700 try-ons)
**Studio Plan** - For large enterprises ($147.97/month - 1,600 try-ons)

= Will this work with my theme? =

Absolutely! It works with any WooCommerce theme automatically.

= What types of clothing work best? =

Perfect for tops, bottoms, dresses, jackets - any clothing item where fit and style matter.

= Do I need a Tryly.ai account? =

Yes, but creating one is part of the setup process and takes 30 seconds! You'll choose your plan during setup.

= Will this slow down my website? =

Not at all! The technology loads in the background and won't affect your page speed.

= Can I customize how it looks? =

Yes! Match your brand colors, button text, placement - make it feel like part of your store.

= Is it mobile-friendly? =

Absolutely! Most fashion shopping happens on mobile, so we made sure it's perfect on phones.

== Screenshots ==

1. One-click connection setup
2. Try-on button on your product pages
3. Customer seeing clothes on their body
4. Dashboard analytics and customization
5. Perfect mobile experience

== Privacy Policy ==

This plugin connects to Tryly.ai's service to provide virtual try-on functionality.

**What Data is Used:**
* Product images from your store
* Customer photos during try-on (processed securely and deleted within 72 hours)
* Basic connection settings

**Privacy Promise:**
* Customer photos are never stored permanently
* No personal data is collected or shared beyond try-on processing
* All processing happens securely and privately
* Full details: https://www.tryly.ai/privacy

== Changelog ==

= 1.0.17 =
* Fix: Improved login redirect during WordPress connection process
* Fix: Better handling of authentication flow for seamless connection

= 1.0.16 =
* Fix: Resolved "Security verification failed. Missing state token" error
* Improved: WordPress connection now properly generates and uses CSRF state tokens
* Enhanced: Better error handling during connection process

= 1.0.15 =
* Security: Enhanced CSRF protection with required state verification
* Security: Added secure token-based disconnect functionality  
* Performance: Immediate widget settings updates (no caching delays)
* Admin: Now displays Tryly account email instead of WordPress admin email
* Dashboard: Improved connection status visibility in Tryly dashboard
* Reliability: Fixed crypto import for runtime stability
* API: Aligned WordPress settings endpoint with backend format
* Database: Added migration for unique constraints and security columns

= 1.0.10 =
* Added demo video link to showcase virtual try-on in action
* Updated plugin assets with animated GIF banner and icon
* Enhanced plugin description for better user understanding

= 1.0.8 =
* Security: Added state token verification for OAuth connection (CSRF protection)
* Security: Improved API URL encoding using add_query_arg
* Compatibility: Better WooCommerce detection for multisite installations
* Code Quality: Removed unused script loader code
* Privacy: Added comprehensive privacy disclosure
* Maintenance: Added proper uninstall cleanup routine

= 1.0.7 =
* Improved connection stability
* Enhanced error handling
* Updated widget loading mechanism
* Fixed admin interface issues
* Optimized API communication

= 1.0.0 =
* Initial release
* One-click OAuth connection
* Automatic widget injection
* Dashboard synchronization
* WooCommerce compatibility

== Upgrade Notice ==

= 1.0.8 =
Important security update: Adds CSRF protection for OAuth connections. All users should upgrade immediately.

= 1.0.0 =
First release of Tryly.ai Virtual Try-On for WooCommerce
