Deploy an intuitive visual configurator modal with a single button click. Captures usage, lens package, Rx upload, manual entries, and priced coating add-ons.
Plug-and-play JavaScript client SDK
TypeScript types and callback signatures
Fully responsive modal overlay
Structured JSON Output for Custom Carts
Receive pristine, structured prescription metadata and price modifiers to pass directly into your custom cart state, database, or ERP.
Configure rule-based branch logic in TrynShop Studio. Show specific lens materials only when sphere power exceeds -4.00, or hide progressive options for readers.
Visual conditional flow builder in Studio
Power range validation thresholds
Custom question prompts and tooltips
Full CSS Customization & White-Labeling
Match your store's luxury aesthetic. Configure brand colors, border radiuses, typography, and button micro-copy directly via Studio or CSS custom properties.
Custom CSS variables support
Zero TrynShop watermarks on enterprise plans
Dark and light theme support
Secure Encrypted Prescription Storage
All doctor slips and patient details are handled with bank-grade encryption and GDPR/HIPAA compliance standards.
Encrypted at rest and in transit
Time-limited signed download URLs
Zero public bucket exposure
Pair with Virtual Try-On API
Build a seamless omnichannel optical experience by combining TrynShop's Virtual Try-On SDK with our Prescription Form SDK.
Shared frame and SKU identification
Direct handoff from AR try-on to lens selection
Universal optical commerce architecture
Implementation
How to Get Started in Minutes
01
Create Flow in Studio
Design your lens options, upgrade prices, and prescription questions in TrynShop Studio.
02
Embed the Script
Include the lightweight SpecForm JavaScript bundle into your web application.
03
Attach to Cart
Pass the validated prescription JSON payload directly to your headless cart API.
04
Fulfill Orders
Transmit complete lens requirements straight to your optical lab grinding system.
Yes. SpecForm returns a structured JSON payload via the `onComplete` JavaScript callback containing selected lens types, package upgrades, doctor slip download URLs, and total priced add-ons.