$product = {"id":7931577172067,"title":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 隱藏的軌跡","handle":"iphone-14-plus-mod-nx-bir03","description":null,"published_at":"2026-01-27T14:25:28+08:00","created_at":"2025-11-28T11:11:01+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":90000,"price_min":90000,"price_max":90000,"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":43861254307939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863405498467,"product_id":7931577172067,"position":1,"created_at":"2025-11-28T11:11:05+08:00","updated_at":"2025-11-28T11:11:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467","variant_ids":[43861254307939]},"available":true,"name":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 隱藏的軌跡 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-BIR03","featured_media":{"alt":null,"id":26427824603235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/578e02f85d1b01d8e49f9280bb6a294885505ec2.webp?v=1764299468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f6eebf225d3447b3098c5e308907dc4a65e166.webp?v=1764299469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b84ada83fcca9e29c1baa21e00de9f15cece9fb8.webp?v=1764299469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a89a7b142af4a33d691f78631326a2cda40d6b7e.webp?v=1764299470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b107d1b602b46c68c2b5ea9c81b34cbba52e5a.webp?v=1764299470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0546bcdb391028596889a66fa7f688a930aa539.webp?v=1764299471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71915b7b61c7e2390262eb1302e94a1531d4464f.webp?v=1764299471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803414a5092b8202a8dbbf8602a802a4fcd3e564.webp?v=1764299471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f1d3b5dc73eee9a43ccd24b237eb729b754ebd7.webp?v=1764299472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d09a02b41da345e1a85ff0650e88def16efc89af.webp?v=1764299472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e44b733c2037f336f5753e5ba4e1c92a3c23116.webp?v=1764299473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e006cb9e7cdc217bdcb303bf19eaf8ead886067.webp?v=1764299473"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467","options":["color"],"media":[{"alt":null,"id":26427824603235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467","width":2000},{"alt":null,"id":26427825553507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/578e02f85d1b01d8e49f9280bb6a294885505ec2.webp?v=1764299468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/578e02f85d1b01d8e49f9280bb6a294885505ec2.webp?v=1764299468","width":2000},{"alt":null,"id":26427826405475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f6eebf225d3447b3098c5e308907dc4a65e166.webp?v=1764299469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f6eebf225d3447b3098c5e308907dc4a65e166.webp?v=1764299469","width":2000},{"alt":null,"id":26427827322979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b84ada83fcca9e29c1baa21e00de9f15cece9fb8.webp?v=1764299469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b84ada83fcca9e29c1baa21e00de9f15cece9fb8.webp?v=1764299469","width":2000},{"alt":null,"id":26427829420131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a89a7b142af4a33d691f78631326a2cda40d6b7e.webp?v=1764299470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a89a7b142af4a33d691f78631326a2cda40d6b7e.webp?v=1764299470","width":2000},{"alt":null,"id":26427830632547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b107d1b602b46c68c2b5ea9c81b34cbba52e5a.webp?v=1764299470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b107d1b602b46c68c2b5ea9c81b34cbba52e5a.webp?v=1764299470","width":2000},{"alt":null,"id":26427831386211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0546bcdb391028596889a66fa7f688a930aa539.webp?v=1764299471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0546bcdb391028596889a66fa7f688a930aa539.webp?v=1764299471","width":2000},{"alt":null,"id":26427832434787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71915b7b61c7e2390262eb1302e94a1531d4464f.webp?v=1764299471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71915b7b61c7e2390262eb1302e94a1531d4464f.webp?v=1764299471","width":2000},{"alt":null,"id":26427833319523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803414a5092b8202a8dbbf8602a802a4fcd3e564.webp?v=1764299471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803414a5092b8202a8dbbf8602a802a4fcd3e564.webp?v=1764299471","width":2000},{"alt":null,"id":26427834564707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f1d3b5dc73eee9a43ccd24b237eb729b754ebd7.webp?v=1764299472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f1d3b5dc73eee9a43ccd24b237eb729b754ebd7.webp?v=1764299472","width":2000},{"alt":null,"id":26427835678819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d09a02b41da345e1a85ff0650e88def16efc89af.webp?v=1764299472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d09a02b41da345e1a85ff0650e88def16efc89af.webp?v=1764299472","width":2000},{"alt":null,"id":26427836792931,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e44b733c2037f336f5753e5ba4e1c92a3c23116.webp?v=1764299473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e44b733c2037f336f5753e5ba4e1c92a3c23116.webp?v=1764299473","width":2000},{"alt":null,"id":26427837513827,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e006cb9e7cdc217bdcb303bf19eaf8ead886067.webp?v=1764299473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e006cb9e7cdc217bdcb303bf19eaf8ead886067.webp?v=1764299473","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43861254307939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863405498467,"product_id":7931577172067,"position":1,"created_at":"2025-11-28T11:11:05+08:00","updated_at":"2025-11-28T11:11:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467","variant_ids":[43861254307939]},"available":true,"name":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 隱藏的軌跡 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-BIR03","featured_media":{"alt":null,"id":26427824603235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861254307939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863405498467,"product_id":7931577172067,"position":1,"created_at":"2025-11-28T11:11:05+08:00","updated_at":"2025-11-28T11:11:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467","variant_ids":[43861254307939]},"available":true,"name":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 隱藏的軌跡 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-BIR03","featured_media":{"alt":null,"id":26427824603235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2df35c749bec1f9562857db4d49e0d5fa6835df.webp?v=1764299467"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }