$product = {"id":7980441272419,"title":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) Scooby-Doo史酷比 史酷比一起去冒險","handle":"iphone-17-pro-clearx-magsafe-yo05","description":null,"published_at":"2026-11-04T13:40:35+08:00","created_at":"2026-03-17T16:09:27+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-warnerbros-classics","device-iPhone 17 Pro","merge","reseller-warnerbros-classics"],"price":178000,"price_min":178000,"price_max":178000,"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":44061785981027,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013945Q-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323494625379,"product_id":7980441272419,"position":11,"created_at":"2026-07-20T19:04:05+08:00","updated_at":"2026-07-20T19:04:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447","variant_ids":[44061785981027]},"available":true,"name":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) Scooby-Doo史酷比 史酷比一起去冒險 - Clear Pure","public_title":"Clear Pure","options":["Clear Pure"],"price":178000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCX013525Q-YO05","featured_media":{"alt":null,"id":27827401949283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-YO05_525812ca-973c-40e0-a7fc-8a66967757ff.png?v=1773734970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da.webp?v=1782885872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa3b5ea23b71f13c22b378cbf8c6c77f3e70a70.webp?v=1782885873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/944d11fb8048b8933110500c959128aee28f7764.webp?v=1782885873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a418ff0fb77e2ced0ce32205cb00013987623d0.webp?v=1782885874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e5dec5133373c41379f341764eeebf65a27a23.webp?v=1782885875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a418ff0fb77e2ced0ce32205cb00013987623d0_e5d40059-17f2-41fe-ae4b-49e660ceea7a.webp?v=1784545431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/944d11fb8048b8933110500c959128aee28f7764_eb13b973-56f7-4431-80df-6130b45e02f7.webp?v=1784545434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa3b5ea23b71f13c22b378cbf8c6c77f3e70a70_8a8ded0b-40d5-4ade-b3a8-560bc11c46d2.webp?v=1784545438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e5dec5133373c41379f341764eeebf65a27a23_3b1e5315-aa57-499c-b382-4061e9f67a47.webp?v=1784545442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-YO05_525812ca-973c-40e0-a7fc-8a66967757ff.png?v=1773734970","options":["color"],"media":[{"alt":null,"id":27022906851427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-YO05_525812ca-973c-40e0-a7fc-8a66967757ff.png?v=1773734970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-YO05_525812ca-973c-40e0-a7fc-8a66967757ff.png?v=1773734970","width":2000},{"alt":null,"id":27648725844067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da.webp?v=1782885872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da.webp?v=1782885872","width":2000},{"alt":null,"id":27648726106211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa3b5ea23b71f13c22b378cbf8c6c77f3e70a70.webp?v=1782885873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa3b5ea23b71f13c22b378cbf8c6c77f3e70a70.webp?v=1782885873","width":2000},{"alt":null,"id":27648726335587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/944d11fb8048b8933110500c959128aee28f7764.webp?v=1782885873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/944d11fb8048b8933110500c959128aee28f7764.webp?v=1782885873","width":2000},{"alt":null,"id":27648726564963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a418ff0fb77e2ced0ce32205cb00013987623d0.webp?v=1782885874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a418ff0fb77e2ced0ce32205cb00013987623d0.webp?v=1782885874","width":2000},{"alt":null,"id":27648726728803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e5dec5133373c41379f341764eeebf65a27a23.webp?v=1782885875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e5dec5133373c41379f341764eeebf65a27a23.webp?v=1782885875","width":2000},{"alt":null,"id":27827398738019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a418ff0fb77e2ced0ce32205cb00013987623d0_e5d40059-17f2-41fe-ae4b-49e660ceea7a.webp?v=1784545431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a418ff0fb77e2ced0ce32205cb00013987623d0_e5d40059-17f2-41fe-ae4b-49e660ceea7a.webp?v=1784545431","width":2000},{"alt":null,"id":27827400048739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/944d11fb8048b8933110500c959128aee28f7764_eb13b973-56f7-4431-80df-6130b45e02f7.webp?v=1784545434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/944d11fb8048b8933110500c959128aee28f7764_eb13b973-56f7-4431-80df-6130b45e02f7.webp?v=1784545434","width":2000},{"alt":null,"id":27827400540259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa3b5ea23b71f13c22b378cbf8c6c77f3e70a70_8a8ded0b-40d5-4ade-b3a8-560bc11c46d2.webp?v=1784545438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa3b5ea23b71f13c22b378cbf8c6c77f3e70a70_8a8ded0b-40d5-4ade-b3a8-560bc11c46d2.webp?v=1784545438","width":2000},{"alt":null,"id":27827401293923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e5dec5133373c41379f341764eeebf65a27a23_3b1e5315-aa57-499c-b382-4061e9f67a47.webp?v=1784545442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2e5dec5133373c41379f341764eeebf65a27a23_3b1e5315-aa57-499c-b382-4061e9f67a47.webp?v=1784545442","width":2000},{"alt":null,"id":27827401949283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44061785981027,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013945Q-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323494625379,"product_id":7980441272419,"position":11,"created_at":"2026-07-20T19:04:05+08:00","updated_at":"2026-07-20T19:04:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447","variant_ids":[44061785981027]},"available":true,"name":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) Scooby-Doo史酷比 史酷比一起去冒險 - Clear Pure","public_title":"Clear Pure","options":["Clear Pure"],"price":178000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCX013525Q-YO05","featured_media":{"alt":null,"id":27827401949283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44061785981027,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013945Q-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323494625379,"product_id":7980441272419,"position":11,"created_at":"2026-07-20T19:04:05+08:00","updated_at":"2026-07-20T19:04:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447","variant_ids":[44061785981027]},"available":true,"name":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) Scooby-Doo史酷比 史酷比一起去冒險 - Clear Pure","public_title":"Clear Pure","options":["Clear Pure"],"price":178000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCX013525Q-YO05","featured_media":{"alt":null,"id":27827401949283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddddf823f069186de196a0155f3565f9f3b290da_a2b8cc14-3390-4354-9423-719f06d54f53.webp?v=1784545447"}},"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: "停產" }