$product = {"id":7873333592163,"title":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker","handle":"iphone-17-jellytint-with-capture-button-kei03","description":null,"published_at":"2025-09-10T00:28:38+08:00","created_at":"2025-09-01T09:56:27+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 17","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":43658798858339,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909412963,"product_id":7873333592163,"position":8,"created_at":"2026-07-20T13:36:27+08:00","updated_at":"2026-07-20T13:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789","variant_ids":[43658798858339]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013500G-KEI03","featured_media":{"alt":null,"id":27823861694563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658800267363,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013504L-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909740643,"product_id":7873333592163,"position":9,"created_at":"2026-07-20T13:36:28+08:00","updated_at":"2026-07-20T13:36:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790","variant_ids":[43658800267363]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013504L-KEI03","featured_media":{"alt":null,"id":27823862022243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658800300131,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909150819,"product_id":7873333592163,"position":7,"created_at":"2026-07-20T13:36:27+08:00","updated_at":"2026-07-20T13:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789","variant_ids":[43658800300131]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013504M-KEI03","featured_media":{"alt":null,"id":27823861432419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93.webp?v=1756691793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c.webp?v=1756691793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a.webp?v=1756691794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_9b2e2199-76e7-4931-985b-d9ca10463d4e.webp?v=1784107658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_63b6e419-8b6d-4fb0-8c11-11a9a801b804.webp?v=1784107659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_713b5d21-bee2-4ad3-993c-c4b0d643a083.webp?v=1784107659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93.webp?v=1756691793","options":["color"],"media":[{"alt":null,"id":25982466326627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93.webp?v=1756691793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93.webp?v=1756691793","width":2000},{"alt":null,"id":25982466556003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c.webp?v=1756691793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c.webp?v=1756691793","width":2000},{"alt":null,"id":25982466785379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a.webp?v=1756691794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a.webp?v=1756691794","width":2000},{"alt":null,"id":27777271726179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_9b2e2199-76e7-4931-985b-d9ca10463d4e.webp?v=1784107658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_9b2e2199-76e7-4931-985b-d9ca10463d4e.webp?v=1784107658","width":2000},{"alt":null,"id":27777272316003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_63b6e419-8b6d-4fb0-8c11-11a9a801b804.webp?v=1784107659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_63b6e419-8b6d-4fb0-8c11-11a9a801b804.webp?v=1784107659","width":2000},{"alt":null,"id":27777272741987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_713b5d21-bee2-4ad3-993c-c4b0d643a083.webp?v=1784107659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_713b5d21-bee2-4ad3-993c-c4b0d643a083.webp?v=1784107659","width":2000},{"alt":null,"id":27823861432419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789","width":2000},{"alt":null,"id":27823861694563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789","width":2000},{"alt":null,"id":27823862022243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658798858339,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909412963,"product_id":7873333592163,"position":8,"created_at":"2026-07-20T13:36:27+08:00","updated_at":"2026-07-20T13:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789","variant_ids":[43658798858339]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013500G-KEI03","featured_media":{"alt":null,"id":27823861694563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658800267363,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013504L-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909740643,"product_id":7873333592163,"position":9,"created_at":"2026-07-20T13:36:28+08:00","updated_at":"2026-07-20T13:36:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790","variant_ids":[43658800267363]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013504L-KEI03","featured_media":{"alt":null,"id":27823862022243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0831a3a77ea09d381e534675186ba80bda68f93_4c7f45af-bae4-4664-b901-0d3a2b1288f6.webp?v=1784525790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658800300131,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909150819,"product_id":7873333592163,"position":7,"created_at":"2026-07-20T13:36:27+08:00","updated_at":"2026-07-20T13:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789","variant_ids":[43658800300131]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013504M-KEI03","featured_media":{"alt":null,"id":27823861432419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76b0b1956ba0e1ffcddf344e952768a703da1e3c_68d60e89-78b4-4d86-b969-64ab1df406cb.webp?v=1784525789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658798858339,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319909412963,"product_id":7873333592163,"position":8,"created_at":"2026-07-20T13:36:27+08:00","updated_at":"2026-07-20T13:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789","variant_ids":[43658798858339]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Keigo Loudspeaker - 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":"JTB013500G-KEI03","featured_media":{"alt":null,"id":27823861694563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863acaa24cf952e8eb764619997ef4c251c0334a_712a0a00-f3fa-485e-af89-e111dd18f130.webp?v=1784525789"}},"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: "停產" }