SHOPLINE
Virtual try-on for SHOPLINE
Inject the embed script on product templates via SHOPLINE custom code / script settings.
One line on your product page
<!-- TryOnAnytime — get pk_ at https://tryonanytime.com/settings/embed --> <!-- Paste into theme custom code or the product template near the buy button --> <!-- optional: float the button on the product image instead of in place --> <!-- data-tryon-attach="image" --> <!-- data-tryon-image=".product__media img, .wp-post-image" --> <!-- data-tryon-position="bottom-right" (bottom-left|top-right|top-left) --> <script src="https://tryonanytime.com/embed.js" data-tryon-key="pk_…" data-tryon-garment="https://your-shop.com/product.jpg" data-tryon-label="Try it on" data-tryon-attach="image" data-tryon-image=".product__media img, .woocommerce-product-gallery__image img" async></script>
Status: Works today via custom script + embed.js.
For SHOPLINE merchants. Arbitrary-site shopping uses the Chrome extension.
Credits are purchased on tryonanytime.com.
Install steps
- 01
Create a pk_ key
Allowlist your SHOPLINE domain in Settings → Embed.
- 02
Buy credits
Top up on tryonanytime.com before shoppers try items on.
- 03
Add a custom script
In the SHOPLINE admin theme / custom code area, paste the snippet on product pages.
- 04
Verify
Open a product, confirm the button mounts, and that your domain is allowlisted.
Turn your store into a fitting room
One script tag on your product pages. Shoppers tap, upload a photo and see the item on themselves — no plugin, no backend work.
