$product = {"id":7931635466339,"title":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 鯨魚:海洋的長老","handle":"iphone-14-pro-mod-nx-bir01","description":null,"published_at":"2026-01-27T14:21:19+08:00","created_at":"2025-11-28T11:19:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 14 Pro","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":43861376401507,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863711748195,"product_id":7931635466339,"position":8,"created_at":"2025-11-28T11:19:52+08:00","updated_at":"2025-11-28T11:19:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994","variant_ids":[43861376401507]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 鯨魚:海洋的長老 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-BIR01","featured_media":{"alt":null,"id":26428130787427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861376467043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863711289443,"product_id":7931635466339,"position":6,"created_at":"2025-11-28T11:19:51+08:00","updated_at":"2025-11-28T11:19:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993","variant_ids":[43861376467043]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-BIR01","featured_media":{"alt":null,"id":26428130328675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861376696419,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863710240867,"product_id":7931635466339,"position":2,"created_at":"2025-11-28T11:19:49+08:00","updated_at":"2025-11-28T11:19:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991","variant_ids":[43861376696419]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 鯨魚:海洋的長老 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-BIR01","featured_media":{"alt":null,"id":26428129378403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55c8d1716e6f86209ffb12dc665b6b30ac6dea4f.webp?v=1764299991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b17a5ec04af58c20e589778b552e825485f53aa8.webp?v=1764299991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3396182e4300d09bd015bbed8615be5da9752ae1.webp?v=1764299992","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04a9929c5eb413697516634b47a9e5c781c0995.webp?v=1764299992","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630be93e1801189ae81bfa5d7b17c8334c8391fb.webp?v=1764299993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e176bf49d22f77c1f787cb9820f5f79849de1cc5.webp?v=1764299994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31246aac8bc5db90b59adf81c9d65673394308fd.webp?v=1764299994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284d3872869d5ab7cc37a000c06eae6871d92c1a.webp?v=1764299995"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55c8d1716e6f86209ffb12dc665b6b30ac6dea4f.webp?v=1764299991","options":["color"],"media":[{"alt":null,"id":26428129149027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55c8d1716e6f86209ffb12dc665b6b30ac6dea4f.webp?v=1764299991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55c8d1716e6f86209ffb12dc665b6b30ac6dea4f.webp?v=1764299991","width":2000},{"alt":null,"id":26428129378403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991","width":2000},{"alt":null,"id":26428129640547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b17a5ec04af58c20e589778b552e825485f53aa8.webp?v=1764299991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b17a5ec04af58c20e589778b552e825485f53aa8.webp?v=1764299991","width":2000},{"alt":null,"id":26428129869923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3396182e4300d09bd015bbed8615be5da9752ae1.webp?v=1764299992"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3396182e4300d09bd015bbed8615be5da9752ae1.webp?v=1764299992","width":2000},{"alt":null,"id":26428130132067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04a9929c5eb413697516634b47a9e5c781c0995.webp?v=1764299992"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04a9929c5eb413697516634b47a9e5c781c0995.webp?v=1764299992","width":2000},{"alt":null,"id":26428130328675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993","width":2000},{"alt":null,"id":26428130623587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630be93e1801189ae81bfa5d7b17c8334c8391fb.webp?v=1764299993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630be93e1801189ae81bfa5d7b17c8334c8391fb.webp?v=1764299993","width":2000},{"alt":null,"id":26428130787427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994","width":2000},{"alt":null,"id":26428131049571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e176bf49d22f77c1f787cb9820f5f79849de1cc5.webp?v=1764299994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e176bf49d22f77c1f787cb9820f5f79849de1cc5.webp?v=1764299994","width":2000},{"alt":null,"id":26428131278947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31246aac8bc5db90b59adf81c9d65673394308fd.webp?v=1764299994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31246aac8bc5db90b59adf81c9d65673394308fd.webp?v=1764299994","width":2000},{"alt":null,"id":26428131541091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284d3872869d5ab7cc37a000c06eae6871d92c1a.webp?v=1764299995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284d3872869d5ab7cc37a000c06eae6871d92c1a.webp?v=1764299995","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43861376401507,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863711748195,"product_id":7931635466339,"position":8,"created_at":"2025-11-28T11:19:52+08:00","updated_at":"2025-11-28T11:19:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994","variant_ids":[43861376401507]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 鯨魚:海洋的長老 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-BIR01","featured_media":{"alt":null,"id":26428130787427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861376467043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863711289443,"product_id":7931635466339,"position":6,"created_at":"2025-11-28T11:19:51+08:00","updated_at":"2025-11-28T11:19:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993","variant_ids":[43861376467043]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-BIR01","featured_media":{"alt":null,"id":26428130328675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79701d76b241ffacb89497bbba9a330bddfe9c7c.webp?v=1764299993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861376696419,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863710240867,"product_id":7931635466339,"position":2,"created_at":"2025-11-28T11:19:49+08:00","updated_at":"2025-11-28T11:19:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991","variant_ids":[43861376696419]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 鯨魚:海洋的長老 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-BIR01","featured_media":{"alt":null,"id":26428129378403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff854a1980c74a13871a3d18c43657ce15a07898.webp?v=1764299991"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861376401507,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863711748195,"product_id":7931635466339,"position":8,"created_at":"2025-11-28T11:19:52+08:00","updated_at":"2025-11-28T11:19:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994","variant_ids":[43861376401507]},"available":true,"name":"iPhone 14 Pro Mod NX 產房 • 廢料棲息地 鯨魚:海洋的長老 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-BIR01","featured_media":{"alt":null,"id":26428130787427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67334a8fe981fe6bbb2383bb470d9c514313a09a.webp?v=1764299994"}},"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: "停產" }