$product = {"id":7886147092579,"title":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞","handle":"iphone-16-pro-jellytint-lmo03","description":null,"published_at":"2025-09-17T10:53:40+08:00","created_at":"2025-09-17T10:03:28+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-cherng","device-iPhone 16 Pro","merge","reseller-cherng"],"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":43734826221667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876041827,"product_id":7886147092579,"position":5,"created_at":"2026-07-08T14:38:06+08:00","updated_at":"2026-07-08T14:38:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688","variant_ids":[43734826221667]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270J-LMO03","featured_media":{"alt":null,"id":27714673279075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734827991139,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876172899,"product_id":7886147092579,"position":6,"created_at":"2026-07-08T14:38:07+08:00","updated_at":"2026-07-08T14:38:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689","variant_ids":[43734827991139]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270H-LMO03","featured_media":{"alt":null,"id":27714673410147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734828023907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876369507,"product_id":7886147092579,"position":7,"created_at":"2026-07-08T14:38:07+08:00","updated_at":"2026-07-08T14:38:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689","variant_ids":[43734828023907]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - 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":"CCN013270G-LMO03","featured_media":{"alt":null,"id":27714673541219,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355.webp?v=1758074613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287.webp?v=1758074614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070.webp?v=1758074614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6bc750966a57f770ec48f0fc7d65bc5e1c4c062.webp?v=1758074615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355.webp?v=1758074613","options":["color"],"media":[{"alt":null,"id":26071836196963,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355.webp?v=1758074613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355.webp?v=1758074613","width":2000},{"alt":null,"id":26071836328035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287.webp?v=1758074614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287.webp?v=1758074614","width":2000},{"alt":null,"id":26071836426339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070.webp?v=1758074614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070.webp?v=1758074614","width":2000},{"alt":null,"id":26071836622947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6bc750966a57f770ec48f0fc7d65bc5e1c4c062.webp?v=1758074615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6bc750966a57f770ec48f0fc7d65bc5e1c4c062.webp?v=1758074615","width":2000},{"alt":null,"id":27714673279075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688","width":2000},{"alt":null,"id":27714673410147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689","width":2000},{"alt":null,"id":27714673541219,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43734826221667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876041827,"product_id":7886147092579,"position":5,"created_at":"2026-07-08T14:38:06+08:00","updated_at":"2026-07-08T14:38:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688","variant_ids":[43734826221667]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270J-LMO03","featured_media":{"alt":null,"id":27714673279075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734827991139,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876172899,"product_id":7886147092579,"position":6,"created_at":"2026-07-08T14:38:07+08:00","updated_at":"2026-07-08T14:38:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689","variant_ids":[43734827991139]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270H-LMO03","featured_media":{"alt":null,"id":27714673410147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb5471291ab7675c0553c7796a44434ffade287_f56ac14a-6306-44a2-994b-96153e9073de.webp?v=1783492689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734828023907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876369507,"product_id":7886147092579,"position":7,"created_at":"2026-07-08T14:38:07+08:00","updated_at":"2026-07-08T14:38:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689","variant_ids":[43734828023907]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - 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":"CCN013270G-LMO03","featured_media":{"alt":null,"id":27714673541219,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c29fec01c0d8f72d6a5865d6472c82cecd1355_32059ffd-c40a-462c-bedd-c234dea94638.webp?v=1783492689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43734826221667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209876041827,"product_id":7886147092579,"position":5,"created_at":"2026-07-08T14:38:06+08:00","updated_at":"2026-07-08T14:38:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688","variant_ids":[43734826221667]},"available":true,"name":"iPhone 16 Pro Clear 馬來貘LAIMO 孤芳自賞 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013270J-LMO03","featured_media":{"alt":null,"id":27714673279075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52c5621fca7dbe456e51476bb0ac3ca0add8c070_6e3d237c-aa29-4be4-9c60-6f8d0e15151a.webp?v=1783492688"}},"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: "停產" }