$product = {"id":7931640873059,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 海龜這座城市","handle":"iphone-14-plus-mod-nx-magsafe-bir02","description":null,"published_at":"2026-01-27T14:20:12+08:00","created_at":"2025-11-28T11:21:58+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":43861397045347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34863733080163,"product_id":7931640873059,"position":7,"created_at":"2025-11-28T11:22:05+08:00","updated_at":"2025-11-28T11:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127","variant_ids":[43861397045347]},"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-BIR02","featured_media":{"alt":null,"id":26428152086627,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ead78b6fea035abf99ae5426cfbb7bd3f5631c4.webp?v=1764300124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f38f829de3ff0f9acbeac773c564b218b8c843d.webp?v=1764300124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0496c9f406c709d32a14e5986cf1135936f5d28.webp?v=1764300125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c86167f53efa9df6dc92c2c228c249f9f87349d.webp?v=1764300125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/758cc3801a4474a0c0102caf39893eb55db64556.webp?v=1764300126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e2b0138bdd8f882012c2a2ff5c6916d6a4765b.webp?v=1764300126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751bd8f657310199646fe4cdc84b71ae3bd958cf.webp?v=1764300127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e92114dc6959f554ed01545b2593100c4695edee.webp?v=1764300128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98a6d0ca4f535592b040822eed3ec04320532f91.webp?v=1764300128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/153abd52f2133e09f288ed57f5868ddc8c9d072b.webp?v=1764300129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cf335df9f511e3b69c219647987c85ce14d9cda.webp?v=1764300129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907f0dbcc79d32ca6091aa53da56ad60136793ea.webp?v=1764300130"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ead78b6fea035abf99ae5426cfbb7bd3f5631c4.webp?v=1764300124","options":["color"],"media":[{"alt":null,"id":26428151562339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ead78b6fea035abf99ae5426cfbb7bd3f5631c4.webp?v=1764300124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ead78b6fea035abf99ae5426cfbb7bd3f5631c4.webp?v=1764300124","width":2000},{"alt":null,"id":26428151693411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f38f829de3ff0f9acbeac773c564b218b8c843d.webp?v=1764300124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f38f829de3ff0f9acbeac773c564b218b8c843d.webp?v=1764300124","width":2000},{"alt":null,"id":26428151791715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0496c9f406c709d32a14e5986cf1135936f5d28.webp?v=1764300125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0496c9f406c709d32a14e5986cf1135936f5d28.webp?v=1764300125","width":2000},{"alt":null,"id":26428151824483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c86167f53efa9df6dc92c2c228c249f9f87349d.webp?v=1764300125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c86167f53efa9df6dc92c2c228c249f9f87349d.webp?v=1764300125","width":2000},{"alt":null,"id":26428151890019,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/758cc3801a4474a0c0102caf39893eb55db64556.webp?v=1764300126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/758cc3801a4474a0c0102caf39893eb55db64556.webp?v=1764300126","width":2000},{"alt":null,"id":26428151988323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e2b0138bdd8f882012c2a2ff5c6916d6a4765b.webp?v=1764300126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e2b0138bdd8f882012c2a2ff5c6916d6a4765b.webp?v=1764300126","width":2000},{"alt":null,"id":26428152086627,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127","width":2000},{"alt":null,"id":26428152217699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751bd8f657310199646fe4cdc84b71ae3bd958cf.webp?v=1764300127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751bd8f657310199646fe4cdc84b71ae3bd958cf.webp?v=1764300127","width":2000},{"alt":null,"id":26428152381539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e92114dc6959f554ed01545b2593100c4695edee.webp?v=1764300128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e92114dc6959f554ed01545b2593100c4695edee.webp?v=1764300128","width":2000},{"alt":null,"id":26428152512611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98a6d0ca4f535592b040822eed3ec04320532f91.webp?v=1764300128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98a6d0ca4f535592b040822eed3ec04320532f91.webp?v=1764300128","width":2000},{"alt":null,"id":26428152676451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/153abd52f2133e09f288ed57f5868ddc8c9d072b.webp?v=1764300129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/153abd52f2133e09f288ed57f5868ddc8c9d072b.webp?v=1764300129","width":2000},{"alt":null,"id":26428152938595,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cf335df9f511e3b69c219647987c85ce14d9cda.webp?v=1764300129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cf335df9f511e3b69c219647987c85ce14d9cda.webp?v=1764300129","width":2000},{"alt":null,"id":26428153331811,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907f0dbcc79d32ca6091aa53da56ad60136793ea.webp?v=1764300130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907f0dbcc79d32ca6091aa53da56ad60136793ea.webp?v=1764300130","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861397045347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34863733080163,"product_id":7931640873059,"position":7,"created_at":"2025-11-28T11:22:05+08:00","updated_at":"2025-11-28T11:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127","variant_ids":[43861397045347]},"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-BIR02","featured_media":{"alt":null,"id":26428152086627,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861397045347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-BIR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34863733080163,"product_id":7931640873059,"position":7,"created_at":"2025-11-28T11:22:05+08:00","updated_at":"2025-11-28T11:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127","variant_ids":[43861397045347]},"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-BIR02","featured_media":{"alt":null,"id":26428152086627,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da1ccaacdd5fd27710a1c90b76146d9512a342.webp?v=1764300127"}},"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: "停產" }