WooCommerce

Virtual Try-On for WooCommerce

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.

1 line
Of Code to Install
5 min
Setup Time
12-18s
AI Processing
6 free
Credits to Start

How to Add Virtual Try-On to WooCommerce

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.

What Your Customers Experience

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.

See It in Action — Free Demo

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

Built for WordPress Stores

⚡ No Performance Hit

The script loads async and is under 20KB. Your Core Web Vitals and PageSpeed scores stay untouched.

🎨 Theme-Agnostic

Works with standard WooCommerce markup on any theme. The button copies your Add-to-Cart size and shape automatically.

🛡️ Privacy-First

Customer photos are processed once and deleted — never stored, never used for AI training. GDPR-friendly.

📊 Analytics Included

Track widget views, try-ons and add-to-cart events from your Tryva dashboard to measure ROI.

Why WooCommerce Stores Add Try-On

Pricing

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 →

Frequently Asked Questions

Where exactly do I paste the code in WordPress?

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.

Will it appear on non-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.

Can I customize the button?

Yes — text, colors, corner radius and position are configurable from the Widget Style tab in your dashboard, no code changes needed.

Does it support variable products?

Yes. The widget reads the currently displayed product image, so the try-on follows what the shopper sees.

Add try-on to your WooCommerce store today

6 free AI credits · No credit card · 5-minute setup

Get Started Free →