$product = {"id":7931675115619,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 海獺與海膽","handle":"iphone-14-plus-mod-nx-magsafe-bir05","description":null,"published_at":"2026-01-27T14:13:15+08:00","created_at":"2025-11-28T11:37:43+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":43861520547939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR05","requires_shipping":true,"taxable":true,"featured_image":{"id":36348180922467,"product_id":7931675115619,"position":14,"created_at":"2026-07-22T18:33:34+08:00","updated_at":"2026-07-22T18:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416","variant_ids":[43861520547939]},"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-BIR05","featured_media":{"alt":null,"id":27852036604003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26776343e2a57ba6948fa0c554beedeccae5bd53.webp?v=1764301069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a29463be670db0c07f8120250fd1e33754b025f2.webp?v=1764301070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8efe10b621c03e6e1b32d90b64f5e3f77b7aab.webp?v=1764301070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c62195add086ad45617421bd96f84c8657f240.webp?v=1764301071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55.webp?v=1764301071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599710b50c0581978f7ff9e89950e9f5994e6f02.webp?v=1764301072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85eb3abcbc0f6dd37eebca21055d20004b6ce13e.webp?v=1764301072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42025ddcf47da7a0ed0a344dd0f44861d4e8f73.webp?v=1764301073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320b05d73350421d1e8605c86ddcc708a3dee018.webp?v=1764301073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbcc50b11044ed64715db35af7ce533f7ff9ab98.webp?v=1764301074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51513640f4694ea542b04b1577c60bb0e24ed76d.webp?v=1764301074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8b84315efd1028a87fda57cf027a3cafb1bcd2.webp?v=1764301075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e459493334271db7ce2e6c4fb61ee3dc5c15ff.webp?v=1764301075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26776343e2a57ba6948fa0c554beedeccae5bd53.webp?v=1764301069","options":["color"],"media":[{"alt":null,"id":26428291645539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26776343e2a57ba6948fa0c554beedeccae5bd53.webp?v=1764301069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26776343e2a57ba6948fa0c554beedeccae5bd53.webp?v=1764301069","width":2000},{"alt":null,"id":26428291809379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a29463be670db0c07f8120250fd1e33754b025f2.webp?v=1764301070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a29463be670db0c07f8120250fd1e33754b025f2.webp?v=1764301070","width":2000},{"alt":null,"id":26428292169827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8efe10b621c03e6e1b32d90b64f5e3f77b7aab.webp?v=1764301070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8efe10b621c03e6e1b32d90b64f5e3f77b7aab.webp?v=1764301070","width":2000},{"alt":null,"id":26428292431971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c62195add086ad45617421bd96f84c8657f240.webp?v=1764301071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3c62195add086ad45617421bd96f84c8657f240.webp?v=1764301071","width":2000},{"alt":null,"id":26428292726883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55.webp?v=1764301071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55.webp?v=1764301071","width":2000},{"alt":null,"id":26428292956259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599710b50c0581978f7ff9e89950e9f5994e6f02.webp?v=1764301072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599710b50c0581978f7ff9e89950e9f5994e6f02.webp?v=1764301072","width":2000},{"alt":null,"id":26428293152867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85eb3abcbc0f6dd37eebca21055d20004b6ce13e.webp?v=1764301072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85eb3abcbc0f6dd37eebca21055d20004b6ce13e.webp?v=1764301072","width":2000},{"alt":null,"id":26428293382243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42025ddcf47da7a0ed0a344dd0f44861d4e8f73.webp?v=1764301073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42025ddcf47da7a0ed0a344dd0f44861d4e8f73.webp?v=1764301073","width":2000},{"alt":null,"id":26428293513315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320b05d73350421d1e8605c86ddcc708a3dee018.webp?v=1764301073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320b05d73350421d1e8605c86ddcc708a3dee018.webp?v=1764301073","width":2000},{"alt":null,"id":26428293644387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbcc50b11044ed64715db35af7ce533f7ff9ab98.webp?v=1764301074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbcc50b11044ed64715db35af7ce533f7ff9ab98.webp?v=1764301074","width":2000},{"alt":null,"id":26428293742691,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51513640f4694ea542b04b1577c60bb0e24ed76d.webp?v=1764301074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51513640f4694ea542b04b1577c60bb0e24ed76d.webp?v=1764301074","width":2000},{"alt":null,"id":26428293808227,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8b84315efd1028a87fda57cf027a3cafb1bcd2.webp?v=1764301075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8b84315efd1028a87fda57cf027a3cafb1bcd2.webp?v=1764301075","width":2000},{"alt":null,"id":26428294070371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e459493334271db7ce2e6c4fb61ee3dc5c15ff.webp?v=1764301075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e459493334271db7ce2e6c4fb61ee3dc5c15ff.webp?v=1764301075","width":2000},{"alt":null,"id":27852036604003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861520547939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR05","requires_shipping":true,"taxable":true,"featured_image":{"id":36348180922467,"product_id":7931675115619,"position":14,"created_at":"2026-07-22T18:33:34+08:00","updated_at":"2026-07-22T18:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416","variant_ids":[43861520547939]},"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-BIR05","featured_media":{"alt":null,"id":27852036604003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861520547939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR05","requires_shipping":true,"taxable":true,"featured_image":{"id":36348180922467,"product_id":7931675115619,"position":14,"created_at":"2026-07-22T18:33:34+08:00","updated_at":"2026-07-22T18:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416","variant_ids":[43861520547939]},"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-BIR05","featured_media":{"alt":null,"id":27852036604003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8568b470d26dd4ef96780e4fe7ffaaec4987fd55_9da3fa7e-fc2c-45f6-9c74-dc0a881ce9ff.webp?v=1784716416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(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: "停產" }