$product = {"id":7931619344483,"title":"iPhone 15 Plus SolidX (MagSafe 兼容) 產房 • 廢料棲息地 褪色的我們","handle":"iphone-15-plus-solidx-magsafe-bir06","description":null,"published_at":"2026-01-27T14:24:05+08:00","created_at":"2025-11-28T11:13:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 15 Plus","merge","reseller-everydayishappybirthday"],"price":145000,"price_min":145000,"price_max":145000,"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":44245570519139,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"MNS0129653-BIR06","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 產房 • 廢料棲息地 褪色的我們","public_title":null,"options":["Default Title"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129653-BIR06","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aab21aa1b78a6272a9c432a4a31f28de65042c.webp?v=1764299619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4.webp?v=1784717821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b.webp?v=1784717822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc.webp?v=1784717823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62.webp?v=1784717823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4_bba942ad-3716-4225-b8f0-f2f5c128cde3.webp?v=1784725135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b_467169df-a31f-4b3b-9219-d4d0fd6f40e5.webp?v=1784725135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc_8259098b-cddd-4e3a-9c26-7df30e905b9e.webp?v=1784725136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62_b4a47ad8-b028-4418-9635-95c7a3f8602c.webp?v=1784725137","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4_356d727d-3bfd-418d-89f1-7af441a6eb71.webp?v=1784726228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b_3ba504eb-02f8-4ec2-8518-2fd94e13fc01.webp?v=1784726229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc_9232e8fd-5cd2-40ad-a45b-70bf07a2b7d8.webp?v=1784726230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62_481bd0b0-67fc-4838-9e23-759bf1eab881.webp?v=1784726230"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aab21aa1b78a6272a9c432a4a31f28de65042c.webp?v=1764299619","options":["Title"],"media":[{"alt":null,"id":26428054044771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aab21aa1b78a6272a9c432a4a31f28de65042c.webp?v=1764299619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5aab21aa1b78a6272a9c432a4a31f28de65042c.webp?v=1764299619","width":2000},{"alt":null,"id":27852504989795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4.webp?v=1784717821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4.webp?v=1784717821","width":2000},{"alt":null,"id":27852505284707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b.webp?v=1784717822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b.webp?v=1784717822","width":2000},{"alt":null,"id":27852505546851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc.webp?v=1784717823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc.webp?v=1784717823","width":2000},{"alt":null,"id":27852505776227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62.webp?v=1784717823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62.webp?v=1784717823","width":2000},{"alt":null,"id":27854848786531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4_bba942ad-3716-4225-b8f0-f2f5c128cde3.webp?v=1784725135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4_bba942ad-3716-4225-b8f0-f2f5c128cde3.webp?v=1784725135","width":2000},{"alt":null,"id":27854849245283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b_467169df-a31f-4b3b-9219-d4d0fd6f40e5.webp?v=1784725135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b_467169df-a31f-4b3b-9219-d4d0fd6f40e5.webp?v=1784725135","width":2000},{"alt":null,"id":27854849736803,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc_8259098b-cddd-4e3a-9c26-7df30e905b9e.webp?v=1784725136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc_8259098b-cddd-4e3a-9c26-7df30e905b9e.webp?v=1784725136","width":2000},{"alt":null,"id":27854850195555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62_b4a47ad8-b028-4418-9635-95c7a3f8602c.webp?v=1784725137"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62_b4a47ad8-b028-4418-9635-95c7a3f8602c.webp?v=1784725137","width":2000},{"alt":null,"id":27855313305699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4_356d727d-3bfd-418d-89f1-7af441a6eb71.webp?v=1784726228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8939d5b96e2a4972837dc08c1883bc2075ce35e4_356d727d-3bfd-418d-89f1-7af441a6eb71.webp?v=1784726228","width":2000},{"alt":null,"id":27855314092131,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b_3ba504eb-02f8-4ec2-8518-2fd94e13fc01.webp?v=1784726229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93650d1c6b378e5a5aee778e31d5498a53ebc1b_3ba504eb-02f8-4ec2-8518-2fd94e13fc01.webp?v=1784726229","width":2000},{"alt":null,"id":27855314190435,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc_9232e8fd-5cd2-40ad-a45b-70bf07a2b7d8.webp?v=1784726230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db34aa595f39f8da9939db2d8a56455580ca7dc_9232e8fd-5cd2-40ad-a45b-70bf07a2b7d8.webp?v=1784726230","width":2000},{"alt":null,"id":27855314255971,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62_481bd0b0-67fc-4838-9e23-759bf1eab881.webp?v=1784726230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a6fd7fbd353c23f39f5e148a6265d077cb2b62_481bd0b0-67fc-4838-9e23-759bf1eab881.webp?v=1784726230","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44245570519139,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"MNS0129653-BIR06","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 產房 • 廢料棲息地 褪色的我們","public_title":null,"options":["Default Title"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129653-BIR06","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44245570519139,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"MNS0129653-BIR06","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 產房 • 廢料棲息地 褪色的我們","public_title":null,"options":["Default Title"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129653-BIR06","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: "停產" }