$product = {"id":7920105881699,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的瑜珈時間","handle":"iphone-12-pro-max-mod-nx-magsafe-hd66","description":null,"published_at":"2025-11-13T09:59:48+08:00","created_at":"2025-11-10T10:03:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 12 Pro Max","merge","reseller-incrediville"],"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":43827770261603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34786013708387,"product_id":7920105881699,"position":14,"created_at":"2025-11-11T09:38:37+08:00","updated_at":"2025-11-11T09:38:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119","variant_ids":[43827770261603]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的瑜珈時間 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-HD66","featured_media":{"alt":null,"id":26351470870627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3.webp?v=1762740205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e8ba7c6f1f69617d68b8751a4c49df217b2b4e.webp?v=1762740206","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5e96f88ec813ab401abef5c734b378085ff562.webp?v=1762740207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091dc16c552d234e1fb620c9f9f29e1179c569d1.webp?v=1762740207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244.webp?v=1762740208","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e253dcd229d555bb6fc18a9408f926d77d77f3.webp?v=1762740209","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49e7182c693c5964093a3dc2261d990bf684396.webp?v=1762740209","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1781723252c7294e15383a426734adb6331c5166.webp?v=1762740210","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512dbb11f5d2e088a5ee2d6f238c3366a854378e.webp?v=1762740211","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49e7182c693c5964093a3dc2261d990bf684396_44f86cd0-06f8-40eb-ab30-8a7c20f03d3f.webp?v=1762825117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e253dcd229d555bb6fc18a9408f926d77d77f3_182bbef1-6fe4-4f06-9b19-9c749a5d9e8b.webp?v=1762825118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3_0024f00a-5409-4d47-8b23-8d4a26fb0eef.webp?v=1762825118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512dbb11f5d2e088a5ee2d6f238c3366a854378e_543a2b7a-1463-43d8-b52e-6ecf047d40c2.webp?v=1762825119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e8ba7c6f1f69617d68b8751a4c49df217b2b4e_e8db62d1-8db4-47a6-80bb-c95cb8c43616.webp?v=1762825120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091dc16c552d234e1fb620c9f9f29e1179c569d1_e5a7dd19-1a2a-4a73-957c-a260c3e88c61.webp?v=1762825121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5e96f88ec813ab401abef5c734b378085ff562_2599ad3b-549c-4a2b-94c2-ff33c43c0005.webp?v=1762825121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1781723252c7294e15383a426734adb6331c5166_57560c2a-97b6-45f7-931e-0b5bb5aadb91.webp?v=1762825122"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3.webp?v=1762740205","options":["color"],"media":[{"alt":null,"id":26346063233123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3.webp?v=1762740205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3.webp?v=1762740205","width":2000},{"alt":null,"id":26346064347235,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e8ba7c6f1f69617d68b8751a4c49df217b2b4e.webp?v=1762740206"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e8ba7c6f1f69617d68b8751a4c49df217b2b4e.webp?v=1762740206","width":2000},{"alt":null,"id":26346065461347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5e96f88ec813ab401abef5c734b378085ff562.webp?v=1762740207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5e96f88ec813ab401abef5c734b378085ff562.webp?v=1762740207","width":2000},{"alt":null,"id":26346066509923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091dc16c552d234e1fb620c9f9f29e1179c569d1.webp?v=1762740207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091dc16c552d234e1fb620c9f9f29e1179c569d1.webp?v=1762740207","width":2000},{"alt":null,"id":26346067591267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244.webp?v=1762740208"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244.webp?v=1762740208","width":2000},{"alt":null,"id":26346069000291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e253dcd229d555bb6fc18a9408f926d77d77f3.webp?v=1762740209"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e253dcd229d555bb6fc18a9408f926d77d77f3.webp?v=1762740209","width":2000},{"alt":null,"id":26346069983331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49e7182c693c5964093a3dc2261d990bf684396.webp?v=1762740209"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49e7182c693c5964093a3dc2261d990bf684396.webp?v=1762740209","width":2000},{"alt":null,"id":26346070835299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1781723252c7294e15383a426734adb6331c5166.webp?v=1762740210"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1781723252c7294e15383a426734adb6331c5166.webp?v=1762740210","width":2000},{"alt":null,"id":26346072113251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512dbb11f5d2e088a5ee2d6f238c3366a854378e.webp?v=1762740211"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512dbb11f5d2e088a5ee2d6f238c3366a854378e.webp?v=1762740211","width":2000},{"alt":null,"id":26351469854819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49e7182c693c5964093a3dc2261d990bf684396_44f86cd0-06f8-40eb-ab30-8a7c20f03d3f.webp?v=1762825117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a49e7182c693c5964093a3dc2261d990bf684396_44f86cd0-06f8-40eb-ab30-8a7c20f03d3f.webp?v=1762825117","width":2000},{"alt":null,"id":26351470084195,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e253dcd229d555bb6fc18a9408f926d77d77f3_182bbef1-6fe4-4f06-9b19-9c749a5d9e8b.webp?v=1762825118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e253dcd229d555bb6fc18a9408f926d77d77f3_182bbef1-6fe4-4f06-9b19-9c749a5d9e8b.webp?v=1762825118","width":2000},{"alt":null,"id":26351470346339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3_0024f00a-5409-4d47-8b23-8d4a26fb0eef.webp?v=1762825118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ecf8260c319b40208af17e24a7385b5ad7fa3_0024f00a-5409-4d47-8b23-8d4a26fb0eef.webp?v=1762825118","width":2000},{"alt":null,"id":26351470641251,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512dbb11f5d2e088a5ee2d6f238c3366a854378e_543a2b7a-1463-43d8-b52e-6ecf047d40c2.webp?v=1762825119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512dbb11f5d2e088a5ee2d6f238c3366a854378e_543a2b7a-1463-43d8-b52e-6ecf047d40c2.webp?v=1762825119","width":2000},{"alt":null,"id":26351470870627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119","width":2000},{"alt":null,"id":26351471100003,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e8ba7c6f1f69617d68b8751a4c49df217b2b4e_e8db62d1-8db4-47a6-80bb-c95cb8c43616.webp?v=1762825120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e8ba7c6f1f69617d68b8751a4c49df217b2b4e_e8db62d1-8db4-47a6-80bb-c95cb8c43616.webp?v=1762825120","width":2000},{"alt":null,"id":26351471296611,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091dc16c552d234e1fb620c9f9f29e1179c569d1_e5a7dd19-1a2a-4a73-957c-a260c3e88c61.webp?v=1762825121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091dc16c552d234e1fb620c9f9f29e1179c569d1_e5a7dd19-1a2a-4a73-957c-a260c3e88c61.webp?v=1762825121","width":2000},{"alt":null,"id":26351471493219,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5e96f88ec813ab401abef5c734b378085ff562_2599ad3b-549c-4a2b-94c2-ff33c43c0005.webp?v=1762825121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5e96f88ec813ab401abef5c734b378085ff562_2599ad3b-549c-4a2b-94c2-ff33c43c0005.webp?v=1762825121","width":2000},{"alt":null,"id":26351471689827,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1781723252c7294e15383a426734adb6331c5166_57560c2a-97b6-45f7-931e-0b5bb5aadb91.webp?v=1762825122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1781723252c7294e15383a426734adb6331c5166_57560c2a-97b6-45f7-931e-0b5bb5aadb91.webp?v=1762825122","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43827770261603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34786013708387,"product_id":7920105881699,"position":14,"created_at":"2025-11-11T09:38:37+08:00","updated_at":"2025-11-11T09:38:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119","variant_ids":[43827770261603]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的瑜珈時間 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-HD66","featured_media":{"alt":null,"id":26351470870627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827770261603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34786013708387,"product_id":7920105881699,"position":14,"created_at":"2025-11-11T09:38:37+08:00","updated_at":"2025-11-11T09:38:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119","variant_ids":[43827770261603]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的瑜珈時間 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-HD66","featured_media":{"alt":null,"id":26351470870627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e58733e7d6104527bf960b822a25e11f0ec244_8631728a-a7dc-4388-aced-498e2c1667ce.webp?v=1762825119"}},"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: "停產" }