$product = {"id":7886168260707,"title":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞","handle":"iphone-15-jellytint-magsafe-lmo03","description":null,"published_at":"2025-09-17T10:48:01+08:00","created_at":"2025-09-17T10:08:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-cherng","device-iPhone 15","merge","reseller-cherng"],"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":43734907879523,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209770594403,"product_id":7886168260707,"position":7,"created_at":"2026-07-08T14:32:11+08:00","updated_at":"2026-07-08T14:32:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333","variant_ids":[43734907879523]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-LMO03","featured_media":{"alt":null,"id":27714567897187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734909845603,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209769971811,"product_id":7886168260707,"position":5,"created_at":"2026-07-08T14:32:09+08:00","updated_at":"2026-07-08T14:32:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331","variant_ids":[43734909845603]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-LMO03","featured_media":{"alt":null,"id":27714567274595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734909878371,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209770332259,"product_id":7886168260707,"position":6,"created_at":"2026-07-08T14:32:10+08:00","updated_at":"2026-07-08T14:32:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332","variant_ids":[43734909878371]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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":"MCN012950G-LMO03","featured_media":{"alt":null,"id":27714567635043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c.webp?v=1758074889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e.webp?v=1758074890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1967fde1f40e8d07b208c581e6d9ef8b2562ed68.webp?v=1758074890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7.webp?v=1758074891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c.webp?v=1758074889","options":["color"],"media":[{"alt":null,"id":26071925096547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c.webp?v=1758074889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c.webp?v=1758074889","width":2000},{"alt":null,"id":26071925293155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e.webp?v=1758074890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e.webp?v=1758074890","width":2000},{"alt":null,"id":26071925489763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1967fde1f40e8d07b208c581e6d9ef8b2562ed68.webp?v=1758074890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1967fde1f40e8d07b208c581e6d9ef8b2562ed68.webp?v=1758074890","width":2000},{"alt":null,"id":26071925588067,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7.webp?v=1758074891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7.webp?v=1758074891","width":2000},{"alt":null,"id":27714567274595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331","width":2000},{"alt":null,"id":27714567635043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332","width":2000},{"alt":null,"id":27714567897187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43734907879523,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209770594403,"product_id":7886168260707,"position":7,"created_at":"2026-07-08T14:32:11+08:00","updated_at":"2026-07-08T14:32:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333","variant_ids":[43734907879523]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-LMO03","featured_media":{"alt":null,"id":27714567897187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734909845603,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209769971811,"product_id":7886168260707,"position":5,"created_at":"2026-07-08T14:32:09+08:00","updated_at":"2026-07-08T14:32:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331","variant_ids":[43734909845603]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-LMO03","featured_media":{"alt":null,"id":27714567274595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b67ed384c33957569bc9e1445115d7cfc7076e_ed3c9f3e-2d02-41cc-9d99-50c903e277b4.webp?v=1783492331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734909878371,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209770332259,"product_id":7886168260707,"position":6,"created_at":"2026-07-08T14:32:10+08:00","updated_at":"2026-07-08T14:32:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332","variant_ids":[43734909878371]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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":"MCN012950G-LMO03","featured_media":{"alt":null,"id":27714567635043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41d0d5737b1fc4ea30bb02838f65412036f55cb7_4afb0f63-0df6-4326-9d42-636c83680f18.webp?v=1783492332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43734907879523,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":36209770594403,"product_id":7886168260707,"position":7,"created_at":"2026-07-08T14:32:11+08:00","updated_at":"2026-07-08T14:32:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333","variant_ids":[43734907879523]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-LMO03","featured_media":{"alt":null,"id":27714567897187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b82a26cbca6efedd41b9c2d01c1f3b89b2d0144c_a42ae22b-fec3-46c4-a2e6-489de0a6cc32.webp?v=1783492333"}},"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: "停產" }