$product = {"id":7729253384291,"title":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-密爾瓦基公鹿 Milwaukee Bucks","handle":"iphone-16-pro-max-jellytint-magsafe-with-capture-button-pm14","description":null,"published_at":"2025-02-06T12:31:20+08:00","created_at":"2025-02-05T18:02:13+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":43158622797923,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MJB013280H-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469586019,"product_id":7729253384291,"position":11,"created_at":"2026-07-02T12:22:17+08:00","updated_at":"2026-07-02T12:22:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140","variant_ids":[43158622797923]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657343074403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43158622863459,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013280G-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469946467,"product_id":7729253384291,"position":12,"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\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140","variant_ids":[43158622863459]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657343434851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140"}},"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-PM14_028af8df-bac3-4b7d-a0d5-771e4ee1f1a2.png?v=1738749736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5.webp?v=1782211435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675.webp?v=1782211435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf.webp?v=1782211436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_077225db-8b9e-4185-ab77-45807d18bd43.webp?v=1782958394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_b75a1988-7ae6-4679-ad85-d876ba1290d6.webp?v=1782958395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_d40b3e78-e37b-4b71-97bf-e3ce27387df8.webp?v=1782958396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_62ba0cd5-e686-4185-baa3-2a7cb32a22d5.webp?v=1782961734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_23b2dfb3-6055-4167-baa7-ace9d2b00b1f.webp?v=1782961741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_46822d8c-df00-4a59-9b8b-63192a3136c7.webp?v=1782961741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_2fb6b8e0-a04c-4b61-a47f-9035ef8584b4.webp?v=1782966141"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM14_028af8df-bac3-4b7d-a0d5-771e4ee1f1a2.png?v=1738749736","options":["color"],"media":[{"alt":null,"id":25256122679395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM14_028af8df-bac3-4b7d-a0d5-771e4ee1f1a2.png?v=1738749736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM14_028af8df-bac3-4b7d-a0d5-771e4ee1f1a2.png?v=1738749736","width":2000},{"alt":null,"id":27577589760099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5.webp?v=1782211435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5.webp?v=1782211435","width":2000},{"alt":null,"id":27577590022243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675.webp?v=1782211435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675.webp?v=1782211435","width":2000},{"alt":null,"id":27577590284387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf.webp?v=1782211436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf.webp?v=1782211436","width":2000},{"alt":null,"id":27656149074019,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_077225db-8b9e-4185-ab77-45807d18bd43.webp?v=1782958394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_077225db-8b9e-4185-ab77-45807d18bd43.webp?v=1782958394","width":2000},{"alt":null,"id":27656149565539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_b75a1988-7ae6-4679-ad85-d876ba1290d6.webp?v=1782958395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_b75a1988-7ae6-4679-ad85-d876ba1290d6.webp?v=1782958395","width":2000},{"alt":null,"id":27656150745187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_d40b3e78-e37b-4b71-97bf-e3ce27387df8.webp?v=1782958396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_d40b3e78-e37b-4b71-97bf-e3ce27387df8.webp?v=1782958396","width":2000},{"alt":null,"id":27656850047075,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_62ba0cd5-e686-4185-baa3-2a7cb32a22d5.webp?v=1782961734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_62ba0cd5-e686-4185-baa3-2a7cb32a22d5.webp?v=1782961734","width":2000},{"alt":null,"id":27656850571363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_23b2dfb3-6055-4167-baa7-ace9d2b00b1f.webp?v=1782961741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_23b2dfb3-6055-4167-baa7-ace9d2b00b1f.webp?v=1782961741","width":2000},{"alt":null,"id":27656850702435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_46822d8c-df00-4a59-9b8b-63192a3136c7.webp?v=1782961741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_46822d8c-df00-4a59-9b8b-63192a3136c7.webp?v=1782961741","width":2000},{"alt":null,"id":27657343074403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140","width":2000},{"alt":null,"id":27657343434851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140","width":2000},{"alt":null,"id":27657343795299,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_2fb6b8e0-a04c-4b61-a47f-9035ef8584b4.webp?v=1782966141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90fa4bcf8231d2875bbeab90e072e5ef96ea8675_2fb6b8e0-a04c-4b61-a47f-9035ef8584b4.webp?v=1782966141","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43158622797923,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MJB013280H-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469586019,"product_id":7729253384291,"position":11,"created_at":"2026-07-02T12:22:17+08:00","updated_at":"2026-07-02T12:22:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140","variant_ids":[43158622797923]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657343074403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43158622863459,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013280G-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469946467,"product_id":7729253384291,"position":12,"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\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140","variant_ids":[43158622863459]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657343434851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e904dde757a8d8c9354e62d43d9957b6a35cf3cf_490820b1-b719-421f-90f0-23fb0466c1af.webp?v=1782966140"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43158622797923,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MJB013280H-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152469586019,"product_id":7729253384291,"position":11,"created_at":"2026-07-02T12:22:17+08:00","updated_at":"2026-07-02T12:22:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.webp?v=1782966140","variant_ids":[43158622797923]},"available":true,"name":"iPhone 16 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657343074403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d8c7fd49aa635307b7e8fe0df1e3531caa186d5_4c65f439-dd82-4c13-be8f-73e1f49b594a.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: "停產" }