Add AI Virtual Try-On to WooCommerce — WordPress Plugin Guide
TryOnCloud integrates with WooCommerce via a WordPress plugin and REST API. Install the plugin, enter your API key, and the try-on button appears automatically on WooCommerce product pages. Works with any WordPress theme.
Method
WordPress Plugin + REST API
Auth
API key (passed via plugin settings — no OAuth required)
Language
PHP / JavaScript
Best for
Small to mid-market WordPress-based fashion stores
Why use TryOnCloud with WooCommerce
- Works with any WooCommerce theme — Flatsome, Astra, Divi, Storefront
- No coding required — plugin handles button injection via WooCommerce hooks
- API key authentication — simple setup, no OAuth flow
- Configurable per product category or individual product
- Lightweight — under 12KB additional JavaScript on product pages
How to set up TryOnCloud on WooCommerce
Estimated setup time: 30 minutes. Difficulty: Beginner.
- 1
Download and install the plugin
Download the TryOnCloud WooCommerce plugin from your TryOnCloud dashboard. Upload it via WordPress Admin > Plugins > Add New > Upload Plugin.
- 2
Enter your API key
Go to WooCommerce > Settings > TryOnCloud. Paste your API key from the TryOnCloud dashboard. The plugin validates the key automatically.
- 3
Configure display settings
Choose which product categories show the try-on button. Set the button label, position (above or below Add to Cart), and colour to match your theme.
- 4
Test on a product page
Visit a product page in a configured category. The Try On button should appear. Click it, upload a test photo, and verify the AI output.
- 5
Enable for all clothing products
Once testing is confirmed, enable try-on for all relevant product categories from the plugin settings. No theme file edits required.
Things to know
- ⓘRequires WooCommerce 6.0+ and WordPress 6.0+
- ⓘPlugin required — no native WooCommerce App Store
- ⓘPHP hosting must allow outbound HTTPS requests to TryOnCloud API
Frequently asked questions
Does TryOnCloud work with page builders like Elementor or Divi?
Yes. The plugin injects the try-on button via WooCommerce's woocommerce_after_add_to_cart_button hook, which fires regardless of the page builder used.
What PHP version is required?
PHP 7.4 or higher. TryOnCloud is tested on PHP 8.0, 8.1, and 8.2.
Can I show try-on only on specific products, not entire categories?
Yes. In the plugin settings, switch from category mode to product mode and enter individual product IDs to enable try-on selectively.
Does it work with WPML or multilingual stores?
Yes. The try-on button label is customisable per language via the plugin settings.
Ready to add virtual try-on to your WooCommerce store?
Join hundreds of fashion merchants reducing returns and boosting conversions with TryOnCloud. Start free — no credit card required.
Get started free