$product = {"id":7863450861667,"title":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人","handle":"iphone-17-pro-jellytint-with-capture-button-xk13","description":null,"published_at":"2025-09-10T18:23:13+08:00","created_at":"2025-08-22T19:05:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nasa","device-iPhone 17 Pro","merge","reseller-nasa"],"price":128000,"price_min":128000,"price_max":128000,"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":43609036947555,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480417005667,"product_id":7863450861667,"position":8,"created_at":"2026-08-04T18:55:06+08:00","updated_at":"2026-08-04T18:55:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908","variant_ids":[43609036947555]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013520G-XK13","featured_media":{"alt":null,"id":27983735881827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43609038127203,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480418807907,"product_id":7863450861667,"position":10,"created_at":"2026-08-04T18:55:10+08:00","updated_at":"2026-08-04T18:55:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912","variant_ids":[43609038127203]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-XK13","featured_media":{"alt":null,"id":27983737651299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43609038159971,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480418218083,"product_id":7863450861667,"position":9,"created_at":"2026-08-04T18:55:07+08:00","updated_at":"2026-08-04T18:55:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910","variant_ids":[43609038159971]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-XK13","featured_media":{"alt":null,"id":27983737061475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XK13_cd4f3562-55f6-4f0b-8b53-8886929108df.png?v=1755860717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301.webp?v=1784000107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21.webp?v=1784000111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460.webp?v=1784000113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_ae9dc2c8-2c00-4e53-96ea-c7848f304899.webp?v=1785816896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_1a260974-6472-436b-a6b4-2eac93ede3ac.webp?v=1785816898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_539aa73b-cf1b-4a5b-b036-a47fa27199e3.webp?v=1785816899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XK13_cd4f3562-55f6-4f0b-8b53-8886929108df.png?v=1755860717","options":["color"],"media":[{"alt":null,"id":25941536702563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XK13_cd4f3562-55f6-4f0b-8b53-8886929108df.png?v=1755860717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XK13_cd4f3562-55f6-4f0b-8b53-8886929108df.png?v=1755860717","width":2000},{"alt":null,"id":27760122757219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301.webp?v=1784000107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301.webp?v=1784000107","width":2000},{"alt":null,"id":27760123215971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21.webp?v=1784000111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21.webp?v=1784000111","width":2000},{"alt":null,"id":27760123478115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460.webp?v=1784000113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460.webp?v=1784000113","width":2000},{"alt":null,"id":27981579976803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_ae9dc2c8-2c00-4e53-96ea-c7848f304899.webp?v=1785816896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_ae9dc2c8-2c00-4e53-96ea-c7848f304899.webp?v=1785816896","width":2000},{"alt":null,"id":27981580959843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_1a260974-6472-436b-a6b4-2eac93ede3ac.webp?v=1785816898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_1a260974-6472-436b-a6b4-2eac93ede3ac.webp?v=1785816898","width":2000},{"alt":null,"id":27981582172259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_539aa73b-cf1b-4a5b-b036-a47fa27199e3.webp?v=1785816899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_539aa73b-cf1b-4a5b-b036-a47fa27199e3.webp?v=1785816899","width":2000},{"alt":null,"id":27983735881827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908","width":2000},{"alt":null,"id":27983737061475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910","width":2000},{"alt":null,"id":27983737651299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43609036947555,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480417005667,"product_id":7863450861667,"position":8,"created_at":"2026-08-04T18:55:06+08:00","updated_at":"2026-08-04T18:55:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908","variant_ids":[43609036947555]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013520G-XK13","featured_media":{"alt":null,"id":27983735881827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43609038127203,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480418807907,"product_id":7863450861667,"position":10,"created_at":"2026-08-04T18:55:10+08:00","updated_at":"2026-08-04T18:55:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912","variant_ids":[43609038127203]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-XK13","featured_media":{"alt":null,"id":27983737651299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d75a75efb8056f75e62ee6972e122097ccd85460_49f081be-647b-48b7-94d0-7bb265d030de.webp?v=1785840912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43609038159971,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480418218083,"product_id":7863450861667,"position":9,"created_at":"2026-08-04T18:55:07+08:00","updated_at":"2026-08-04T18:55:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910","variant_ids":[43609038159971]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-XK13","featured_media":{"alt":null,"id":27983737061475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d122cf6f38d9588c44cc7f6cd3264ce47b6dc301_5afce6a9-bbf8-41c3-ac2a-e279af88407a.webp?v=1785840910"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43609036947555,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-XK13","requires_shipping":true,"taxable":true,"featured_image":{"id":36480417005667,"product_id":7863450861667,"position":8,"created_at":"2026-08-04T18:55:06+08:00","updated_at":"2026-08-04T18:55:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908","variant_ids":[43609036947555]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) 太空 維特魯威太空人 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013520G-XK13","featured_media":{"alt":null,"id":27983735881827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f840413623b7fa0362cea239190682fcc7d1c21_2d5f0aaa-0dac-4f57-bc9d-ecbf127dac8c.webp?v=1785840908"}},"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: "停產" }