$product = {"id":7155892289635,"title":"iPhone 14 Pro Clear 1G 生日帽","handle":"iphone-14-pro-jellytint-iv01","description":null,"published_at":"2024-02-02T09:58:59+08:00","created_at":"2024-01-23T17:07:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-1G","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","reseller-1chun"],"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":41197162463331,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322749218915,"product_id":7155892289635,"position":8,"created_at":"2026-07-20T18:16:33+08:00","updated_at":"2026-07-20T18:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595","variant_ids":[41197162463331]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-IV01","featured_media":{"alt":null,"id":27826657034339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197162496099,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322750103651,"product_id":7155892289635,"position":9,"created_at":"2026-07-20T18:16:33+08:00","updated_at":"2026-07-20T18:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595","variant_ids":[41197162496099]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-IV01","featured_media":{"alt":null,"id":27826657951843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197162561635,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322748530787,"product_id":7155892289635,"position":7,"created_at":"2026-07-20T18:16:32+08:00","updated_at":"2026-07-20T18:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594","variant_ids":[41197162561635]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-IV01","featured_media":{"alt":null,"id":27826656378979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197162627171,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322747875427,"product_id":7155892289635,"position":6,"created_at":"2026-07-20T18:16:32+08:00","updated_at":"2026-07-20T18:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594","variant_ids":[41197162627171]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-IV01","featured_media":{"alt":null,"id":27826655723619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d188f779c82a2d394bef9799c2eb17110b118c_ad6e7a7b-e577-4366-9107-7a4cb2e630ae.webp?v=1706262427","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0.webp?v=1782881692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5.webp?v=1782881693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5.webp?v=1782881693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706.webp?v=1782881694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d188f779c82a2d394bef9799c2eb17110b118c_ad6e7a7b-e577-4366-9107-7a4cb2e630ae.webp?v=1706262427","options":["color"],"media":[{"alt":null,"id":23219445891171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d188f779c82a2d394bef9799c2eb17110b118c_ad6e7a7b-e577-4366-9107-7a4cb2e630ae.webp?v=1706262427"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d188f779c82a2d394bef9799c2eb17110b118c_ad6e7a7b-e577-4366-9107-7a4cb2e630ae.webp?v=1706262427","width":2000},{"alt":null,"id":27647274942563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0.webp?v=1782881692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0.webp?v=1782881692","width":2000},{"alt":null,"id":27647275827299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5.webp?v=1782881693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5.webp?v=1782881693","width":2000},{"alt":null,"id":27647276777571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5.webp?v=1782881693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5.webp?v=1782881693","width":2000},{"alt":null,"id":27647277957219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706.webp?v=1782881694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706.webp?v=1782881694","width":2000},{"alt":null,"id":27826655723619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594","width":2000},{"alt":null,"id":27826656378979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594","width":2000},{"alt":null,"id":27826657034339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595","width":2000},{"alt":null,"id":27826657951843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41197162463331,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322749218915,"product_id":7155892289635,"position":8,"created_at":"2026-07-20T18:16:33+08:00","updated_at":"2026-07-20T18:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595","variant_ids":[41197162463331]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-IV01","featured_media":{"alt":null,"id":27826657034339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197162496099,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322750103651,"product_id":7155892289635,"position":9,"created_at":"2026-07-20T18:16:33+08:00","updated_at":"2026-07-20T18:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595","variant_ids":[41197162496099]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-IV01","featured_media":{"alt":null,"id":27826657951843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b98e53d1e8c0ba34403e7534767ee2d226da61d5_1aaac78c-244e-4ac1-bbfd-c82602a5b28e.webp?v=1784542595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197162561635,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322748530787,"product_id":7155892289635,"position":7,"created_at":"2026-07-20T18:16:32+08:00","updated_at":"2026-07-20T18:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594","variant_ids":[41197162561635]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-IV01","featured_media":{"alt":null,"id":27826656378979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7d0525e591436e6487b2eafbc549adabe70b8e0_61255696-c507-4f45-8843-a5af1733dc80.webp?v=1784542594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197162627171,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322747875427,"product_id":7155892289635,"position":6,"created_at":"2026-07-20T18:16:32+08:00","updated_at":"2026-07-20T18:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594","variant_ids":[41197162627171]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-IV01","featured_media":{"alt":null,"id":27826655723619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2068dc951e30bc6a170fc3043965fa4db2eea5_a298d9ec-0ede-444e-9613-8306c1c5068f.webp?v=1784542594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197162463331,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36322749218915,"product_id":7155892289635,"position":8,"created_at":"2026-07-20T18:16:33+08:00","updated_at":"2026-07-20T18:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595","variant_ids":[41197162463331]},"available":true,"name":"iPhone 14 Pro Clear 1G 生日帽 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-IV01","featured_media":{"alt":null,"id":27826657034339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f39aaed7ed1491cce224ffaab762d3c639e706_ca381c34-3028-4550-aefc-63a10668af2b.webp?v=1784542595"}},"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: "停產" }