$product = {"id":7893844328547,"title":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 含苞綻放","handle":"iphone-17-pro-max-jellytint-magsafe-with-capture-button-chu08","description":null,"published_at":"2025-10-09T09:27:14+08:00","created_at":"2025-10-07T10:26:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 17 Pro Max","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":43763484917859,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":36351698141283,"product_id":7893844328547,"position":12,"created_at":"2026-07-22T21:21:46+08:00","updated_at":"2026-07-22T21:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508","variant_ids":[43763484917859]},"available":true,"name":"iPhone 17 Pro Max 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":"MJB013534M-CHU08","featured_media":{"alt":null,"id":27855503720547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763486687331,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013534L-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":36351697158243,"product_id":7893844328547,"position":11,"created_at":"2026-07-22T21:21:45+08:00","updated_at":"2026-07-22T21:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508","variant_ids":[43763486687331]},"available":true,"name":"iPhone 17 Pro Max 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":"MJB013534L-CHU08","featured_media":{"alt":null,"id":27855502835811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e.webp?v=1759803981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652.webp?v=1759803981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413.webp?v=1759803983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_38a43591-b66a-4d2d-b160-4019d3d860a7.webp?v=1784721282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_ab715f89-7eb3-4eba-a559-ebda6262e390.webp?v=1784721282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_ebff616e-0dff-48f3-bb54-7fd210c27e0d.webp?v=1784721284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_001cb2ac-5ee8-4e38-914b-229c4324447e.webp?v=1784725434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_f98f7cd9-accd-4e2c-bf94-69915e8fb83a.webp?v=1784725435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_c149444a-44d6-4e32-8db3-8c8fa93f827d.webp?v=1784725436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_047f7cff-b99b-41cd-870a-ccec61b84e28.webp?v=1784726507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e.webp?v=1759803981","options":["color"],"media":[{"alt":null,"id":26122864427107,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e.webp?v=1759803981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e.webp?v=1759803981","width":2000},{"alt":null,"id":26122864590947,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652.webp?v=1759803981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652.webp?v=1759803981","width":2000},{"alt":null,"id":26122864722019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413.webp?v=1759803983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413.webp?v=1759803983","width":2000},{"alt":null,"id":27853698367587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_38a43591-b66a-4d2d-b160-4019d3d860a7.webp?v=1784721282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_38a43591-b66a-4d2d-b160-4019d3d860a7.webp?v=1784721282","width":2000},{"alt":null,"id":27853698695267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_ab715f89-7eb3-4eba-a559-ebda6262e390.webp?v=1784721282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_ab715f89-7eb3-4eba-a559-ebda6262e390.webp?v=1784721282","width":2000},{"alt":null,"id":27853699350627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_ebff616e-0dff-48f3-bb54-7fd210c27e0d.webp?v=1784721284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_ebff616e-0dff-48f3-bb54-7fd210c27e0d.webp?v=1784721284","width":2000},{"alt":null,"id":27854961377379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_001cb2ac-5ee8-4e38-914b-229c4324447e.webp?v=1784725434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_001cb2ac-5ee8-4e38-914b-229c4324447e.webp?v=1784725434","width":2000},{"alt":null,"id":27854962294883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_f98f7cd9-accd-4e2c-bf94-69915e8fb83a.webp?v=1784725435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_f98f7cd9-accd-4e2c-bf94-69915e8fb83a.webp?v=1784725435","width":2000},{"alt":null,"id":27854962851939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_c149444a-44d6-4e32-8db3-8c8fa93f827d.webp?v=1784725436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_c149444a-44d6-4e32-8db3-8c8fa93f827d.webp?v=1784725436","width":2000},{"alt":null,"id":27855501590627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_047f7cff-b99b-41cd-870a-ccec61b84e28.webp?v=1784726507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c498f68e7fb8b1bb93e3e668e8022f158986652_047f7cff-b99b-41cd-870a-ccec61b84e28.webp?v=1784726507","width":2000},{"alt":null,"id":27855502835811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508","width":2000},{"alt":null,"id":27855503720547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43763484917859,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":36351698141283,"product_id":7893844328547,"position":12,"created_at":"2026-07-22T21:21:46+08:00","updated_at":"2026-07-22T21:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508","variant_ids":[43763484917859]},"available":true,"name":"iPhone 17 Pro Max 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":"MJB013534M-CHU08","featured_media":{"alt":null,"id":27855503720547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763486687331,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013534L-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":36351697158243,"product_id":7893844328547,"position":11,"created_at":"2026-07-22T21:21:45+08:00","updated_at":"2026-07-22T21:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508","variant_ids":[43763486687331]},"available":true,"name":"iPhone 17 Pro Max 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":"MJB013534L-CHU08","featured_media":{"alt":null,"id":27855502835811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a81da2e29cd072b879192eb694c7eeb521bd413_292fb355-c104-4aa2-b089-40cc17d3d5d2.webp?v=1784726508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763484917859,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":36351698141283,"product_id":7893844328547,"position":12,"created_at":"2026-07-22T21:21:46+08:00","updated_at":"2026-07-22T21:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508","variant_ids":[43763484917859]},"available":true,"name":"iPhone 17 Pro Max 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":"MJB013534M-CHU08","featured_media":{"alt":null,"id":27855503720547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e66787c68f5c6b87893551cf63abb2304c5e7d9e_8972a4a0-53af-43d2-8a42-60f29148bee5.webp?v=1784726508"}},"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: "停產" }