Linux 软件免费装
Banner图

Vtryon

开发者 Vtryon
更新时间 2026年5月15日 20:38
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce e-commerce ai fashion virtual try-on

下载

1.0.2 1.0.0 1.0.1

详情介绍:

Vtryon connects your store to the Vtryon service so customers can upload a portrait photo and preview how a product looks on them. Key features Coming soon Planned for future releases: For catalog-ready SKU images or extra poses today, use the Vtryon website or app: https://vtryon.legresca.ai/app Frontend flow When a product has a Garment ID and try-on is allowed (storewide setting, product/category toggles, and any logged-in-only rule), the try-on block appears on the product page at the placement chosen under WooCommerce → Vtryon → Settings, unless you output it only via the shortcode. The customer uploads a portrait (JPG/PNG), the image is validated, a try-on task runs, and the result is shown; downloading the file is available when Download result button is enabled in settings. Developer hooks Filters Actions Requirements

安装:

  1. Install from the Plugins screen.
  2. Activate the plugin.
  3. Install and activate WooCommerce.
  4. Go to WooCommerce → Vtryon. If you do not have an account, sign up at https://vtryon.legresca.ai/app (Create Account).
  5. Generate an API token in your Vtryon dashboard (see https://vtryon.legresca.ai/guide/api-integration), paste it under API token, and save. The plugin tests the connection and shows a status notice.
  6. Under Storewide try-on, keep Enable virtual try-on for the entire site checked unless you want try-on hidden everywhere (category/product settings apply only when this is on).
  7. Under Product page placement, choose where the try-on block appears on single product pages (default: after add to cart).
  8. (Optional) Enable Visibility to show the try-on button only to logged-in users.
  9. Under Download result button, choose whether to show the download control after a try-on completes.
  10. For each product: add product images (gallery), enable Vtryon on the product, and click Sync with Vtryon (product edit screen) or Sync in the Garment ID column. A dialog lists gallery images to choose from, or you can upload a different file from your computer. Sync All on the Products list (or Garment sync on a category) asks for confirmation first: it syncs every product still missing a Garment ID using only the main (featured) image for each product; products that already have a Garment ID are skipped.

升级注意事项:

1.0.2 Uses API tokens (not email/password), and adds the garment image picker plus Sync All confirmation. Enter your API token under WooCommerce → Vtryon after updating. 1.0.0 Initial release.

常见问题:

Does this require WooCommerce?

Yes. The plugin checks for WooCommerce and shows an admin notice if it is missing.

Are API credentials exposed to visitors?

No. Only the WordPress REST URL and a REST nonce are passed to the browser; the API token and garment APIs run on the server.

What image formats are supported?

Featured images and customer uploads use JPG and PNG (validated with WordPress file checks).

Does the plugin load third-party scripts on my store?

The plugin bundles SweetAlert2 for admin sync feedback and storefront messages. No remote script loads are required for core operation.

Can I turn off try-on for the whole store or move the try-on block?

Yes. Use WooCommerce → Vtryon → Settings: uncheck Enable virtual try-on for the entire site to disable try-on site-wide, and use Product page placement to change where the block appears. For a custom position you can also use the [vtryon] shortcode (and remove the automatic hook in code if you need only the shortcode).

How do I choose which image is synced to Vtryon for a product?

Use Sync with Vtryon on the product edit screen or Sync in the Garment ID column on the Products list. A dialog lists the product’s gallery images; pick one or choose upload from device for a file that is not in the gallery. Sync All does not show this dialog—it syncs each qualifying product using its main (featured) image only, after you confirm.

Where is the full Markdown documentation?

The same documentation ships as README.md in the plugin folder. It is also shown under WooCommerce → Vtryon → Help guide below the quick start section.

更新日志:

1.0.2 1.0.1 1.0.0