$product = {"id":7893854060643,"title":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩","handle":"iphone-air-jellytint-magsafe-with-capture-button-chu05","description":null,"published_at":"2025-10-09T09:25:26+08:00","created_at":"2025-10-07T10:28:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone Air","merge","reseller-chubbynida"],"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":43763522830435,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013514M-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350431854691,"product_id":7893854060643,"position":5,"created_at":"2026-07-22T20:18:37+08:00","updated_at":"2026-07-22T20:18:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719","variant_ids":[43763522830435]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013514M-CHU05","featured_media":{"alt":null,"id":27854236844131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763523977315,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013514L-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350432542819,"product_id":7893854060643,"position":6,"created_at":"2026-07-22T20:18:37+08:00","updated_at":"2026-07-22T20:18:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719","variant_ids":[43763523977315]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013514L-CHU05","featured_media":{"alt":null,"id":27854237532259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763524010083,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013510G-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350431461475,"product_id":7893854060643,"position":4,"created_at":"2026-07-22T20:18:36+08:00","updated_at":"2026-07-22T20:18:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718","variant_ids":[43763524010083]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - 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":"MJB013510G-CHU05","featured_media":{"alt":null,"id":27854236450915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b.webp?v=1759804127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389.webp?v=1759804130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4.webp?v=1759804131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b.webp?v=1759804127","options":["color"],"media":[{"alt":null,"id":26122902601827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b.webp?v=1759804127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b.webp?v=1759804127","width":2000},{"alt":null,"id":26122902732899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389.webp?v=1759804130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389.webp?v=1759804130","width":2000},{"alt":null,"id":26122903224419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4.webp?v=1759804131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4.webp?v=1759804131","width":2000},{"alt":null,"id":27854236450915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718","width":2000},{"alt":null,"id":27854236844131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719","width":2000},{"alt":null,"id":27854237532259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43763522830435,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013514M-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350431854691,"product_id":7893854060643,"position":5,"created_at":"2026-07-22T20:18:37+08:00","updated_at":"2026-07-22T20:18:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719","variant_ids":[43763522830435]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013514M-CHU05","featured_media":{"alt":null,"id":27854236844131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763523977315,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013514L-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350432542819,"product_id":7893854060643,"position":6,"created_at":"2026-07-22T20:18:37+08:00","updated_at":"2026-07-22T20:18:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719","variant_ids":[43763523977315]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013514L-CHU05","featured_media":{"alt":null,"id":27854237532259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529054270e41ac8ffcc54d974b391611f025389_887ac256-1647-4c6c-9c83-434f6ddc6e55.webp?v=1784722719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763524010083,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013510G-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350431461475,"product_id":7893854060643,"position":4,"created_at":"2026-07-22T20:18:36+08:00","updated_at":"2026-07-22T20:18:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718","variant_ids":[43763524010083]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - 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":"MJB013510G-CHU05","featured_media":{"alt":null,"id":27854236450915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ac83119395e295911cc9ae788e167df2a7ece4_9c24a70a-b293-4dd8-bf74-8e75374f83e7.webp?v=1784722718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763522830435,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013514M-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":36350431854691,"product_id":7893854060643,"position":5,"created_at":"2026-07-22T20:18:37+08:00","updated_at":"2026-07-22T20:18:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719","variant_ids":[43763522830435]},"available":true,"name":"iPhone Air Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 悠游海之詩 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013514M-CHU05","featured_media":{"alt":null,"id":27854236844131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8abfb1e277a86f8a30035a6152893f7794a7a7b_f84c1cde-e7e4-451c-9c7e-65fe523a4790.webp?v=1784722719"}},"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: "停產" }