$product = {"id":7729321574499,"title":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-波士頓塞爾提克 Boston Celtics","handle":"iphone-16-pro-max-jellytint-magsafe-with-capture-button-pm19","description":null,"published_at":"2025-02-06T11:54:11+08:00","created_at":"2025-02-05T18:18:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-iPhone 16 Pro Max","merge","reseller-nba"],"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":43158934716515,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MJB013280H-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469913699,"product_id":7729321574499,"position":11,"created_at":"2026-07-02T12:22:18+08:00","updated_at":"2026-07-02T12:22:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140","variant_ids":[43158934716515]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-波士頓塞爾提克 Boston Celtics - 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":"MJB013280H-PM19","featured_media":{"alt":null,"id":27657343402083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43158934782051,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013280G-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470536291,"product_id":7729321574499,"position":13,"created_at":"2026-07-02T12:22:19+08:00","updated_at":"2026-07-02T12:22:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141","variant_ids":[43158934782051]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-波士頓塞爾提克 Boston Celtics - 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":"MJB013280G-PM19","featured_media":{"alt":null,"id":27657344057443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_5a08b9d1-9091-489d-ab83-1eddd0cf82b1.png?v=1738750714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355.webp?v=1782211435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09.webp?v=1782211436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac.webp?v=1782211436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_5a76f410-b2d2-4e85-821d-19ab9eaec2a4.webp?v=1782958395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_eb8ab58f-3e42-46e1-bc88-934acbb4f89c.webp?v=1782958396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_2b7b5968-3d6a-45f3-b572-13ac0ac10bf5.webp?v=1782958397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_7b6ec668-40e5-473d-8db7-e48a135e18bb.webp?v=1782961719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_1a363db1-51f9-4469-af29-0014cf916d59.webp?v=1782961723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_b451eca4-c213-4d0c-88a7-c173ca90ea2c.webp?v=1782961724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_71956175-0308-474c-8c1e-8bf35f034edb.webp?v=1782966140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_5a08b9d1-9091-489d-ab83-1eddd0cf82b1.png?v=1738750714","options":["color"],"media":[{"alt":null,"id":25256220033123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_5a08b9d1-9091-489d-ab83-1eddd0cf82b1.png?v=1738750714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_5a08b9d1-9091-489d-ab83-1eddd0cf82b1.png?v=1738750714","width":2000},{"alt":null,"id":27577589694563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355.webp?v=1782211435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355.webp?v=1782211435","width":2000},{"alt":null,"id":27577589891171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09.webp?v=1782211436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09.webp?v=1782211436","width":2000},{"alt":null,"id":27577590218851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac.webp?v=1782211436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac.webp?v=1782211436","width":2000},{"alt":null,"id":27656149991523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_5a76f410-b2d2-4e85-821d-19ab9eaec2a4.webp?v=1782958395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_5a76f410-b2d2-4e85-821d-19ab9eaec2a4.webp?v=1782958395","width":2000},{"alt":null,"id":27656150712419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_eb8ab58f-3e42-46e1-bc88-934acbb4f89c.webp?v=1782958396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_eb8ab58f-3e42-46e1-bc88-934acbb4f89c.webp?v=1782958396","width":2000},{"alt":null,"id":27656151040099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_2b7b5968-3d6a-45f3-b572-13ac0ac10bf5.webp?v=1782958397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_2b7b5968-3d6a-45f3-b572-13ac0ac10bf5.webp?v=1782958397","width":2000},{"alt":null,"id":27656847163491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_7b6ec668-40e5-473d-8db7-e48a135e18bb.webp?v=1782961719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_7b6ec668-40e5-473d-8db7-e48a135e18bb.webp?v=1782961719","width":2000},{"alt":null,"id":27656847884387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_1a363db1-51f9-4469-af29-0014cf916d59.webp?v=1782961723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_1a363db1-51f9-4469-af29-0014cf916d59.webp?v=1782961723","width":2000},{"alt":null,"id":27656848113763,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_b451eca4-c213-4d0c-88a7-c173ca90ea2c.webp?v=1782961724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_b451eca4-c213-4d0c-88a7-c173ca90ea2c.webp?v=1782961724","width":2000},{"alt":null,"id":27657343402083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140","width":2000},{"alt":null,"id":27657343762531,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_71956175-0308-474c-8c1e-8bf35f034edb.webp?v=1782966140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5728283f881792345d44052fd78f35e31dfe09_71956175-0308-474c-8c1e-8bf35f034edb.webp?v=1782966140","width":2000},{"alt":null,"id":27657344057443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43158934716515,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MJB013280H-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469913699,"product_id":7729321574499,"position":11,"created_at":"2026-07-02T12:22:18+08:00","updated_at":"2026-07-02T12:22:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140","variant_ids":[43158934716515]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-波士頓塞爾提克 Boston Celtics - 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":"MJB013280H-PM19","featured_media":{"alt":null,"id":27657343402083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43158934782051,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013280G-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470536291,"product_id":7729321574499,"position":13,"created_at":"2026-07-02T12:22:19+08:00","updated_at":"2026-07-02T12:22:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141","variant_ids":[43158934782051]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-波士頓塞爾提克 Boston Celtics - 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":"MJB013280G-PM19","featured_media":{"alt":null,"id":27657344057443,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5364dc33840ece6eab2a10c1d219b32eb03aac_6abd3bd2-4ba5-4116-9f10-ba6d0f6733b5.webp?v=1782966141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43158934716515,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MJB013280H-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469913699,"product_id":7729321574499,"position":11,"created_at":"2026-07-02T12:22:18+08:00","updated_at":"2026-07-02T12:22:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140","variant_ids":[43158934716515]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-波士頓塞爾提克 Boston Celtics - 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":"MJB013280H-PM19","featured_media":{"alt":null,"id":27657343402083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/504a737e1a085d7fa106d125f979519dd3580355_cc9eb5ba-3bc8-4d5f-8dff-dcd38e7e746a.webp?v=1782966140"}},"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: "停產" }