$product = {"id":7951274377315,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 田中 Shen Dream","handle":"iphone-13-pro-max-mod-nx-magsafe-tan06","description":null,"published_at":"2026-01-13T10:21:22+08:00","created_at":"2026-01-12T17:07:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tanakashen","device-iPhone 13 Pro Max","merge","reseller-tanakashen"],"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":43946192830563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-TAN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35093911175267,"product_id":7951274377315,"position":6,"created_at":"2026-01-12T17:07:37+08:00","updated_at":"2026-01-12T17:07:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859","variant_ids":[43946192830563]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 田中 Shen Dream - 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-TAN06","featured_media":{"alt":null,"id":26650566983779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946192928867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-TAN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35093911470179,"product_id":7951274377315,"position":8,"created_at":"2026-01-12T17:07:38+08:00","updated_at":"2026-01-12T17:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860","variant_ids":[43946192928867]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 田中 Shen Dream - 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-TAN06","featured_media":{"alt":null,"id":26650567278691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646328e1eae0ea0ddd45b3c9d02788ba4199d9d5.webp?v=1768208856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d86faee7ed57d90f02ff5ba68e5b638cb0ef84b2.webp?v=1768208857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d905bdcc9fff9488cb01f7fea05c586fc3c34df5.webp?v=1768208857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204b37e9f7b85a266d94d10c1bd1d96c99f4eca.webp?v=1768208858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0f1e957f5a4cd0db6ffa7ab0ba7f9aafde9fc0.webp?v=1768208858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8c35e2ff3080a316cb9bb5ac3d25ffe3d42a51.webp?v=1768208859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12256e3fb77996c1a13d1030220e5129e719c19.webp?v=1768208860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bea21b7e6c2d2f573af1fc78633e4c203d9cf36.webp?v=1768208861"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646328e1eae0ea0ddd45b3c9d02788ba4199d9d5.webp?v=1768208856","options":["color"],"media":[{"alt":null,"id":26650566099043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646328e1eae0ea0ddd45b3c9d02788ba4199d9d5.webp?v=1768208856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646328e1eae0ea0ddd45b3c9d02788ba4199d9d5.webp?v=1768208856","width":2000},{"alt":null,"id":26650566361187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d86faee7ed57d90f02ff5ba68e5b638cb0ef84b2.webp?v=1768208857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d86faee7ed57d90f02ff5ba68e5b638cb0ef84b2.webp?v=1768208857","width":2000},{"alt":null,"id":26650566459491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d905bdcc9fff9488cb01f7fea05c586fc3c34df5.webp?v=1768208857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d905bdcc9fff9488cb01f7fea05c586fc3c34df5.webp?v=1768208857","width":2000},{"alt":null,"id":26650566590563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204b37e9f7b85a266d94d10c1bd1d96c99f4eca.webp?v=1768208858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204b37e9f7b85a266d94d10c1bd1d96c99f4eca.webp?v=1768208858","width":2000},{"alt":null,"id":26650566787171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0f1e957f5a4cd0db6ffa7ab0ba7f9aafde9fc0.webp?v=1768208858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0f1e957f5a4cd0db6ffa7ab0ba7f9aafde9fc0.webp?v=1768208858","width":2000},{"alt":null,"id":26650566983779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859","width":2000},{"alt":null,"id":26650567114851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8c35e2ff3080a316cb9bb5ac3d25ffe3d42a51.webp?v=1768208859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8c35e2ff3080a316cb9bb5ac3d25ffe3d42a51.webp?v=1768208859","width":2000},{"alt":null,"id":26650567278691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860","width":2000},{"alt":null,"id":26650567442531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12256e3fb77996c1a13d1030220e5129e719c19.webp?v=1768208860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12256e3fb77996c1a13d1030220e5129e719c19.webp?v=1768208860","width":2000},{"alt":null,"id":26650567671907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bea21b7e6c2d2f573af1fc78633e4c203d9cf36.webp?v=1768208861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bea21b7e6c2d2f573af1fc78633e4c203d9cf36.webp?v=1768208861","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43946192830563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-TAN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35093911175267,"product_id":7951274377315,"position":6,"created_at":"2026-01-12T17:07:37+08:00","updated_at":"2026-01-12T17:07:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859","variant_ids":[43946192830563]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 田中 Shen Dream - 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-TAN06","featured_media":{"alt":null,"id":26650566983779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946192928867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-TAN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35093911470179,"product_id":7951274377315,"position":8,"created_at":"2026-01-12T17:07:38+08:00","updated_at":"2026-01-12T17:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860","variant_ids":[43946192928867]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 田中 Shen Dream - 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-TAN06","featured_media":{"alt":null,"id":26650567278691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9ca60fd29964e62edbf17502b0275009c555b3.webp?v=1768208860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43946192830563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-TAN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35093911175267,"product_id":7951274377315,"position":6,"created_at":"2026-01-12T17:07:37+08:00","updated_at":"2026-01-12T17:07:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859","variant_ids":[43946192830563]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 田中 Shen Dream - 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-TAN06","featured_media":{"alt":null,"id":26650566983779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11af53f518c030f0fe117a59f574564cb2557a07.webp?v=1768208859"}},"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: "停產" }