$product = {"id":7873250689123,"title":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Barber","handle":"iphone-14-pro-jellytint-magsafe-kei01","description":null,"published_at":"2025-09-01T11:01:40+08:00","created_at":"2025-09-01T09:35:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro","merge","reseller-keigo"],"price":148000,"price_min":148000,"price_max":148000,"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":43658475405411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36319240388707,"product_id":7873250689123,"position":12,"created_at":"2026-07-20T12:49:33+08:00","updated_at":"2026-07-20T12:49:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975","variant_ids":[43658475405411]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Barber - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI01","featured_media":{"alt":null,"id":27823192735843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658477437027,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012620I-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36319240061027,"product_id":7873250689123,"position":11,"created_at":"2026-07-20T12:49:32+08:00","updated_at":"2026-07-20T12:49:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974","variant_ids":[43658477437027]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Barber - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620I-KEI01","featured_media":{"alt":null,"id":27823192408163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7.webp?v=1756690511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619.webp?v=1756690512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689.webp?v=1756690513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de.webp?v=1756690514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_6d55858a-f2b4-4f9d-87ce-c42809015122.webp?v=1784107109","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7_5e32402a-2d66-405d-a9b3-18af91f72617.webp?v=1784107110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619_b02faea7-b718-4eb8-b106-60195177c197.webp?v=1784107111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_398cbd9b-839f-4cc8-9c31-602ff3a1f6cc.webp?v=1784107112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7_fb3de068-0cb3-4cec-be6e-75e90a24ae95.webp?v=1784522973","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619_0f0cd704-a3ff-4675-82ac-8afe181ceb85.webp?v=1784522974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7.webp?v=1756690511","options":["color"],"media":[{"alt":null,"id":25982146642019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7.webp?v=1756690511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7.webp?v=1756690511","width":2000},{"alt":null,"id":25982146871395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619.webp?v=1756690512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619.webp?v=1756690512","width":2000},{"alt":null,"id":25982147035235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689.webp?v=1756690513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689.webp?v=1756690513","width":2000},{"alt":null,"id":25982147133539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de.webp?v=1756690514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de.webp?v=1756690514","width":2000},{"alt":null,"id":27777121452131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_6d55858a-f2b4-4f9d-87ce-c42809015122.webp?v=1784107109"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_6d55858a-f2b4-4f9d-87ce-c42809015122.webp?v=1784107109","width":2000},{"alt":null,"id":27777122107491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7_5e32402a-2d66-405d-a9b3-18af91f72617.webp?v=1784107110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7_5e32402a-2d66-405d-a9b3-18af91f72617.webp?v=1784107110","width":2000},{"alt":null,"id":27777122664547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619_b02faea7-b718-4eb8-b106-60195177c197.webp?v=1784107111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619_b02faea7-b718-4eb8-b106-60195177c197.webp?v=1784107111","width":2000},{"alt":null,"id":27777123254371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_398cbd9b-839f-4cc8-9c31-602ff3a1f6cc.webp?v=1784107112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_398cbd9b-839f-4cc8-9c31-602ff3a1f6cc.webp?v=1784107112","width":2000},{"alt":null,"id":27823191720035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7_fb3de068-0cb3-4cec-be6e-75e90a24ae95.webp?v=1784522973"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2708090905be1b76025b446d24c95b3bae173e7_fb3de068-0cb3-4cec-be6e-75e90a24ae95.webp?v=1784522973","width":2000},{"alt":null,"id":27823192113251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619_0f0cd704-a3ff-4675-82ac-8afe181ceb85.webp?v=1784522974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb061b0021e1cf4d36211ba15f8bb935cf20619_0f0cd704-a3ff-4675-82ac-8afe181ceb85.webp?v=1784522974","width":2000},{"alt":null,"id":27823192408163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974","width":2000},{"alt":null,"id":27823192735843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658475405411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36319240388707,"product_id":7873250689123,"position":12,"created_at":"2026-07-20T12:49:33+08:00","updated_at":"2026-07-20T12:49:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975","variant_ids":[43658475405411]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Barber - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI01","featured_media":{"alt":null,"id":27823192735843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658477437027,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012620I-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36319240061027,"product_id":7873250689123,"position":11,"created_at":"2026-07-20T12:49:32+08:00","updated_at":"2026-07-20T12:49:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974","variant_ids":[43658477437027]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Barber - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620I-KEI01","featured_media":{"alt":null,"id":27823192408163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d1eb1f497abd1f36ec11bfc77fe67d8926e4de_7bc5d5d7-1644-4cb6-8ed4-931f786b85c4.webp?v=1784522974"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658475405411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36319240388707,"product_id":7873250689123,"position":12,"created_at":"2026-07-20T12:49:33+08:00","updated_at":"2026-07-20T12:49:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975","variant_ids":[43658475405411]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Barber - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI01","featured_media":{"alt":null,"id":27823192735843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf5113d7fa6751a1b164ae544cca303c795689_8958294d-c670-492a-9ee6-eba1b0f592e9.webp?v=1784522975"}},"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: "停產" }