$product = {"id":7873320091747,"title":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race","handle":"iphone-17-pro-jellytint-with-capture-button-kei05","description":null,"published_at":"2025-09-10T00:28:53+08:00","created_at":"2025-09-01T09:52:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 17 Pro","merge","reseller-keigo"],"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":43658749870179,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319956336739,"product_id":7873320091747,"position":9,"created_at":"2026-07-20T13:39:52+08:00","updated_at":"2026-07-20T13:39:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994","variant_ids":[43658749870179]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908618339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658751246435,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319955943523,"product_id":7873320091747,"position":7,"created_at":"2026-07-20T13:39:51+08:00","updated_at":"2026-07-20T13:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993","variant_ids":[43658751246435]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908225123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658751279203,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319956107363,"product_id":7873320091747,"position":8,"created_at":"2026-07-20T13:39:51+08:00","updated_at":"2026-07-20T13:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993","variant_ids":[43658751279203]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908388963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b.webp?v=1756691571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc.webp?v=1756691572","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262.webp?v=1756691573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_587561a5-e3f1-4241-9cab-9b90a1b3f3ee.webp?v=1784107700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8ee3c18f-1192-4eb7-8440-150dd4820a50.webp?v=1784107700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_d476a05a-02de-4d62-944d-4f75057b2c8a.webp?v=1784107701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b.webp?v=1756691571","options":["color"],"media":[{"alt":null,"id":25982416748643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b.webp?v=1756691571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b.webp?v=1756691571","width":2000},{"alt":null,"id":25982417010787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc.webp?v=1756691572"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc.webp?v=1756691572","width":2000},{"alt":null,"id":25982417305699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262.webp?v=1756691573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262.webp?v=1756691573","width":2000},{"alt":null,"id":27777285259363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_587561a5-e3f1-4241-9cab-9b90a1b3f3ee.webp?v=1784107700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_587561a5-e3f1-4241-9cab-9b90a1b3f3ee.webp?v=1784107700","width":2000},{"alt":null,"id":27777285554275,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8ee3c18f-1192-4eb7-8440-150dd4820a50.webp?v=1784107700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8ee3c18f-1192-4eb7-8440-150dd4820a50.webp?v=1784107700","width":2000},{"alt":null,"id":27777285718115,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_d476a05a-02de-4d62-944d-4f75057b2c8a.webp?v=1784107701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_d476a05a-02de-4d62-944d-4f75057b2c8a.webp?v=1784107701","width":2000},{"alt":null,"id":27823908225123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993","width":2000},{"alt":null,"id":27823908388963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993","width":2000},{"alt":null,"id":27823908618339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658749870179,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319956336739,"product_id":7873320091747,"position":9,"created_at":"2026-07-20T13:39:52+08:00","updated_at":"2026-07-20T13:39:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994","variant_ids":[43658749870179]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908618339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658751246435,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319955943523,"product_id":7873320091747,"position":7,"created_at":"2026-07-20T13:39:51+08:00","updated_at":"2026-07-20T13:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993","variant_ids":[43658751246435]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908225123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa66b27241b77c068b1fc5197bc005789fb3bffc_48e3511a-ea72-4b8c-80ae-38a0ec11e671.webp?v=1784525993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658751279203,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319956107363,"product_id":7873320091747,"position":8,"created_at":"2026-07-20T13:39:51+08:00","updated_at":"2026-07-20T13:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993","variant_ids":[43658751279203]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908388963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e186fc24adb2255c38a6e500ffcf015709bb2f1b_8b80bcfe-94cc-49f6-9299-4b2ecdf8f3ca.webp?v=1784525993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658749870179,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":36319956336739,"product_id":7873320091747,"position":9,"created_at":"2026-07-20T13:39:52+08:00","updated_at":"2026-07-20T13:39:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994","variant_ids":[43658749870179]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":27823908618339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0e6b2f76b8f3c11e58d4d194477bcc547d6262_1f7e2d0d-95e8-4260-8785-54aa5f65bb71.webp?v=1784525994"}},"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: "停產" }