$product = {"id":7931236352099,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 眾裏尋他 (彩色)","handle":"iphone-12-pro-max-mod-nx-magsafe-ei78","description":null,"published_at":"2025-11-28T11:09:54+08:00","created_at":"2025-11-28T09:37:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 12 Pro Max","merge","reseller-darylhochi"],"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":43860694073443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861480312931,"product_id":7931236352099,"position":11,"created_at":"2025-11-28T10:07:14+08:00","updated_at":"2025-11-28T10:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636","variant_ids":[43860694073443]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 眾裏尋他 (彩色) - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-EI78","featured_media":{"alt":null,"id":26425899843683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9.webp?v=1764293860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de88eb1af17e5e7dc3f166f79e2bba40b11b181.webp?v=1764293860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0cfab8f50bea38e670c295ef4b804f85dae5ee1.webp?v=1764293861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f718e1dc00216c1a5c36727f22c291c62c036cfd.webp?v=1764293861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1a96ce7ac3cfbb426e2d195f8f8400168d9d05b.webp?v=1764293862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879.webp?v=1764293862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6836fe681d386e1220a313125e03152a1ea750f2.webp?v=1764293862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff333cee4c5502300fdefa6e99a4db88fcb95fff.webp?v=1764293863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee44ca93dbf93f7f1c6e5281d622c3b04227c98.webp?v=1764293863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f718e1dc00216c1a5c36727f22c291c62c036cfd_fefb73db-3ad9-493f-ba6b-e2728c2fbee9.webp?v=1764295634","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1a96ce7ac3cfbb426e2d195f8f8400168d9d05b_f60562b1-6300-4cec-a05d-680c8c0b4012.webp?v=1764295636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0cfab8f50bea38e670c295ef4b804f85dae5ee1_02996bee-09c2-4204-91ea-4b8183606829.webp?v=1764295637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de88eb1af17e5e7dc3f166f79e2bba40b11b181_eb47199a-47b4-4f38-af8e-c69e791a784a.webp?v=1764295637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee44ca93dbf93f7f1c6e5281d622c3b04227c98_7cd845c1-a9bb-4b7b-9c8f-033ca2fe69fc.webp?v=1764295641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6836fe681d386e1220a313125e03152a1ea750f2_234ebc47-ecc1-428e-8d7a-0a7b3789c598.webp?v=1764295642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff333cee4c5502300fdefa6e99a4db88fcb95fff_91c8b6d9-b9cc-4c4b-9110-c5d7b553f266.webp?v=1764295643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9_d68bbed7-bdc4-46a4-97e0-23e57c5c136b.webp?v=1764295644"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9.webp?v=1764293860","options":["color"],"media":[{"alt":null,"id":26425651134563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9.webp?v=1764293860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9.webp?v=1764293860","width":2000},{"alt":null,"id":26425651232867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de88eb1af17e5e7dc3f166f79e2bba40b11b181.webp?v=1764293860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de88eb1af17e5e7dc3f166f79e2bba40b11b181.webp?v=1764293860","width":2000},{"alt":null,"id":26425651331171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0cfab8f50bea38e670c295ef4b804f85dae5ee1.webp?v=1764293861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0cfab8f50bea38e670c295ef4b804f85dae5ee1.webp?v=1764293861","width":2000},{"alt":null,"id":26425651495011,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f718e1dc00216c1a5c36727f22c291c62c036cfd.webp?v=1764293861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f718e1dc00216c1a5c36727f22c291c62c036cfd.webp?v=1764293861","width":2000},{"alt":null,"id":26425651724387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1a96ce7ac3cfbb426e2d195f8f8400168d9d05b.webp?v=1764293862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1a96ce7ac3cfbb426e2d195f8f8400168d9d05b.webp?v=1764293862","width":2000},{"alt":null,"id":26425651888227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879.webp?v=1764293862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879.webp?v=1764293862","width":2000},{"alt":null,"id":26425652150371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6836fe681d386e1220a313125e03152a1ea750f2.webp?v=1764293862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6836fe681d386e1220a313125e03152a1ea750f2.webp?v=1764293862","width":2000},{"alt":null,"id":26425652379747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff333cee4c5502300fdefa6e99a4db88fcb95fff.webp?v=1764293863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff333cee4c5502300fdefa6e99a4db88fcb95fff.webp?v=1764293863","width":2000},{"alt":null,"id":26425652609123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee44ca93dbf93f7f1c6e5281d622c3b04227c98.webp?v=1764293863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee44ca93dbf93f7f1c6e5281d622c3b04227c98.webp?v=1764293863","width":2000},{"alt":null,"id":26425899352163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f718e1dc00216c1a5c36727f22c291c62c036cfd_fefb73db-3ad9-493f-ba6b-e2728c2fbee9.webp?v=1764295634"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f718e1dc00216c1a5c36727f22c291c62c036cfd_fefb73db-3ad9-493f-ba6b-e2728c2fbee9.webp?v=1764295634","width":2000},{"alt":null,"id":26425899843683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636","width":2000},{"alt":null,"id":26425900007523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1a96ce7ac3cfbb426e2d195f8f8400168d9d05b_f60562b1-6300-4cec-a05d-680c8c0b4012.webp?v=1764295636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1a96ce7ac3cfbb426e2d195f8f8400168d9d05b_f60562b1-6300-4cec-a05d-680c8c0b4012.webp?v=1764295636","width":2000},{"alt":null,"id":26425900073059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0cfab8f50bea38e670c295ef4b804f85dae5ee1_02996bee-09c2-4204-91ea-4b8183606829.webp?v=1764295637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0cfab8f50bea38e670c295ef4b804f85dae5ee1_02996bee-09c2-4204-91ea-4b8183606829.webp?v=1764295637","width":2000},{"alt":null,"id":26425900236899,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de88eb1af17e5e7dc3f166f79e2bba40b11b181_eb47199a-47b4-4f38-af8e-c69e791a784a.webp?v=1764295637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de88eb1af17e5e7dc3f166f79e2bba40b11b181_eb47199a-47b4-4f38-af8e-c69e791a784a.webp?v=1764295637","width":2000},{"alt":null,"id":26425901351011,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee44ca93dbf93f7f1c6e5281d622c3b04227c98_7cd845c1-a9bb-4b7b-9c8f-033ca2fe69fc.webp?v=1764295641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee44ca93dbf93f7f1c6e5281d622c3b04227c98_7cd845c1-a9bb-4b7b-9c8f-033ca2fe69fc.webp?v=1764295641","width":2000},{"alt":null,"id":26425901842531,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6836fe681d386e1220a313125e03152a1ea750f2_234ebc47-ecc1-428e-8d7a-0a7b3789c598.webp?v=1764295642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6836fe681d386e1220a313125e03152a1ea750f2_234ebc47-ecc1-428e-8d7a-0a7b3789c598.webp?v=1764295642","width":2000},{"alt":null,"id":26425901973603,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff333cee4c5502300fdefa6e99a4db88fcb95fff_91c8b6d9-b9cc-4c4b-9110-c5d7b553f266.webp?v=1764295643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff333cee4c5502300fdefa6e99a4db88fcb95fff_91c8b6d9-b9cc-4c4b-9110-c5d7b553f266.webp?v=1764295643","width":2000},{"alt":null,"id":26425902792803,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9_d68bbed7-bdc4-46a4-97e0-23e57c5c136b.webp?v=1764295644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9308f29b57493d8657111141afdc3589c87f69e9_d68bbed7-bdc4-46a4-97e0-23e57c5c136b.webp?v=1764295644","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43860694073443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861480312931,"product_id":7931236352099,"position":11,"created_at":"2025-11-28T10:07:14+08:00","updated_at":"2025-11-28T10:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636","variant_ids":[43860694073443]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 眾裏尋他 (彩色) - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-EI78","featured_media":{"alt":null,"id":26425899843683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43860694073443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861480312931,"product_id":7931236352099,"position":11,"created_at":"2025-11-28T10:07:14+08:00","updated_at":"2025-11-28T10:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636","variant_ids":[43860694073443]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 眾裏尋他 (彩色) - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-EI78","featured_media":{"alt":null,"id":26425899843683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41924953832e6bfd46f5433c90fc46b37542879_8e235669-d6fe-440d-8ff4-4d8cd9be0107.webp?v=1764295636"}},"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: "停產" }