$product = {"id":7610443366499,"title":"iPhone 16 Pro Max Clear NBA Logo-波士頓塞爾提克 Boston Celtics","handle":"iphone-16-pro-max-jellytint-pm19","description":null,"published_at":"2024-09-10T11:33:48+08:00","created_at":"2024-08-19T10:49:29+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":128000,"price_min":128000,"price_max":128000,"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":42670900379747,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470962275,"product_id":7610443366499,"position":13,"created_at":"2026-07-02T12:22:20+08:00","updated_at":"2026-07-02T12:22:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142","variant_ids":[42670900379747]},"available":true,"name":"iPhone 16 Pro Max Clear NBA Logo-波士頓塞爾提克 Boston Celtics - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280H-PM19","featured_media":{"alt":null,"id":27657344450659,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670900445283,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470470755,"product_id":7610443366499,"position":11,"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\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.webp?v=1782966141","variant_ids":[42670900445283]},"available":true,"name":"iPhone 16 Pro Max Clear NBA Logo-波士頓塞爾提克 Boston Celtics - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280J-PM19","featured_media":{"alt":null,"id":27657343959139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.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_f58122d4-8ef9-40c6-b40a-3792e86ec9ed.png?v=1724035772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca.webp?v=1782211471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a.webp?v=1782211472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77.webp?v=1782211472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_dc10a536-7826-478a-9a67-224bd44faeb5.webp?v=1782958395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_493a0a73-d56c-416e-90fa-53caf4f954bb.webp?v=1782958396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_70d69dca-d398-46a7-b4be-2aa304bcb1a1.webp?v=1782958397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_5d49b665-c3ca-4374-bc16-94137abb11fd.webp?v=1782961726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_dcf91923-e18e-4cf1-88c8-b08a5aa3b2c8.webp?v=1782961733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_3e618cc6-e900-4964-a7a1-56bedb6a858c.webp?v=1782961734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.webp?v=1782966141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_3fc4192d-51ef-4614-8a46-0dd22647a0be.webp?v=1782966142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_f58122d4-8ef9-40c6-b40a-3792e86ec9ed.png?v=1724035772","options":["color"],"media":[{"alt":null,"id":24549254135907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_f58122d4-8ef9-40c6-b40a-3792e86ec9ed.png?v=1724035772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-328-PM19_f58122d4-8ef9-40c6-b40a-3792e86ec9ed.png?v=1724035772","width":2000},{"alt":null,"id":27577610338403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca.webp?v=1782211471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca.webp?v=1782211471","width":2000},{"alt":null,"id":27577611092067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a.webp?v=1782211472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a.webp?v=1782211472","width":2000},{"alt":null,"id":27577611550819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77.webp?v=1782211472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77.webp?v=1782211472","width":2000},{"alt":null,"id":27656149663843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_dc10a536-7826-478a-9a67-224bd44faeb5.webp?v=1782958395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_dc10a536-7826-478a-9a67-224bd44faeb5.webp?v=1782958395","width":2000},{"alt":null,"id":27656150548579,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_493a0a73-d56c-416e-90fa-53caf4f954bb.webp?v=1782958396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_493a0a73-d56c-416e-90fa-53caf4f954bb.webp?v=1782958396","width":2000},{"alt":null,"id":27656151072867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_70d69dca-d398-46a7-b4be-2aa304bcb1a1.webp?v=1782958397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_70d69dca-d398-46a7-b4be-2aa304bcb1a1.webp?v=1782958397","width":2000},{"alt":null,"id":27656848769123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_5d49b665-c3ca-4374-bc16-94137abb11fd.webp?v=1782961726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_5d49b665-c3ca-4374-bc16-94137abb11fd.webp?v=1782961726","width":2000},{"alt":null,"id":27656849850467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_dcf91923-e18e-4cf1-88c8-b08a5aa3b2c8.webp?v=1782961733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_dcf91923-e18e-4cf1-88c8-b08a5aa3b2c8.webp?v=1782961733","width":2000},{"alt":null,"id":27656850145379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_3e618cc6-e900-4964-a7a1-56bedb6a858c.webp?v=1782961734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_3e618cc6-e900-4964-a7a1-56bedb6a858c.webp?v=1782961734","width":2000},{"alt":null,"id":27657343959139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.webp?v=1782966141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.webp?v=1782966141","width":2000},{"alt":null,"id":27657344221283,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_3fc4192d-51ef-4614-8a46-0dd22647a0be.webp?v=1782966142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4339c28dde4cd1fd81473f1aa5f804451d69202a_3fc4192d-51ef-4614-8a46-0dd22647a0be.webp?v=1782966142","width":2000},{"alt":null,"id":27657344450659,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42670900379747,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470962275,"product_id":7610443366499,"position":13,"created_at":"2026-07-02T12:22:20+08:00","updated_at":"2026-07-02T12:22:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142","variant_ids":[42670900379747]},"available":true,"name":"iPhone 16 Pro Max Clear NBA Logo-波士頓塞爾提克 Boston Celtics - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280H-PM19","featured_media":{"alt":null,"id":27657344450659,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42670900445283,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470470755,"product_id":7610443366499,"position":11,"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\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.webp?v=1782966141","variant_ids":[42670900445283]},"available":true,"name":"iPhone 16 Pro Max Clear NBA Logo-波士頓塞爾提克 Boston Celtics - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280J-PM19","featured_media":{"alt":null,"id":27657343959139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658f6a797d1861efaea9f1396f904e8098544dca_e8284a4e-da68-48eb-81f7-47cd2cc4aa77.webp?v=1782966141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42670900379747,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152470962275,"product_id":7610443366499,"position":13,"created_at":"2026-07-02T12:22:20+08:00","updated_at":"2026-07-02T12:22:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142","variant_ids":[42670900379747]},"available":true,"name":"iPhone 16 Pro Max Clear NBA Logo-波士頓塞爾提克 Boston Celtics - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280H-PM19","featured_media":{"alt":null,"id":27657344450659,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f45c3c845f17aa24d59c2680a0e97d89ed9a2f77_44249d74-337c-4ef7-b7c9-d2e2ead79f82.webp?v=1782966142"}},"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: "停產" }