$product = {"id":7931644510307,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 海洋實驗室","handle":"iphone-14-plus-mod-nx-magsafe-bir08","description":null,"published_at":"2026-01-27T14:19:30+08:00","created_at":"2025-11-28T11:23:48+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":43861410349155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34863747727459,"product_id":7931644510307,"position":4,"created_at":"2025-11-28T11:23:53+08:00","updated_at":"2025-11-28T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235","variant_ids":[43861410349155]},"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-BIR08","featured_media":{"alt":null,"id":26428166701155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1ec04c354352279d464cad03dc3d51d375c01e.webp?v=1764300234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7cd2f46d2390e575f071d60868fc878f7d1be85.webp?v=1764300234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32bf5cb90ad2e4f7f5b497cd8328ab1100f84a01.webp?v=1764300235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2b02e32142f91465562b16fc68f6a4540362ab.webp?v=1764300235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e734bcb2ee1c5999fa664daba441d473465bb4f.webp?v=1764300236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcf7f6b201fd1995ad9caabefe28b20516f2e3e0.webp?v=1764300236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658a6ddcdf0ec568e611ddb5584c1f52146dce96.webp?v=1764300237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6a023c11ddde3b4bfee5ef0614f4eb393162d2.webp?v=1764300237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed776127c23045d840dc0386a28460fe84cf92ab.webp?v=1764300238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac1a057fab222e13cf82961b6f19b63922d0817c.webp?v=1764300238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a32a3b567ce2e56bce9063a0cee8af95d03e9c5.webp?v=1764300239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619cf5ab30013c5f72a429f840d6b92b1aa9b11e.webp?v=1764300239"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1ec04c354352279d464cad03dc3d51d375c01e.webp?v=1764300234","options":["color"],"media":[{"alt":null,"id":26428166340707,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1ec04c354352279d464cad03dc3d51d375c01e.webp?v=1764300234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d1ec04c354352279d464cad03dc3d51d375c01e.webp?v=1764300234","width":2000},{"alt":null,"id":26428166406243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7cd2f46d2390e575f071d60868fc878f7d1be85.webp?v=1764300234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7cd2f46d2390e575f071d60868fc878f7d1be85.webp?v=1764300234","width":2000},{"alt":null,"id":26428166570083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32bf5cb90ad2e4f7f5b497cd8328ab1100f84a01.webp?v=1764300235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32bf5cb90ad2e4f7f5b497cd8328ab1100f84a01.webp?v=1764300235","width":2000},{"alt":null,"id":26428166701155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235","width":2000},{"alt":null,"id":26428166963299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2b02e32142f91465562b16fc68f6a4540362ab.webp?v=1764300235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2b02e32142f91465562b16fc68f6a4540362ab.webp?v=1764300235","width":2000},{"alt":null,"id":26428167258211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e734bcb2ee1c5999fa664daba441d473465bb4f.webp?v=1764300236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e734bcb2ee1c5999fa664daba441d473465bb4f.webp?v=1764300236","width":2000},{"alt":null,"id":26428167618659,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcf7f6b201fd1995ad9caabefe28b20516f2e3e0.webp?v=1764300236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcf7f6b201fd1995ad9caabefe28b20516f2e3e0.webp?v=1764300236","width":2000},{"alt":null,"id":26428167848035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658a6ddcdf0ec568e611ddb5584c1f52146dce96.webp?v=1764300237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658a6ddcdf0ec568e611ddb5584c1f52146dce96.webp?v=1764300237","width":2000},{"alt":null,"id":26428168011875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6a023c11ddde3b4bfee5ef0614f4eb393162d2.webp?v=1764300237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6a023c11ddde3b4bfee5ef0614f4eb393162d2.webp?v=1764300237","width":2000},{"alt":null,"id":26428168208483,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed776127c23045d840dc0386a28460fe84cf92ab.webp?v=1764300238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed776127c23045d840dc0386a28460fe84cf92ab.webp?v=1764300238","width":2000},{"alt":null,"id":26428168405091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac1a057fab222e13cf82961b6f19b63922d0817c.webp?v=1764300238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac1a057fab222e13cf82961b6f19b63922d0817c.webp?v=1764300238","width":2000},{"alt":null,"id":26428168536163,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a32a3b567ce2e56bce9063a0cee8af95d03e9c5.webp?v=1764300239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a32a3b567ce2e56bce9063a0cee8af95d03e9c5.webp?v=1764300239","width":2000},{"alt":null,"id":26428168798307,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619cf5ab30013c5f72a429f840d6b92b1aa9b11e.webp?v=1764300239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619cf5ab30013c5f72a429f840d6b92b1aa9b11e.webp?v=1764300239","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861410349155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34863747727459,"product_id":7931644510307,"position":4,"created_at":"2025-11-28T11:23:53+08:00","updated_at":"2025-11-28T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235","variant_ids":[43861410349155]},"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-BIR08","featured_media":{"alt":null,"id":26428166701155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861410349155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34863747727459,"product_id":7931644510307,"position":4,"created_at":"2025-11-28T11:23:53+08:00","updated_at":"2025-11-28T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235","variant_ids":[43861410349155]},"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-BIR08","featured_media":{"alt":null,"id":26428166701155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c292238e7c1ff89124122a250dfb02398d80b3.webp?v=1764300235"}},"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: "停產" }