Inline vs dialog
inline(default): the widget renders in the page flow where you mount it.dialog: the widget opens behind a trigger button. Callintake.focus()to open it programmatically.
Filecheck.mount (zero-JS integration)
For plugins where all configuration is known server-side,Filecheck.mount handles mounting, cart-button gating, the proof gallery, and optional CSS/JS injection in a single call. It returns the intake element so you can attach listeners.
What Filecheck.mount handles for you
- Resolves the mount target (
#fc-inline→mountSelector→ next to the cart button). - Creates and positions the dialog trigger button when
presentation: 'dialog'. - Gates all cart buttons matching the built-in selectors plus
cartButtonSelectoroncanProceed. - Wires the built-in proof gallery (no host code required).
- Injects optional
customCss/customJs. - Shows the 3D Proof in the product gallery when
galleryProofis on.
jobId into a hidden field for server-side verification.
Show the proof in the product gallery
When the Workflow shows its proof on a 3D Scene,Filecheck.mount can put that proof in place of the product’s photo gallery once every uploaded file has its proof. The photos come back if a file is removed or replaced. Approval stays in the proof popup.
If no gallery is found on the page, nothing changes: the proof is still in the popup.