Add an AI virtual try-on button to every WooCommerce product page with one line of JavaScript. Your customers see clothes on themselves — before they buy. No plugin conflicts, no theme surgery.
Tryva's universal widget was built for WordPress + WooCommerce stores. After creating a free account, copy your one-line snippet from the dashboard:
<script src="https://tryva.ai/widget/embed.js?key=YOUR_API_KEY&auto=1" defer></script>Add it before the closing </body> tag — either directly in your theme, or with any code-snippet plugin from the WordPress directory (no coding needed). That's the whole install.
On every product page, the widget auto-detects your WooCommerce product gallery and the Add-to-Cart button, then places a "Try On" button directly beneath it — matched to your theme's button size and shape, in your brand colors if you set them in the dashboard.
A shopper taps Try On, uploads a selfie or picks one of the built-in AI models, and in 12-18 seconds sees a photorealistic image of themselves wearing your product. They can download the result or add the item to their cart — with far more confidence than a flat product photo can give.
This is the exact widget your WooCommerce customers will use. Pick a sample garment or upload your own product photo.
No sign-up needed for the demo
The script loads async and is under 20KB. Your Core Web Vitals and PageSpeed scores stay untouched.
Works with standard WooCommerce markup on any theme. The button copies your Add-to-Cart size and shape automatically.
Customer photos are processed once and deleted — never stored, never used for AI training. GDPR-friendly.
Track widget views, try-ons and add-to-cart events from your Tryva dashboard to measure ROI.
Start free with 6 AI credits (no credit card). Paid plans: Starter $29/mo (100 credits), Growth $69/mo (300 credits), Pro $139/mo (800 credits). Each customer try-on uses 1 credit. Compare plans →
Anywhere that outputs site-wide before </body>: your theme's footer template, a child theme, or a code-snippet plugin set to "site footer". The widget only activates on pages it recognizes as product pages.
No. The button injects only when the page has both a product image and an Add-to-Cart button — the WooCommerce product-page signal. Home, blog and category pages stay untouched.
Yes — text, colors, corner radius and position are configurable from the Widget Style tab in your dashboard, no code changes needed.
Yes. The widget reads the currently displayed product image, so the try-on follows what the shopper sees.
6 free AI credits · No credit card · 5-minute setup
Get Started Free →