$product = {"id":7931668398179,"title":"iPhone 15 Plus SolidX (MagSafe 兼容) 產房 • 廢料棲息地 海洋實驗室","handle":"iphone-15-plus-solidx-magsafe-bir08","description":null,"published_at":"2026-01-27T14:14:39+08:00","created_at":"2025-11-28T11:34:10+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":44245570584675,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"MNS0129653-BIR08","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-BIR08","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1166fd301f9783ff04036c9abc6ec25fae20e919.webp?v=1764300857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328.webp?v=1784717821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad.webp?v=1784717822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992.webp?v=1784717823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18.webp?v=1784717823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328_6f7351c9-af67-4c23-a16e-31a94b34e802.webp?v=1784725133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad_e722921e-a5d5-49bf-9424-aa8b6e97fc15.webp?v=1784725134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992_daf7988f-88f2-4070-adf3-3bc4e5c30b12.webp?v=1784725135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18_0b8ad158-84ba-48d9-84ce-74c31da302f2.webp?v=1784725135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328_d1db80a2-368a-4c3d-80ce-579358decbd0.webp?v=1784726225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad_5fff9083-9b06-4ba1-849e-2e620cfce63e.webp?v=1784726226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992_ebb56346-9e25-4317-b518-ebaae21569a7.webp?v=1784726227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18_d9f091f9-b881-4417-928d-76d8c548ac0c.webp?v=1784726227"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1166fd301f9783ff04036c9abc6ec25fae20e919.webp?v=1764300857","options":["Title"],"media":[{"alt":null,"id":26428263399523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1166fd301f9783ff04036c9abc6ec25fae20e919.webp?v=1764300857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1166fd301f9783ff04036c9abc6ec25fae20e919.webp?v=1764300857","width":2000},{"alt":null,"id":27852505022563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328.webp?v=1784717821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328.webp?v=1784717821","width":2000},{"alt":null,"id":27852505481315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad.webp?v=1784717822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad.webp?v=1784717822","width":2000},{"alt":null,"id":27852505612387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992.webp?v=1784717823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992.webp?v=1784717823","width":2000},{"alt":null,"id":27852505907299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18.webp?v=1784717823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18.webp?v=1784717823","width":2000},{"alt":null,"id":27854848229475,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328_6f7351c9-af67-4c23-a16e-31a94b34e802.webp?v=1784725133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328_6f7351c9-af67-4c23-a16e-31a94b34e802.webp?v=1784725133","width":2000},{"alt":null,"id":27854848491619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad_e722921e-a5d5-49bf-9424-aa8b6e97fc15.webp?v=1784725134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad_e722921e-a5d5-49bf-9424-aa8b6e97fc15.webp?v=1784725134","width":2000},{"alt":null,"id":27854848950371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992_daf7988f-88f2-4070-adf3-3bc4e5c30b12.webp?v=1784725135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992_daf7988f-88f2-4070-adf3-3bc4e5c30b12.webp?v=1784725135","width":2000},{"alt":null,"id":27854849343587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18_0b8ad158-84ba-48d9-84ce-74c31da302f2.webp?v=1784725135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18_0b8ad158-84ba-48d9-84ce-74c31da302f2.webp?v=1784725135","width":2000},{"alt":null,"id":27855311994979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328_d1db80a2-368a-4c3d-80ce-579358decbd0.webp?v=1784726225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddecc21b9d0c74450953ff0b187f916ae8d69328_d1db80a2-368a-4c3d-80ce-579358decbd0.webp?v=1784726225","width":2000},{"alt":null,"id":27855312453731,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad_5fff9083-9b06-4ba1-849e-2e620cfce63e.webp?v=1784726226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95dc253dc129bc95a46da2cd541d9841a9587cad_5fff9083-9b06-4ba1-849e-2e620cfce63e.webp?v=1784726226","width":2000},{"alt":null,"id":27855312650339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992_ebb56346-9e25-4317-b518-ebaae21569a7.webp?v=1784726227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea154a1db37ea35b04806b7b52cf2f3edfb69992_ebb56346-9e25-4317-b518-ebaae21569a7.webp?v=1784726227","width":2000},{"alt":null,"id":27855312978019,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18_d9f091f9-b881-4417-928d-76d8c548ac0c.webp?v=1784726227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2cbab08c6f27d38e6db53bddc8dc77e099ccbd18_d9f091f9-b881-4417-928d-76d8c548ac0c.webp?v=1784726227","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44245570584675,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"MNS0129653-BIR08","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-BIR08","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44245570584675,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"MNS0129653-BIR08","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-BIR08","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: "停產" }