$product = {"id":7980937904227,"title":"iPhone 17 Pro Max ClearX (抗刮抗指紋加強版) Harry Potter 嘿美Hedwig","handle":"iphone-17-pro-max-clearx-magsafe-oo91","description":null,"published_at":"2026-11-04T13:35:29+08:00","created_at":"2026-03-17T16:47:52+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-harry-potter","device-iPhone 17 Pro Max","merge","reseller-harry-potter"],"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":44063896469603,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013955Q-OO91","requires_shipping":true,"taxable":true,"featured_image":{"id":36478255005795,"product_id":7980937904227,"position":11,"created_at":"2026-08-04T12:15:34+08:00","updated_at":"2026-08-04T12:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936","variant_ids":[44063896469603]},"available":true,"name":"iPhone 17 Pro Max ClearX (抗刮抗指紋加強版) Harry Potter 嘿美Hedwig - 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":"MCX013535Q-OO91","featured_media":{"alt":null,"id":27981590429795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-353-OO91_d9df01fa-5591-4165-96d4-9e65af175183.png?v=1773737276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791.webp?v=1782985091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3865a91302c795f8b7ff8161ebe6a793fbac94ca.webp?v=1782985091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971a54df242d45a14e73bc14c290ec4d6bd9315e.webp?v=1782985092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb7ec8f0e0d033521f8fec69d04234ef5d9ba33.webp?v=1782985093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92323095268c31b4f0dbbaa09ae89815a3c0db3.webp?v=1782985093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92323095268c31b4f0dbbaa09ae89815a3c0db3_0c568f01-15c1-4656-beec-af3f498a2596.webp?v=1785816928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3865a91302c795f8b7ff8161ebe6a793fbac94ca_d02be4e5-b0fc-4b6c-86b9-62f55a06323e.webp?v=1785816929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb7ec8f0e0d033521f8fec69d04234ef5d9ba33_a101b19f-de54-46b1-bd48-449faaeaab4c.webp?v=1785816932","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971a54df242d45a14e73bc14c290ec4d6bd9315e_d6604358-239a-4791-a7c1-84696a4a1023.webp?v=1785816935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-353-OO91_d9df01fa-5591-4165-96d4-9e65af175183.png?v=1773737276","options":["color"],"media":[{"alt":null,"id":27026326782051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-353-OO91_d9df01fa-5591-4165-96d4-9e65af175183.png?v=1773737276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-353-OO91_d9df01fa-5591-4165-96d4-9e65af175183.png?v=1773737276","width":2000},{"alt":null,"id":27661654032483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791.webp?v=1782985091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791.webp?v=1782985091","width":2000},{"alt":null,"id":27661654163555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3865a91302c795f8b7ff8161ebe6a793fbac94ca.webp?v=1782985091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3865a91302c795f8b7ff8161ebe6a793fbac94ca.webp?v=1782985091","width":2000},{"alt":null,"id":27661654360163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971a54df242d45a14e73bc14c290ec4d6bd9315e.webp?v=1782985092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971a54df242d45a14e73bc14c290ec4d6bd9315e.webp?v=1782985092","width":2000},{"alt":null,"id":27661654655075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb7ec8f0e0d033521f8fec69d04234ef5d9ba33.webp?v=1782985093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb7ec8f0e0d033521f8fec69d04234ef5d9ba33.webp?v=1782985093","width":2000},{"alt":null,"id":27661654982755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92323095268c31b4f0dbbaa09ae89815a3c0db3.webp?v=1782985093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92323095268c31b4f0dbbaa09ae89815a3c0db3.webp?v=1782985093","width":2000},{"alt":null,"id":27981587284067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92323095268c31b4f0dbbaa09ae89815a3c0db3_0c568f01-15c1-4656-beec-af3f498a2596.webp?v=1785816928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92323095268c31b4f0dbbaa09ae89815a3c0db3_0c568f01-15c1-4656-beec-af3f498a2596.webp?v=1785816928","width":2000},{"alt":null,"id":27981588004963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3865a91302c795f8b7ff8161ebe6a793fbac94ca_d02be4e5-b0fc-4b6c-86b9-62f55a06323e.webp?v=1785816929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3865a91302c795f8b7ff8161ebe6a793fbac94ca_d02be4e5-b0fc-4b6c-86b9-62f55a06323e.webp?v=1785816929","width":2000},{"alt":null,"id":27981588856931,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb7ec8f0e0d033521f8fec69d04234ef5d9ba33_a101b19f-de54-46b1-bd48-449faaeaab4c.webp?v=1785816932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cb7ec8f0e0d033521f8fec69d04234ef5d9ba33_a101b19f-de54-46b1-bd48-449faaeaab4c.webp?v=1785816932","width":2000},{"alt":null,"id":27981589774435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971a54df242d45a14e73bc14c290ec4d6bd9315e_d6604358-239a-4791-a7c1-84696a4a1023.webp?v=1785816935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971a54df242d45a14e73bc14c290ec4d6bd9315e_d6604358-239a-4791-a7c1-84696a4a1023.webp?v=1785816935","width":2000},{"alt":null,"id":27981590429795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44063896469603,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013955Q-OO91","requires_shipping":true,"taxable":true,"featured_image":{"id":36478255005795,"product_id":7980937904227,"position":11,"created_at":"2026-08-04T12:15:34+08:00","updated_at":"2026-08-04T12:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936","variant_ids":[44063896469603]},"available":true,"name":"iPhone 17 Pro Max ClearX (抗刮抗指紋加強版) Harry Potter 嘿美Hedwig - 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":"MCX013535Q-OO91","featured_media":{"alt":null,"id":27981590429795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44063896469603,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013955Q-OO91","requires_shipping":true,"taxable":true,"featured_image":{"id":36478255005795,"product_id":7980937904227,"position":11,"created_at":"2026-08-04T12:15:34+08:00","updated_at":"2026-08-04T12:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936","variant_ids":[44063896469603]},"available":true,"name":"iPhone 17 Pro Max ClearX (抗刮抗指紋加強版) Harry Potter 嘿美Hedwig - 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":"MCX013535Q-OO91","featured_media":{"alt":null,"id":27981590429795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0b29e6ad5267e03f91eacdbd87a88062d116791_02895564-f9dd-4b87-9bc0-85b59fbc8c14.webp?v=1785816936"}},"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: "停產" }