$product = {"id":7876019257443,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小勞撫 辦公室滑輪椅比賽","handle":"iphone-14-pro-mod-nx-magsafe-printable-em53","description":null,"published_at":"2025-09-04T10:27:39+08:00","created_at":"2025-09-03T11:39:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiaolaofu","device-iPhone 14 Pro","merge","reseller-xiaolaofu"],"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":43674997817443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416039657571,"product_id":7876019257443,"position":4,"created_at":"2025-09-03T11:39:13+08:00","updated_at":"2025-09-03T11:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755","variant_ids":[43674997817443]},"available":true,"name":"iPhone 14 Pro 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":"MPB0126224-EM53","featured_media":{"alt":null,"id":25988314497123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674997981283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416041263203,"product_id":7876019257443,"position":11,"created_at":"2025-09-03T11:39:18+08:00","updated_at":"2025-09-03T11:39:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760","variant_ids":[43674997981283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小勞撫 辦公室滑輪椅比賽 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-EM53","featured_media":{"alt":null,"id":25988316102755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674998079587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416041066595,"product_id":7876019257443,"position":10,"created_at":"2025-09-03T11:39:18+08:00","updated_at":"2025-09-03T11:39:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760","variant_ids":[43674998079587]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小勞撫 辦公室滑輪椅比賽 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EM53","featured_media":{"alt":null,"id":25988315906147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cfc89a0ab547f700672a710786c597840d8a43.webp?v=1756870753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8beb382b4dc2e7270ef2c6fd0a751bcd48445a4f.webp?v=1756870754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543d89cb590553033a1eeff19188a4c2b2f4104b.webp?v=1756870754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689d9cb33bbba9b337826016869d34a062cbd757.webp?v=1756870756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1a6ffd9eae43682c21777184fe2aaafd063484.webp?v=1756870756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/788c08290e5f066d6709fe0a0bea6cbec84ce138.webp?v=1756870757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f67f0470a274e553a75510b71fec8807120f964d.webp?v=1756870758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11cf9df8dda57f431ab11aa6bfc8016927e04e79.webp?v=1756870759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f964c80b893cacd158032acb8b120d8fe2e4540.webp?v=1756870761"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cfc89a0ab547f700672a710786c597840d8a43.webp?v=1756870753","options":["color"],"media":[{"alt":null,"id":25988314005603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cfc89a0ab547f700672a710786c597840d8a43.webp?v=1756870753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81cfc89a0ab547f700672a710786c597840d8a43.webp?v=1756870753","width":2000},{"alt":null,"id":25988314136675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8beb382b4dc2e7270ef2c6fd0a751bcd48445a4f.webp?v=1756870754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8beb382b4dc2e7270ef2c6fd0a751bcd48445a4f.webp?v=1756870754","width":2000},{"alt":null,"id":25988314333283,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543d89cb590553033a1eeff19188a4c2b2f4104b.webp?v=1756870754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543d89cb590553033a1eeff19188a4c2b2f4104b.webp?v=1756870754","width":2000},{"alt":null,"id":25988314497123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755","width":2000},{"alt":null,"id":25988314726499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689d9cb33bbba9b337826016869d34a062cbd757.webp?v=1756870756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689d9cb33bbba9b337826016869d34a062cbd757.webp?v=1756870756","width":2000},{"alt":null,"id":25988315054179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1a6ffd9eae43682c21777184fe2aaafd063484.webp?v=1756870756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1a6ffd9eae43682c21777184fe2aaafd063484.webp?v=1756870756","width":2000},{"alt":null,"id":25988315316323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/788c08290e5f066d6709fe0a0bea6cbec84ce138.webp?v=1756870757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/788c08290e5f066d6709fe0a0bea6cbec84ce138.webp?v=1756870757","width":2000},{"alt":null,"id":25988315545699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f67f0470a274e553a75510b71fec8807120f964d.webp?v=1756870758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f67f0470a274e553a75510b71fec8807120f964d.webp?v=1756870758","width":2000},{"alt":null,"id":25988315709539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11cf9df8dda57f431ab11aa6bfc8016927e04e79.webp?v=1756870759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11cf9df8dda57f431ab11aa6bfc8016927e04e79.webp?v=1756870759","width":2000},{"alt":null,"id":25988315906147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760","width":2000},{"alt":null,"id":25988316102755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760","width":2000},{"alt":null,"id":25988316266595,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f964c80b893cacd158032acb8b120d8fe2e4540.webp?v=1756870761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f964c80b893cacd158032acb8b120d8fe2e4540.webp?v=1756870761","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43674997817443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416039657571,"product_id":7876019257443,"position":4,"created_at":"2025-09-03T11:39:13+08:00","updated_at":"2025-09-03T11:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755","variant_ids":[43674997817443]},"available":true,"name":"iPhone 14 Pro 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":"MPB0126224-EM53","featured_media":{"alt":null,"id":25988314497123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674997981283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416041263203,"product_id":7876019257443,"position":11,"created_at":"2025-09-03T11:39:18+08:00","updated_at":"2025-09-03T11:39:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760","variant_ids":[43674997981283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小勞撫 辦公室滑輪椅比賽 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-EM53","featured_media":{"alt":null,"id":25988316102755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e5d1424ffe83ab6a5d5f3191669da47a519a6fe.webp?v=1756870760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674998079587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416041066595,"product_id":7876019257443,"position":10,"created_at":"2025-09-03T11:39:18+08:00","updated_at":"2025-09-03T11:39:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760","variant_ids":[43674998079587]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小勞撫 辦公室滑輪椅比賽 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EM53","featured_media":{"alt":null,"id":25988315906147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bc06617dd1143a93842cac7f59c2ee2382cb6c.webp?v=1756870760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43674997817443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416039657571,"product_id":7876019257443,"position":4,"created_at":"2025-09-03T11:39:13+08:00","updated_at":"2025-09-03T11:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755","variant_ids":[43674997817443]},"available":true,"name":"iPhone 14 Pro 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":"MPB0126224-EM53","featured_media":{"alt":null,"id":25988314497123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f279a0cb72555f8c14ae2c79d6becb7bc956f5e.webp?v=1756870755"}},"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: "停產" }