Shopify
Added as a theme section or product page block. Variant selection maps to Shopify variants.
Integration
Models are served over CDN. One component is added to the product page and theme code stays untouched. Code, formats and performance budget are listed below.
Platforms
Added as a theme section or product page block. Variant selection maps to Shopify variants.
Shortcode or block. The model resolves automatically based on the product ID.
Embed script for React/Next/Vue, or a direct iframe. The model URL stays with the brand.
A standalone landing page, or an AR link opened via QR code.
Code
Web component (recommended)
<!-- One-time script on the product page -->
<script type="module"
src="https://cdn.volumup.co/viewer.js"></script>
<volum-viewer
model="https://cdn.volumup.co/m/tote-01.glb"
ios-src="https://cdn.volumup.co/m/tote-01.usdz"
poster="https://cdn.volumup.co/m/tote-01.webp"
ar
camera-controls
loading="lazy">
</volum-viewer>iframe (fastest setup)
<!-- Without adding a script: iframe -->
<iframe
src="https://demo.volumup.co/e/tote-01"
title="Product 3D viewer"
loading="lazy"
allow="camera; xr-spatial-tracking; fullscreen"
style="width:100%;aspect-ratio:4/3;border:0"></iframe>The web component also brings the AR button and the variant API. The iframe runs fully isolated, so no theme conflicts occur.
Formats
| Format | Usage | Note |
|---|---|---|
| GLB / glTF | Web + Android | Single file, compressed geometry and textures |
| USDZ | iOS Quick Look | Native AR viewing in Safari |
| Poster (WebP) | Initial load | Static frame shown until the model loads |
| Draco / KTX2 | Optimization | Geometry and texture compression |
Performance
AR
Safari + Quick Look, via USDZ. iOS 12 and above.
Chrome + Scene Viewer, via GLB. ARCore-supported devices.
The AR button is hidden; the 3D viewer keeps working.
Data