TryGlasses

Virtual glasses try-on

Creator: Empha Empha (Empha)

Need help installing this extra?

Screenshots

About TryGlasses

TryGlasses adds a virtual try-on widget to your eyewear store. Customers can try glasses using their camera directly on product pages. The plugin auto-injects a customizable "Try On" button, connects to the TryGlasses API for 3D model rendering, and includes a full admin panel for managing API keys, catalog mapping, widget styling, and product digitization — no coding required.

Information

Released
May 4, 2026

Supported Database
MySQL

License
MIT

Supported Versions
3.0 - Current

Downloads
2

Instructions

Installation

Install the package via MODX Package Manager.

Configuration

  • Go to Extras → TryGlasses in the MODX Manager
  • In the Connection tab, enter your TryGlasses API URL and API Key
  • Click Check Connection to verify, then Save
  • In the Field Mapping tab, select your product template and catalog container
  • In the Widget tab, customize the button appearance
  • Button Placement

    Add <div id="tryglasses-tryon-block"></div> to your product template where you want the button, or specify a CSS selector in Widget settings.

    Manual Snippet Usage

    Use [[TryGlasses]] in your template for manual widget placement.

    New in 1.0.0-pl

    Initial release:

    • Auto-inject "Try On" button on product pages
    • Manual placement via TryGlasses snippet
    • Admin CMP with tabs: Connection, Field Mapping, Widget, Digitization, Imports
    • Customizable button color, text, and CSS selector placement
    • Live button preview in admin panel
    • Template-based catalog filtering
    • Bulk product digitization submission
    • TryGlasses API integration with Bearer token auth

    Current releases

    1.0.0-pl
    View | Download
    May 4, 2026
    3.0 - Current