What is Torziva?
Torziva is a premium, AI-powered virtual try-on engine built for fashion eCommerce. By allowing your customers to visualize garments on themselves before purchasing, you can dramatically increase conversion rates and reduce product return rates.
We designed Torziva to be the absolute simplest integration on the market. No matter what platform you use—Shopify, WooCommerce, or a Custom Build—integration requires only one universal script.
Once added, the Torziva widget automatically scans your pages, detects your product images, prices, and titles, and seamlessly injects a high-converting "Try On" button right below your Add to Cart area. No complex coding or mapping is required.
Before you begin
Universal Quick Start
Because Torziva is fully autonomous, the installation snippet is exactly the same for every platform.
The Base Snippet
Copy this exact code and place it immediately before the closing </body> tag of your website's global template. Replace YOUR_SITE_ID with the Site ID found in your Torziva dashboard.
Shopify Integration
Shopify stores have two extremely easy ways to integrate Torziva: using our official Shopify App, or using the Universal Snippet.
Option 1: The Torziva Shopify App
The absolute easiest way to install Torziva. Get 1-click installation, automatic theme injection, and deep Shopify analytics integration without touching a single line of code.
Option 2: Manual Script Installation
If you prefer not to use the Shopify app, you can manually inject our universal script into your theme.
- Log in to your Shopify Admin and go to Online Store > Themes.
- Find your current theme, click the three dots (...), and select Edit code.
- In the sidebar, open
layout/theme.liquid. - Scroll to the very bottom and paste the universal snippet right above
</body>.
Provide Product Context (Optional)
productContext object containing image: "https:{{ product.featured_image | img_url: '1024x' }} into the TORZIVA_CONFIG variable inside liquid.WooCommerce Integration
WooCommerce stores can be integrated effortlessly using our dedicated WordPress Plugin or via manual script injection.
Option 1: The Torziva WooCommerce Plugin
The easiest and most deeply integrated method. Download our official plugin, upload it to your WordPress site, and connect securely using an API key from your Torziva Dashboard.
Option 2: Manual Script Installation
If you prefer not to use our plugin, integrating manually is exactly the same as any other platform. Our script is smart enough to detect your WooCommerce product layouts automatically.
You can use a free WordPress plugin like "Insert Headers and Footers" or "WPCode" to add the universal snippet to your global footer.
Performance Best Practice
Custom Websites
For custom builds, Magento, BigCommerce, or Next.js storefronts, the process remains unchanged. Simply inject the universal snippet into the global layout file so it is present on your product pages.
Widget Customization
Torziva is designed to blend seamlessly with your brand. You can override the default styling by passing configuration options in the TORZIVA_CONFIG object within the universal snippet.
| Property | Type | Default | Description |
|---|---|---|---|
| buttonText | string | "Virtual Try-On" | Text displayed on the injected button. |
| themeColor | string | "#1C203B" | Hex code for the button and modal primary color. |
| borderRadius | string | "8px" | Border radius of the injected button. |
| hideBranding | boolean | false | Hides "Powered by Torziva" (requires Pro+ plan). |
| insertSelector | string | "form[action*='/cart/add']" | CSS selector for where to inject the button. |
Account Management API
Looking to integrate Torziva's billing, credits, and usage data directly into your own external dashboard or systems? Check out our dedicated API documentation.
View API Documentation