$product = {"id":7956964671587,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿","handle":"iphone-13-pro-max-mod-nx-magsafe-om20","description":null,"published_at":"2026-01-28T15:38:15+08:00","created_at":"2026-01-28T15:30:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-one-piece","device-iPhone 13 Pro Max","merge","reseller-one-piece"],"price":110000,"price_min":110000,"price_max":110000,"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":43972297392227,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156743127139,"product_id":7956964671587,"position":4,"created_at":"2026-01-28T15:31:13+08:00","updated_at":"2026-01-28T15:31:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475","variant_ids":[43972297392227]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-OM20","featured_media":{"alt":null,"id":26712879333475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43972299653219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156742570083,"product_id":7956964671587,"position":2,"created_at":"2026-01-28T15:31:12+08:00","updated_at":"2026-01-28T15:31:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474","variant_ids":[43972299653219]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-OM20","featured_media":{"alt":null,"id":26712878776419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774c4c640f216df6693cee1635acbc6c4c3a3d66.webp?v=1769585474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa202766e1a7d639f2de3a079873e802a5fd458.webp?v=1769585475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb41e92cc771277adceb3f24ec432cae6de861fd.webp?v=1769585475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dbdf00e195de446f12db56c4d84fb997aa31464.webp?v=1769585476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e31edd165895f9559de65f70ff6abd295b9f40b6.webp?v=1769585476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ecc835d7ce2579da03e1c74cb244f3a06c1063.webp?v=1769585477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f052f6258b655a94cc51bda329dc1572b7dfdcf.webp?v=1769585477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5fe8b1e3146bccef3bb00e9a3969963b62aadd.webp?v=1769585478"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774c4c640f216df6693cee1635acbc6c4c3a3d66.webp?v=1769585474","options":["color"],"media":[{"alt":null,"id":26712878547043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774c4c640f216df6693cee1635acbc6c4c3a3d66.webp?v=1769585474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774c4c640f216df6693cee1635acbc6c4c3a3d66.webp?v=1769585474","width":2000},{"alt":null,"id":26712878776419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474","width":2000},{"alt":null,"id":26712878973027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa202766e1a7d639f2de3a079873e802a5fd458.webp?v=1769585475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa202766e1a7d639f2de3a079873e802a5fd458.webp?v=1769585475","width":2000},{"alt":null,"id":26712879333475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475","width":2000},{"alt":null,"id":26712879661155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb41e92cc771277adceb3f24ec432cae6de861fd.webp?v=1769585475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb41e92cc771277adceb3f24ec432cae6de861fd.webp?v=1769585475","width":2000},{"alt":null,"id":26712880021603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dbdf00e195de446f12db56c4d84fb997aa31464.webp?v=1769585476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dbdf00e195de446f12db56c4d84fb997aa31464.webp?v=1769585476","width":2000},{"alt":null,"id":26712880382051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e31edd165895f9559de65f70ff6abd295b9f40b6.webp?v=1769585476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e31edd165895f9559de65f70ff6abd295b9f40b6.webp?v=1769585476","width":2000},{"alt":null,"id":26712880611427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ecc835d7ce2579da03e1c74cb244f3a06c1063.webp?v=1769585477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ecc835d7ce2579da03e1c74cb244f3a06c1063.webp?v=1769585477","width":2000},{"alt":null,"id":26712880906339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f052f6258b655a94cc51bda329dc1572b7dfdcf.webp?v=1769585477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f052f6258b655a94cc51bda329dc1572b7dfdcf.webp?v=1769585477","width":2000},{"alt":null,"id":26712881201251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5fe8b1e3146bccef3bb00e9a3969963b62aadd.webp?v=1769585478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5fe8b1e3146bccef3bb00e9a3969963b62aadd.webp?v=1769585478","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43972297392227,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156743127139,"product_id":7956964671587,"position":4,"created_at":"2026-01-28T15:31:13+08:00","updated_at":"2026-01-28T15:31:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475","variant_ids":[43972297392227]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-OM20","featured_media":{"alt":null,"id":26712879333475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43972299653219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156742570083,"product_id":7956964671587,"position":2,"created_at":"2026-01-28T15:31:12+08:00","updated_at":"2026-01-28T15:31:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474","variant_ids":[43972299653219]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-OM20","featured_media":{"alt":null,"id":26712878776419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40de90d47436e54b40e0bb9bf0d12dbd58f2fee.webp?v=1769585474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43972297392227,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156743127139,"product_id":7956964671587,"position":4,"created_at":"2026-01-28T15:31:13+08:00","updated_at":"2026-01-28T15:31:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475","variant_ids":[43972297392227]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-OM20","featured_media":{"alt":null,"id":26712879333475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba993890f07443e282a7cd3c202afa00b87e39d3.webp?v=1769585475"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }