外掛標籤
開發者團隊
② 後台搜尋「Eyewear Virtual Try-On with Tryonixs for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Eyewear Virtual Try-On with Tryonixs for WooCommerce adds an AR try-on button to your eyewear store. When a customer clicks it, the plugin sends the product ID, name, and image URL to the Tryonixs AR service.
This plugin is developed by ahmadkhan402. It integrates with Tryonixs but is not an official Tryonixs plugin and is not affiliated with or endorsed by Tryonixs.
Features
Eyewear virtual try-on on WooCommerce product pages
Optional try-on button on shop, category, and archive pages
Automatic product image URL detection from featured images and galleries
Per-product controls: enable/disable, external product ID, custom frame image URL
Configurable button text and position (before or after Add to Cart)
Shortcode for page builders: [eyewvitr_button id="123"]
Variable product support — image updates when a variation is selected
Lightweight — loads the external SDK only on WooCommerce and product pages
Requirements
WordPress 5.8 or higher
WooCommerce (active)
A Tryonixs account with a public API key (pk_live_...)
Eyewear products with a featured image (or custom frame image URL)
Configuration
Plugin settings (Settings → AR Try-On)
Public API Key — Required. Your pk_live_... key from the Tryonixs service.
App URL — Default: https://tryonixs.com
SDK Script URL — Default: https://tryonixs.com/tryonixs-sdk.js
Button Text — Label on the try-on button (default: “Try on in AR”)
Button Position — Before or after Add to Cart on single product pages
Show on Shop Pages — Show try-on on shop, category, and archive pages
Per-product settings (Product → General)
Enable AR Try-On — Enable or disable try-on per product (on by default)
External Product ID (for Tryonixs) — Optional. Must match your Tryonixs account. Defaults to SKU or wc_{id}
Frame Image URL — Optional transparent PNG override for AR
Shortcode
[eyewvitr_button id="123"]
Replace 123 with the WooCommerce product ID.
