$product = {"id":7931634352227,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 褪色的我們","handle":"iphone-14-plus-mod-nx-magsafe-bir06","description":null,"published_at":"2026-01-27T14:21:31+08:00","created_at":"2025-11-28T11:19:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 14 Plus","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":43861372469347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34863706472547,"product_id":7931634352227,"position":6,"created_at":"2025-11-28T11:19:38+08:00","updated_at":"2025-11-28T11:19:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980","variant_ids":[43861372469347]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-BIR06","featured_media":{"alt":null,"id":26428125610083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76ebf81d85aea9923d5b36c1eb03e45f0b2ad257.webp?v=1764299978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3eedce0b2ad0b5ec1f9f1ef236c5d7b56a7048.webp?v=1764299978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/680b3cf558fa2e27ce8dc3f915f851534dd72826.webp?v=1764299979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79af30a78ca725691bf2a69bda1b96353e881c9b.webp?v=1764299979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea30ef936cefd0cd47a143103344170de53b94e.webp?v=1764299980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e693efc2e9d9656d90ac9688dfcbb189b90fbe.webp?v=1764299981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e3d73f9950b108539b1b7aef9e751d088eb088.webp?v=1764299981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7865f8a5609cd96a6570692c9665219eff3e7e83.webp?v=1764299981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bfb3f607bd08aa4a98dfba3bd9b4e591dacbcb0.webp?v=1764299982","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4eb3b40efc799660dd2ea902817526c9cab3f3.webp?v=1764299982","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a4e1a6cae6a9a14efc3d8324f74a01626efb1e3.webp?v=1764299983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a217a3198dc5ba5e3e85c22e6ada04a5dab4026.webp?v=1764299983"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76ebf81d85aea9923d5b36c1eb03e45f0b2ad257.webp?v=1764299978","options":["color"],"media":[{"alt":null,"id":26428124921955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76ebf81d85aea9923d5b36c1eb03e45f0b2ad257.webp?v=1764299978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76ebf81d85aea9923d5b36c1eb03e45f0b2ad257.webp?v=1764299978","width":2000},{"alt":null,"id":26428125020259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3eedce0b2ad0b5ec1f9f1ef236c5d7b56a7048.webp?v=1764299978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3eedce0b2ad0b5ec1f9f1ef236c5d7b56a7048.webp?v=1764299978","width":2000},{"alt":null,"id":26428125151331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/680b3cf558fa2e27ce8dc3f915f851534dd72826.webp?v=1764299979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/680b3cf558fa2e27ce8dc3f915f851534dd72826.webp?v=1764299979","width":2000},{"alt":null,"id":26428125315171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79af30a78ca725691bf2a69bda1b96353e881c9b.webp?v=1764299979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79af30a78ca725691bf2a69bda1b96353e881c9b.webp?v=1764299979","width":2000},{"alt":null,"id":26428125511779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea30ef936cefd0cd47a143103344170de53b94e.webp?v=1764299980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea30ef936cefd0cd47a143103344170de53b94e.webp?v=1764299980","width":2000},{"alt":null,"id":26428125610083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980","width":2000},{"alt":null,"id":26428125741155,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e693efc2e9d9656d90ac9688dfcbb189b90fbe.webp?v=1764299981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e693efc2e9d9656d90ac9688dfcbb189b90fbe.webp?v=1764299981","width":2000},{"alt":null,"id":26428125937763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e3d73f9950b108539b1b7aef9e751d088eb088.webp?v=1764299981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e3d73f9950b108539b1b7aef9e751d088eb088.webp?v=1764299981","width":2000},{"alt":null,"id":26428126134371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7865f8a5609cd96a6570692c9665219eff3e7e83.webp?v=1764299981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7865f8a5609cd96a6570692c9665219eff3e7e83.webp?v=1764299981","width":2000},{"alt":null,"id":26428126330979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bfb3f607bd08aa4a98dfba3bd9b4e591dacbcb0.webp?v=1764299982"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bfb3f607bd08aa4a98dfba3bd9b4e591dacbcb0.webp?v=1764299982","width":2000},{"alt":null,"id":26428126494819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4eb3b40efc799660dd2ea902817526c9cab3f3.webp?v=1764299982"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4eb3b40efc799660dd2ea902817526c9cab3f3.webp?v=1764299982","width":2000},{"alt":null,"id":26428126724195,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a4e1a6cae6a9a14efc3d8324f74a01626efb1e3.webp?v=1764299983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a4e1a6cae6a9a14efc3d8324f74a01626efb1e3.webp?v=1764299983","width":2000},{"alt":null,"id":26428126920803,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a217a3198dc5ba5e3e85c22e6ada04a5dab4026.webp?v=1764299983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a217a3198dc5ba5e3e85c22e6ada04a5dab4026.webp?v=1764299983","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861372469347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34863706472547,"product_id":7931634352227,"position":6,"created_at":"2025-11-28T11:19:38+08:00","updated_at":"2025-11-28T11:19:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980","variant_ids":[43861372469347]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-BIR06","featured_media":{"alt":null,"id":26428125610083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861372469347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34863706472547,"product_id":7931634352227,"position":6,"created_at":"2025-11-28T11:19:38+08:00","updated_at":"2025-11-28T11:19:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980","variant_ids":[43861372469347]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-BIR06","featured_media":{"alt":null,"id":26428125610083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/085d70f167bccd95ba0f5f526a30b71d74297081.webp?v=1764299980"}},"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: "停產" }