$product = {"id":7823781822563,"title":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 逗趣史酷比","handle":"iphone-15-pro-max-solidx-yo02","description":null,"published_at":"2025-07-31T13:25:53+08:00","created_at":"2025-06-20T10:24:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-warnerbros-classics","device-iPhone 15 Pro Max","merge","reseller-warnerbros-classics"],"price":125000,"price_min":125000,"price_max":125000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43472973693027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YO02","requires_shipping":true,"taxable":true,"featured_image":{"id":36323032236131,"product_id":7823781822563,"position":10,"created_at":"2026-07-20T18:32:36+08:00","updated_at":"2026-07-20T18:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558","variant_ids":[43472973693027]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 逗趣史酷比 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YO02","featured_media":{"alt":null,"id":27826939986019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472976838755,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YO02","requires_shipping":true,"taxable":true,"featured_image":{"id":36323036397667,"product_id":7823781822563,"position":14,"created_at":"2026-07-20T18:32:45+08:00","updated_at":"2026-07-20T18:32:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567","variant_ids":[43472976838755]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 逗趣史酷比 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YO02","featured_media":{"alt":null,"id":27826943950947,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO02.png?v=1750386292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YO02_cb00f12f-85bf-4dde-bc5f-9da02cf7da9d.png?v=1750831579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba1a3ece00f21969eef5320fa35f5ed1e3f757dd.webp?v=1782883346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d.webp?v=1782883349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399cbfa1de10977cfcfeead330ea259a519a054b.webp?v=1782883349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687.webp?v=1782883350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e99f9305117088e387b548c02381193253b6e26.webp?v=1782883351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c3d726cabd74022b705e507e530263f5b2a669a.webp?v=1782883351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4763d63d3332df6fbe82b730b228767cf719a37c.webp?v=1782883352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399cbfa1de10977cfcfeead330ea259a519a054b_7dcf9f13-7368-4fe1-8a42-f23b1b9e8e32.webp?v=1784543559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4763d63d3332df6fbe82b730b228767cf719a37c_769dd664-d50d-4574-968d-8998d638b69f.webp?v=1784543562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba1a3ece00f21969eef5320fa35f5ed1e3f757dd_1c7ea091-2795-4bc7-86f8-cfe6cc8c85cd.webp?v=1784543565","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO02.png?v=1750386292","options":["color"],"media":[{"alt":null,"id":25720340545635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO02.png?v=1750386292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO02.png?v=1750386292","width":2000},{"alt":null,"id":25736216707171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YO02_cb00f12f-85bf-4dde-bc5f-9da02cf7da9d.png?v=1750831579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YO02_cb00f12f-85bf-4dde-bc5f-9da02cf7da9d.png?v=1750831579","width":2000},{"alt":null,"id":27647842517091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba1a3ece00f21969eef5320fa35f5ed1e3f757dd.webp?v=1782883346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba1a3ece00f21969eef5320fa35f5ed1e3f757dd.webp?v=1782883346","width":2000},{"alt":null,"id":27647843205219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d.webp?v=1782883349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d.webp?v=1782883349","width":2000},{"alt":null,"id":27647843598435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399cbfa1de10977cfcfeead330ea259a519a054b.webp?v=1782883349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399cbfa1de10977cfcfeead330ea259a519a054b.webp?v=1782883349","width":2000},{"alt":null,"id":27647843991651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687.webp?v=1782883350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687.webp?v=1782883350","width":2000},{"alt":null,"id":27647844221027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e99f9305117088e387b548c02381193253b6e26.webp?v=1782883351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e99f9305117088e387b548c02381193253b6e26.webp?v=1782883351","width":2000},{"alt":null,"id":27647844352099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c3d726cabd74022b705e507e530263f5b2a669a.webp?v=1782883351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c3d726cabd74022b705e507e530263f5b2a669a.webp?v=1782883351","width":2000},{"alt":null,"id":27647844483171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4763d63d3332df6fbe82b730b228767cf719a37c.webp?v=1782883352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4763d63d3332df6fbe82b730b228767cf719a37c.webp?v=1782883352","width":2000},{"alt":null,"id":27826939986019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558","width":2000},{"alt":null,"id":27826940641379,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399cbfa1de10977cfcfeead330ea259a519a054b_7dcf9f13-7368-4fe1-8a42-f23b1b9e8e32.webp?v=1784543559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399cbfa1de10977cfcfeead330ea259a519a054b_7dcf9f13-7368-4fe1-8a42-f23b1b9e8e32.webp?v=1784543559","width":2000},{"alt":null,"id":27826942279779,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4763d63d3332df6fbe82b730b228767cf719a37c_769dd664-d50d-4574-968d-8998d638b69f.webp?v=1784543562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4763d63d3332df6fbe82b730b228767cf719a37c_769dd664-d50d-4574-968d-8998d638b69f.webp?v=1784543562","width":2000},{"alt":null,"id":27826943164515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba1a3ece00f21969eef5320fa35f5ed1e3f757dd_1c7ea091-2795-4bc7-86f8-cfe6cc8c85cd.webp?v=1784543565"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba1a3ece00f21969eef5320fa35f5ed1e3f757dd_1c7ea091-2795-4bc7-86f8-cfe6cc8c85cd.webp?v=1784543565","width":2000},{"alt":null,"id":27826943950947,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43472973693027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YO02","requires_shipping":true,"taxable":true,"featured_image":{"id":36323032236131,"product_id":7823781822563,"position":10,"created_at":"2026-07-20T18:32:36+08:00","updated_at":"2026-07-20T18:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558","variant_ids":[43472973693027]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 逗趣史酷比 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YO02","featured_media":{"alt":null,"id":27826939986019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472976838755,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YO02","requires_shipping":true,"taxable":true,"featured_image":{"id":36323036397667,"product_id":7823781822563,"position":14,"created_at":"2026-07-20T18:32:45+08:00","updated_at":"2026-07-20T18:32:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567","variant_ids":[43472976838755]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 逗趣史酷比 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YO02","featured_media":{"alt":null,"id":27826943950947,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248c2e171d767cdd35a1ed4d1aad7d424c1ca6d_bbb12b10-9eb9-46f3-9183-6c5c56d89b8e.webp?v=1784543567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43472973693027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YO02","requires_shipping":true,"taxable":true,"featured_image":{"id":36323032236131,"product_id":7823781822563,"position":10,"created_at":"2026-07-20T18:32:36+08:00","updated_at":"2026-07-20T18:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558","variant_ids":[43472973693027]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 逗趣史酷比 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YO02","featured_media":{"alt":null,"id":27826939986019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ce45a5786078a81b54391b6501c33a68f854687_c5151fe0-0313-4dad-97f0-f7d619c95288.webp?v=1784543558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }