WEARFITS Shoes Tryon
WEARFITS Shoe Try-On lets your WooCommerce shop offer augmented-reality try-on for shoes, straight from the single product page.
- Adds a Virtual Try-On button to each eligible shoe product.
- On desktop, clicking the button opens a modal with a QR code — customers scan it with their phone to enter AR.
- On mobile, the button opens the WEARFITS AR viewer directly.
- In Product Data → WEARFITS Try-On, set a try-on URL manually or click Digitize with WEARFITS to generate one automatically from the product’s gallery images.
- Automatic digitization uses the WEARFITS API (api.wearfits.com). Jobs run asynchronously; the viewer URL lands on the product when processing finishes.
WEARFITS is a virtual try-on platform for clothing and footwear. For shoes, it can automatically turn your product photos into 3D models and AR try-on links — no manual modeling required. Learn more at wearfits.com, or sign up for an API key at dash.wearfits.com.
Requirements
- WooCommerce 8.0 or later.
- WordPress 6.2 or later.
- PHP 8.0 or later.
External services
This plugin connects to the WEARFITS API to turn your product photos into 3D models and AR try-on links. WEARFITS is a third-party service operated by Wearfits sp. z o.o. — you need a WEARFITS account (free at dash.wearfits.com) to obtain the API key used by this plugin.
When the plugin sends data, what it sends, and why
- On every click of the Digitize with WEARFITS button in the product editor, the plugin sends a POST request to
https://api.wearfits.com/api/v1/shoe-3d. The request body contains the public URLs of that product’s gallery images so that WEARFITS can generate a 3D model and return a try-on viewer URL. - The plugin then periodically polls
https://api.wearfits.com/api/v1/jobs/{jobId}(GET) to check the job’s progress until it completes. - No customer data (no names, emails, orders, IP addresses) is ever sent.
- The plugin does not make any outbound request without the merchant explicitly clicking Digitize.
Terms and privacy
- WEARFITS Terms of Service: https://wearfits.com/terms
- WEARFITS Privacy Policy: https://wearfits.com/privacy
By using the automatic digitization feature you agree to let WEARFITS process your product images for the purpose of generating 3D models and viewer URLs. You can stop using the feature at any time by not clicking Digitize — the plugin will not contact WEARFITS.
Privacy
The plugin stores the following in your WordPress database:
wearfits_shoes_tryon_api_keyoption — your WEARFITS API key (required for the Digitize feature; can be provided via theWEARFITS_SHOES_TRYON_API_KEYPHP constant instead to keep it out of the database).- Per-product meta
_wearfits_tryon_url,_wearfits_tryon_enabled,_wearfits_job_*— the viewer URL and digitization job state for each product.
The plugin does not set cookies and does not collect analytics.
Developer hooks
wearfits_shoes_tryon_is_eligible_product(filter, bool) — override the default category-based eligibility check.wearfits_shoes_tryon_image_urls(filter, string[]) — override the image URL list sent to the WEARFITS API (e.g. for shops on a non-public media CDN).wearfits_shoes_tryon_should_render(filter, bool) — control whether the Virtual Try-On button renders on a given product.wearfits_shoes_tryon_button_html(filter, string) — replace the button markup. Output is sanitized withwp_kses.
Source code
The plugin ships with its full source, not just compiled assets. Inside the plugin folder:
src/tryon-modal/— JavaScript + SCSS source for the storefront QR modal.build/— compiled output generated bynpm run build(Webpack via @wordpress/scripts).package.json+webpack.config.js— build tools.bin/build-release-zip.sh— produces a shippable zip.
To rebuild the assets from source:
`
cd wp-content/plugins/wearfits-shoes-tryon npm install npm run build `
Node 18+ is recommended.
Support
Need help? Contact the WEARFITS team at wearfits.com/contact.
