$product = {"id":7411319570531,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌","handle":"iphone-14-plus-mod-nx-magsafe-printable-oz32","description":null,"published_at":"2024-06-11T17:41:44+08:00","created_at":"2024-05-05T00:06:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-marvel","device-iPhone 14 Plus","merge","reseller-marvel"],"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":41897368813667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31480129060963,"product_id":7411319570531,"position":1,"created_at":"2024-05-05T00:06:48+08:00","updated_at":"2024-05-05T00:06:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808","variant_ids":[41897368813667]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OZ32","featured_media":{"alt":null,"id":23885379960931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850169778275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832874405987,"product_id":7411319570531,"position":12,"created_at":"2025-11-24T11:19:57+08:00","updated_at":"2025-11-24T11:19:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398","variant_ids":[43850169778275]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OZ32","featured_media":{"alt":null,"id":26397692559459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7578c168072411ced311e158bc24666daebbd95.webp?v=1763954394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/614484433432b29a0f642bc12092cdf167dc44e2.webp?v=1763954394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8889763adae1685565fae846884d7e909c113858.webp?v=1763954394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eff50542daf1bbe6820fea83d863cc904c1f71a.webp?v=1763954395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7635d34acf156a73d523c6837f3cc8c07404f8.webp?v=1763954395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41ac98d816d4eb5694e12fb7e120b2341b159e6d.webp?v=1763954396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa2cea378daf6c96a2b4b7aff52c142b59108a2f.webp?v=1763954396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa47aeacc94f9aa51833c6e094042de6f80717d.webp?v=1763954397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f66122e56f07dda04e863fcfb581ba7e104649.webp?v=1763954397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a39fea446a25329b31e41aaa292536ae698112e.webp?v=1763954398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3a9955f2b0f39dab05bc591dedc31f3e09eeedf.webp?v=1763954399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df4f97fce58f62aadeb6df6a5dcd79e4c24665fb.webp?v=1763954399"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808","options":["color"],"media":[{"alt":null,"id":23885379960931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808","width":2000},{"alt":null,"id":26397690101859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7578c168072411ced311e158bc24666daebbd95.webp?v=1763954394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7578c168072411ced311e158bc24666daebbd95.webp?v=1763954394","width":2000},{"alt":null,"id":26397690364003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/614484433432b29a0f642bc12092cdf167dc44e2.webp?v=1763954394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/614484433432b29a0f642bc12092cdf167dc44e2.webp?v=1763954394","width":2000},{"alt":null,"id":26397690593379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8889763adae1685565fae846884d7e909c113858.webp?v=1763954394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8889763adae1685565fae846884d7e909c113858.webp?v=1763954394","width":2000},{"alt":null,"id":26397690855523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eff50542daf1bbe6820fea83d863cc904c1f71a.webp?v=1763954395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eff50542daf1bbe6820fea83d863cc904c1f71a.webp?v=1763954395","width":2000},{"alt":null,"id":26397691084899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7635d34acf156a73d523c6837f3cc8c07404f8.webp?v=1763954395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7635d34acf156a73d523c6837f3cc8c07404f8.webp?v=1763954395","width":2000},{"alt":null,"id":26397691248739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41ac98d816d4eb5694e12fb7e120b2341b159e6d.webp?v=1763954396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41ac98d816d4eb5694e12fb7e120b2341b159e6d.webp?v=1763954396","width":2000},{"alt":null,"id":26397691412579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa2cea378daf6c96a2b4b7aff52c142b59108a2f.webp?v=1763954396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa2cea378daf6c96a2b4b7aff52c142b59108a2f.webp?v=1763954396","width":2000},{"alt":null,"id":26397691641955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa47aeacc94f9aa51833c6e094042de6f80717d.webp?v=1763954397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa47aeacc94f9aa51833c6e094042de6f80717d.webp?v=1763954397","width":2000},{"alt":null,"id":26397691838563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f66122e56f07dda04e863fcfb581ba7e104649.webp?v=1763954397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f66122e56f07dda04e863fcfb581ba7e104649.webp?v=1763954397","width":2000},{"alt":null,"id":26397692264547,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a39fea446a25329b31e41aaa292536ae698112e.webp?v=1763954398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a39fea446a25329b31e41aaa292536ae698112e.webp?v=1763954398","width":2000},{"alt":null,"id":26397692559459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398","width":2000},{"alt":null,"id":26397692756067,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3a9955f2b0f39dab05bc591dedc31f3e09eeedf.webp?v=1763954399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3a9955f2b0f39dab05bc591dedc31f3e09eeedf.webp?v=1763954399","width":2000},{"alt":null,"id":26397692985443,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df4f97fce58f62aadeb6df6a5dcd79e4c24665fb.webp?v=1763954399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df4f97fce58f62aadeb6df6a5dcd79e4c24665fb.webp?v=1763954399","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41897368813667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31480129060963,"product_id":7411319570531,"position":1,"created_at":"2024-05-05T00:06:48+08:00","updated_at":"2024-05-05T00:06:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808","variant_ids":[41897368813667]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OZ32","featured_media":{"alt":null,"id":23885379960931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850169778275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832874405987,"product_id":7411319570531,"position":12,"created_at":"2025-11-24T11:19:57+08:00","updated_at":"2025-11-24T11:19:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398","variant_ids":[43850169778275]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OZ32","featured_media":{"alt":null,"id":26397692559459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ac4e65bcf52504bb5472bbfce7b16bbd9a56bc.webp?v=1763954398"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897368813667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31480129060963,"product_id":7411319570531,"position":1,"created_at":"2024-05-05T00:06:48+08:00","updated_at":"2024-05-05T00:06:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808","variant_ids":[41897368813667]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OZ32","featured_media":{"alt":null,"id":23885379960931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-261-OZ32_6fe99b9d-c855-4f72-b9a6-43a212e5b4e0.png?v=1714838808"}},"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: "停產" }