Plugin or snippet-based storefront integration

WooCommerce Virtual Try-On Modal

Add AI virtual try-on to WooCommerce product pages with a lightweight modal and product JSON handoff.

Core endpointPOST /api/v1/virtual-fitting
OpenAPIhttps://api.wearfits.com/doc
Agent context/llms.txt and /llms-full.txt
01

Read WooCommerce product gallery images and selected variation data, then call the widget modal.

02

Use server-side WordPress AJAX or REST proxy endpoints when API keys must stay private.

03

Map WooCommerce product categories to WEARFITS garment categories before opening the modal.

Machine-readable surfaces

Built for developers and AI agents

Key Questions

Can this run as a WordPress plugin?

Yes. The integration can be packaged as a plugin that enqueues the widget script and injects product JSON on product pages.

Does the widget need product feed changes?

No. The widget can accept the current product JSON directly from the product page template.

Can API keys stay server-side?

Yes. A WooCommerce integration should proxy WEARFITS calls through WordPress when using service API keys.