Virtual Try-On for WooCommerce: Add It With One Script Tag
By the ZeDaq.ai team · · 3 min read
On this page
You can add AI virtual try-on to a WooCommerce store by pasting one ZeDaq.ai script tag into your single-product template. Shoppers then upload a photo, see your garment on themselves and get a size recommendation from your size chart. There's no heavy plugin to install and no theme redesign.
Try the widget your shoppers will use
Try it on yourself
Live renderUpload a photo, pick a piece, see it rendered on you.
Pick something to try on
What will shoppers see on your product page?
- A Try it on button near Add to cart.
- A short scan: one photo plus their height. No account, no app.
- A suggested size, matched to your own chart.
- Your product rendered on their body.
The widget picks up your storefront's language automatically.
What do you need?
- A WooCommerce store you can edit (admin access, or a developer).
- Clean product images: front-facing, full garment visible.
- Your size chart.
- A free ZeDaq.ai account.
How do you add virtual try-on to WooCommerce?
Step 1: Create your ZeDaq.ai account
Sign up free. You get a 3-day trial with no card, and your account then stays on the free plan unless you upgrade.
Step 2: Copy your script tag
In your dashboard, open Widget and copy your script tag. Lock it to your store's domain so it can't be used elsewhere. ZeDaq.ai supports domain-restricted access.
Step 3: Add the script to your product pages
Choose one of these:
- Code snippet plugin (easiest): with a plugin such as WPCode, add a new HTML snippet, paste the tag, and set it to load on single product pages only.
- Child theme: paste the tag into your child theme's single-product template, or hook it into
woocommerce_after_add_to_cart_buttoninfunctions.php. - Page builder: in Elementor or similar, add an HTML widget to your single-product template and paste the tag.
Copy your script tag from the ZeDaq.ai dashboard. It is unique to your account and locked to your store's domain.
Load it on product pages only, not site-wide, to keep other pages fast.
Step 4: Add your size chart
Enter your size chart in the dashboard so recommendations match your brand's fit.
Step 5: Test
On your phone, open three product pages — a top, a dress and a jacket. Run a try-on and a size scan on each. If a render looks off, use a cleaner front-facing image as the main product photo.
Does it slow down WooCommerce?
Load the script on single product pages only. Then test your page in PageSpeed Insights before and after. If you use a caching or optimisation plugin, exclude the ZeDaq.ai script from JavaScript combining if the button doesn't appear.
How much does it cost?
| Plan | Monthly | Try-ons | Measurements | Notes |
|---|---|---|---|---|
| Free | $0 | 3 | 3 | Forever, after the trial |
| Micro | $14 | 20 | 30 | First month $1 |
| Starter | $49 | 75 | 100 | First month $28 |
| Growth | $129 | 650 | Unlimited | Higher-quality render |
| Scale | $299 | 2,000 | Unlimited | Higher-quality render |
Billed via Stripe in USD. Monthly, 4-month and annual billing available. Checked 6 November 2026 on zedaq.ai/pricing.
Script tag or API: which should you use?
| Script tag | REST API | |
|---|---|---|
| Who sets it up | Store owner | Developer |
| Time | ~15 minutes | Days |
| UI | Ready-made widget | You build your own |
| Best for | Most WooCommerce stores | Headless WooCommerce, custom apps |
See embeddable widget vs API or the virtual try-on API guide.
Frequently asked questions
Is there a WooCommerce plugin?
ZeDaq.ai uses a script tag rather than a plugin, so there's nothing extra to update with each WordPress release.
Does it work with variable products and variations?
The widget sits on the product page and uses the product image shown. Test your variable products during the trial.
Can I use it on WordPress without WooCommerce?
Yes, on any page where you can add HTML. It's built for product pages.
Does it work for eyewear?
Yes. Live camera try-on for glasses is included on every plan.
Add try-on to WooCommerce in 15 minutes
Internal links: Virtual fitting room for clothing websites · AI size recommendation · Add try-on to any site with one script tag
Try ZeDaq.ai free
Virtual try-on and Find my size for your store, plus client, order and invoicing tools for tailors, in one subscription.


