$product = {"id":7980446384227,"title":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) KINGJUN Hello VIRUS FLOWER!","handle":"iphone-17-pro-clearx-magsafe-iq04","description":null,"published_at":"2026-11-04T13:39:44+08:00","created_at":"2026-03-17T16:10:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kingjun","device-iPhone 17 Pro","merge","reseller-kingjun"],"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":44061811474531,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013945Q-IQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323485319267,"product_id":7980446384227,"position":7,"created_at":"2026-07-20T19:03:19+08:00","updated_at":"2026-07-20T19:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401","variant_ids":[44061811474531]},"available":true,"name":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) KINGJUN Hello VIRUS FLOWER! - 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-IQ04","featured_media":{"alt":null,"id":27827392643171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401"}},"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-IQ04_c795fc31-8aca-49c7-be10-bd5ca246e358.png?v=1773735013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946fa1fdb3913bc87cce27b5eee005cee709fa59.webp?v=1782885848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae669f79cc9414870c1dc637404a82d6a1e2ba4f.webp?v=1782885849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492.webp?v=1782885849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d414b9f82205bf532ffd40e9c3174ee9243e9d1a.webp?v=1782885850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1bc47acca6f3874d2acb5f39c7d3c031880980e.webp?v=1782885850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d414b9f82205bf532ffd40e9c3174ee9243e9d1a_86cbbb14-249e-42d7-b4ca-5ed88c338e3d.webp?v=1784545402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946fa1fdb3913bc87cce27b5eee005cee709fa59_ca354041-14e5-457d-a3c4-508d51941896.webp?v=1784545406","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1bc47acca6f3874d2acb5f39c7d3c031880980e_dda204d9-d776-494e-9920-15dd3e6ea905.webp?v=1784545408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae669f79cc9414870c1dc637404a82d6a1e2ba4f_85a79c2b-db0b-4b55-a19d-72f6aa6e6b78.webp?v=1784545411"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-IQ04_c795fc31-8aca-49c7-be10-bd5ca246e358.png?v=1773735013","options":["color"],"media":[{"alt":null,"id":27022919434339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-IQ04_c795fc31-8aca-49c7-be10-bd5ca246e358.png?v=1773735013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ClearX-5S-352-IQ04_c795fc31-8aca-49c7-be10-bd5ca246e358.png?v=1773735013","width":2000},{"alt":null,"id":27648714408035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946fa1fdb3913bc87cce27b5eee005cee709fa59.webp?v=1782885848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946fa1fdb3913bc87cce27b5eee005cee709fa59.webp?v=1782885848","width":2000},{"alt":null,"id":27648714539107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae669f79cc9414870c1dc637404a82d6a1e2ba4f.webp?v=1782885849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae669f79cc9414870c1dc637404a82d6a1e2ba4f.webp?v=1782885849","width":2000},{"alt":null,"id":27648714801251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492.webp?v=1782885849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492.webp?v=1782885849","width":2000},{"alt":null,"id":27648714997859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d414b9f82205bf532ffd40e9c3174ee9243e9d1a.webp?v=1782885850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d414b9f82205bf532ffd40e9c3174ee9243e9d1a.webp?v=1782885850","width":2000},{"alt":null,"id":27648715292771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1bc47acca6f3874d2acb5f39c7d3c031880980e.webp?v=1782885850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1bc47acca6f3874d2acb5f39c7d3c031880980e.webp?v=1782885850","width":2000},{"alt":null,"id":27827392643171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401","width":2000},{"alt":null,"id":27827392970851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d414b9f82205bf532ffd40e9c3174ee9243e9d1a_86cbbb14-249e-42d7-b4ca-5ed88c338e3d.webp?v=1784545402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d414b9f82205bf532ffd40e9c3174ee9243e9d1a_86cbbb14-249e-42d7-b4ca-5ed88c338e3d.webp?v=1784545402","width":2000},{"alt":null,"id":27827393265763,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946fa1fdb3913bc87cce27b5eee005cee709fa59_ca354041-14e5-457d-a3c4-508d51941896.webp?v=1784545406"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946fa1fdb3913bc87cce27b5eee005cee709fa59_ca354041-14e5-457d-a3c4-508d51941896.webp?v=1784545406","width":2000},{"alt":null,"id":27827393462371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1bc47acca6f3874d2acb5f39c7d3c031880980e_dda204d9-d776-494e-9920-15dd3e6ea905.webp?v=1784545408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1bc47acca6f3874d2acb5f39c7d3c031880980e_dda204d9-d776-494e-9920-15dd3e6ea905.webp?v=1784545408","width":2000},{"alt":null,"id":27827393724515,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae669f79cc9414870c1dc637404a82d6a1e2ba4f_85a79c2b-db0b-4b55-a19d-72f6aa6e6b78.webp?v=1784545411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae669f79cc9414870c1dc637404a82d6a1e2ba4f_85a79c2b-db0b-4b55-a19d-72f6aa6e6b78.webp?v=1784545411","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44061811474531,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013945Q-IQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323485319267,"product_id":7980446384227,"position":7,"created_at":"2026-07-20T19:03:19+08:00","updated_at":"2026-07-20T19:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401","variant_ids":[44061811474531]},"available":true,"name":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) KINGJUN Hello VIRUS FLOWER! - 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-IQ04","featured_media":{"alt":null,"id":27827392643171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44061811474531,"title":"Clear Pure","option1":"Clear Pure","option2":null,"option3":null,"sku":"MCX013945Q-IQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323485319267,"product_id":7980446384227,"position":7,"created_at":"2026-07-20T19:03:19+08:00","updated_at":"2026-07-20T19:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401","variant_ids":[44061811474531]},"available":true,"name":"iPhone 17 Pro ClearX (抗刮抗指紋加強版) KINGJUN Hello VIRUS FLOWER! - 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-IQ04","featured_media":{"alt":null,"id":27827392643171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bf302b3b537283b79711966123901be994e9492_c5390d9b-f86e-45e2-85eb-d42f1c549656.webp?v=1784545401"}},"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: "停產" }