All demos › Animation, variants & textures
3D Product Configurator for WordPress With 5 Colourways
Pick a colour from the dropdown, then tap the ruler to see the size.
Pro
Lite viewer
5 colourways · 3.1 MB
GlamVelvetSofa · 5 colourways
Pick a colour from the dropdown · then tap the ruler to see the size.
A 3D product configurator for WordPress that shoppers use without page reloads or extra downloads. Five colourways, a live ruler and a downloadable model all come from a single 3.1 MB GLB file. Pick a colour, then tap the ruler to see the size.
01
Colours come from the file
The viewer builds the colour dropdown from the colourways saved inside the 3D file, so nobody typed the colour list into this page.
02
A ruler measured from the model
Tap the ruler to see the size in centimetres. It is measured from the 3D model itself, not typed in.
03
No reloads, one download
Switching colourways reloads nothing. Five colourways, the ruler and the downloadable model all come from one 3.1 MB GLB file.
How it works
Where the colours and the size come from
Colourways in the file
The file stores its colourways using the glTF KHR_materials_variants standard: Champagne, Navy, Gray, Black and Pale Pink.
Enable Variant Selector
Switched on, the viewer finds the 5 colourways in the file and lists them in the colour dropdown.
Dimensions
With a ruler button, in centimetres. The file is modelled at real-world size, so the ruler reads 218.8 × 78.8 × 102.3 cm.
Why this demo is on a page, not a product
- On WooCommerce product pages: the plugin always keeps
Enable Variant Selectorswitched off, so this colour dropdown cannot appear there. - On products instead: you give each
variationits own model file — see the Accent Chair demo.
Setup
Set it up in 3 steps
1
Use a file with colourways
Pick a GLB that stores its colourways inside the file (glTF KHR_materials_variants). This sofa has five.
2
Turn on Enable Variant Selector
The viewer finds the colourways in the file and builds the colour dropdown for you.
3
Add the ruler
Set Dimensions to With a ruler button and Centimetres (cm). The size is measured from the model itself.
Under the hood
Settings used in this demo
| Setting | Value |
|---|---|
| Enable Variant Selector | on — the viewer finds 5 colourways in the file: Champagne, Navy, Gray, Black, Pale Pink |
| Dimensions | With a ruler button, Centimetres (cm) — the size is measured from the 3D model itself, not typed in |
| Initial View | orbit 35deg 72deg 105% — the starting camera angle, set by hand |
| Controls | Zoom in / out, Fullscreen, Capture image, Download model and Reset view — all on |
| Hotspots | 2 Info hotspots in the Hover Popup Card style, with custom purple pins |
| Measured size | 218.8 × 78.8 × 102.3 cm — the file is modelled at real-world size |
FAQ
Questions about the configurator
Quick answers before you set up your own.
Do I have to type in the colour names?
No. The viewer builds the colour dropdown from the colourways saved inside the 3D file (the glTF KHR_materials_variants standard), so nobody typed the colour list into this page.
Is the size on the ruler typed in?
No. With Dimensions set to With a ruler button, the size is measured from the 3D model itself. This file is modelled at real-world size: 218.8 × 78.8 × 102.3 cm.
Can visitors download the model?
Yes. Download model is switched on in the viewer’s controls, alongside Zoom in / out, Fullscreen, Capture image and Reset view.
Keep exploring
Related demos
Variants & textures
Change 3D Model Colours Without Re-exporting the File
Give one model three different colours from inside WordPress, with no Blender needed.
Performance & mobile
Show Real-World 3D Model Dimensions in WordPress
See width, height and depth measured live, and how to fix a file made off-scale.
See all 17 live 3D Viewer demos
One feature per page, each with the exact settings behind it.
See it on a WooCommerce product page: Custom Sneaker. Or browse all WooCommerce 3D product demos.
Model: GlamVelvetSofa from Khronos glTF-Sample-Assets, CC-BY 4.0, Wayfair.