-
<!-- Load the GLOW library -->
<script src="https://glowfireworks.com/sdk/js/v1"></script>
<!-- Create a button to preview the simulation -->
<button type="button" id="glow-preview-btn">3D Preview</button>
<script>
// Initialize the library with our demo retailer ID
glow.initialize({ retailerId: 'RT-DEMO' });
// Wire up the button click
const previewBtn = document.getElementById('glow-preview-btn’);
previewBtn.addEventListener('click', () => {
// Open 3D preview
glow.previewProduct({ brandId: '40', productId: 'GM116' });
});
</script>