$product = {"id":7931637792867,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡","handle":"iphone-12-pro-max-mod-nx-magsafe-bir03","description":null,"published_at":"2026-01-27T14:20:52+08:00","created_at":"2025-11-28T11:21:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 12 Pro Max","merge","reseller-everydayishappybirthday"],"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":43861386100835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863722889315,"product_id":7931637792867,"position":9,"created_at":"2025-11-28T11:21:29+08:00","updated_at":"2025-11-28T11:21:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091","variant_ids":[43861386100835]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - 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-BIR03","featured_media":{"alt":null,"id":26428141928547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1aea2dba4d3443db4edf78071234889635d9d1.webp?v=1764300087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a0b1bcbcd1148879c68b6e68b3f1f526f5010d9.webp?v=1764300087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d5f484250539361d1c02d6087c41e9f430f9f97.webp?v=1764300088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb5ebe8ae77e4bf4c871da900e8d4a46859eb94.webp?v=1764300088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/011c58f29c078c44f85e76d3481ccf20da89325f.webp?v=1764300089","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88836ea7dc5cf2902e7f3741c28ab4f37e82c257.webp?v=1764300090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6465252871e6a41e438a9a68d748f6b717a5b6df.webp?v=1764300090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00173d7ea0b10074dee186b4ee75877007ba6589.webp?v=1764300090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1aea2dba4d3443db4edf78071234889635d9d1.webp?v=1764300087","options":["color"],"media":[{"alt":null,"id":26428140519523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1aea2dba4d3443db4edf78071234889635d9d1.webp?v=1764300087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1aea2dba4d3443db4edf78071234889635d9d1.webp?v=1764300087","width":2000},{"alt":null,"id":26428140650595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a0b1bcbcd1148879c68b6e68b3f1f526f5010d9.webp?v=1764300087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a0b1bcbcd1148879c68b6e68b3f1f526f5010d9.webp?v=1764300087","width":2000},{"alt":null,"id":26428140847203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d5f484250539361d1c02d6087c41e9f430f9f97.webp?v=1764300088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d5f484250539361d1c02d6087c41e9f430f9f97.webp?v=1764300088","width":2000},{"alt":null,"id":26428141076579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb5ebe8ae77e4bf4c871da900e8d4a46859eb94.webp?v=1764300088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb5ebe8ae77e4bf4c871da900e8d4a46859eb94.webp?v=1764300088","width":2000},{"alt":null,"id":26428141371491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/011c58f29c078c44f85e76d3481ccf20da89325f.webp?v=1764300089"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/011c58f29c078c44f85e76d3481ccf20da89325f.webp?v=1764300089","width":2000},{"alt":null,"id":26428141535331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88836ea7dc5cf2902e7f3741c28ab4f37e82c257.webp?v=1764300090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88836ea7dc5cf2902e7f3741c28ab4f37e82c257.webp?v=1764300090","width":2000},{"alt":null,"id":26428141666403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6465252871e6a41e438a9a68d748f6b717a5b6df.webp?v=1764300090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6465252871e6a41e438a9a68d748f6b717a5b6df.webp?v=1764300090","width":2000},{"alt":null,"id":26428141830243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00173d7ea0b10074dee186b4ee75877007ba6589.webp?v=1764300090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00173d7ea0b10074dee186b4ee75877007ba6589.webp?v=1764300090","width":2000},{"alt":null,"id":26428141928547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861386100835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863722889315,"product_id":7931637792867,"position":9,"created_at":"2025-11-28T11:21:29+08:00","updated_at":"2025-11-28T11:21:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091","variant_ids":[43861386100835]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - 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-BIR03","featured_media":{"alt":null,"id":26428141928547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861386100835,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863722889315,"product_id":7931637792867,"position":9,"created_at":"2025-11-28T11:21:29+08:00","updated_at":"2025-11-28T11:21:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091","variant_ids":[43861386100835]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - 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-BIR03","featured_media":{"alt":null,"id":26428141928547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803bf3567a7139a493d8934ded0eed87eb1a4bba.webp?v=1764300091"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }