Sell with BigCommerce: a 3D view on every product
Three ways to put Verse scenes on a BigCommerce store, from paste-and-go to one scene per product in the theme. The poster paints first; the 3D loads when the shopper scrolls to it.
Status: beta. The widget template, schema and Stencil partial are checked; not yet registered on a live store.
1. Paste
Page Builder → Widgets → HTML, paste the HTML from Studio → the scene → Embed. For one product: Products → edit → Description → the HTML view (</>) → paste. Square (aspect-ratio:1/1) suits products.
2. The "Verse 3D viewer" widget
A Page Builder widget with a settings panel (scene link, shape, load on tap, max width, corner radius). Once it is registered on the store, every editor drags it onto a page or a product layout and pastes the scene link.
The widget template, schema and Stencil partial come in the BigCommerce kit (write to integrations@ctruh.com for the kit). Registering is one API call with the store's token (Settings → API accounts, Content: modify):
POST https://api.bigcommerce.com/stores/{store_hash}/v3/content/widget-templates
{ "name": "Verse 3D viewer", "kind": "custom",
"template": <contents of verse-viewer.html>,
"schema": <contents of schema.json> }Or with BigCommerce's Widget Builder: widget-builder publish on the same folder (rename verse-viewer.html to widget.html first; Widget Builder expects that name).
3. One scene per product in the theme
- Products → edit → Custom Fields: name
verse_scene, value the scene's share link. - Add
stencil-snippet.htmlfrom the kit to the theme astemplates/components/products/verse-viewer.htmland include it from the product page:{{> components/products/verse-viewer}}. Push the theme.
Every product with the field shows its scene; the others show nothing.
Headless (Catalyst)
The custom field is on the Storefront GraphQL API (product.customFields). Frame the link's embed URL in an iframe, or hand the share link to <verse-viewer src="https://verse.ctruh.com/?vpk=ingest/YOUR_SCENE_ID.vpk"> (https://verse.ctruh.com/sdk/verse-viewer.js).
Options
Add to the src: &load=tap, &analytics=0, &fs=0. Private scenes embed through a share link with its token (Studio → Embed → Create an embed share link).
Questions: integrations@ctruh.com.