test1

$1,000,000.00
{{option.name}}: {{selected_options[option.position]}}
{{value_obj.value}}

👤 基本造型 🧢 戴帽子 👓 戴眼镜 ⚡ 全副武装 当前选择:基本造型 document.addEventListener('DOMContentLoaded', function() { const viewer = document.getElementById('product-viewer'); const currentSelection = document.getElementById('current-selection'); // 模型文件映射(你需要替换这些URL为你实际上传的文件地址) const modelFiles = { 'body': 'https://cdn.shopify.com/3d/models/.../untitled41.glb', 'with-hat': 'https://cdn.shopify.com/s/files/1/YourShopifyPath/body-with-hat.glb', 'with-glasses': 'https://cdn.shopify.com/s/files/1/YourShopifyPath/body-with-glasses.glb', 'full-gear': 'https://cdn.shopify.com/s/files/1/YourShopifyPath/body-full.glb' }; // 按钮文字映射 const buttonText = { 'body': '基本造型', 'with-hat': '戴帽子', 'with-glasses': '戴眼镜', 'full-gear': '全副武装' }; // 为所有按钮添加点击事件 document.querySelectorAll('.model-switch').forEach(button => { button.addEventListener('click', function() { const modelKey = this.dataset.model; const modelUrl

Show More Show Less