$product = {"id":7920019865699,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的聖地巡禮","handle":"iphone-12-pro-max-mod-nx-magsafe-hd65","description":null,"published_at":"2025-11-13T10:02:10+08:00","created_at":"2025-11-10T09:59:30+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":43827651772515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34786033893475,"product_id":7920019865699,"position":16,"created_at":"2025-11-11T09:39:34+08:00","updated_at":"2025-11-11T09:39:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176","variant_ids":[43827651772515]},"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-HD65","featured_media":{"alt":null,"id":26351490990179,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459.webp?v=1762739976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac20465d3e51c1af806f1a075d706642dabe48d4.webp?v=1762739977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad5c7805802ca99b5b4146d4ad893631323890d.webp?v=1762739977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49bfe31573a0f3309f71c47769d0549667980c02.webp?v=1762739978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b.webp?v=1762739979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b65919fd28fba5a223c47ddcf63d0de42f478d3.webp?v=1762739979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ff9ef4c7badea5006b45fdbf5ea715ae6bf0e9.webp?v=1762739980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5b0c91eb6b3ee9e39e234deeef5726f08d37536.webp?v=1762739980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d19c3ecc129100debfefa7f45fcf984ef10e9b7e.webp?v=1762739981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d19c3ecc129100debfefa7f45fcf984ef10e9b7e_fa7b31bc-ed52-4708-833b-7fa1c94aac61.webp?v=1762825172","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b65919fd28fba5a223c47ddcf63d0de42f478d3_18b0e8a5-3512-4d16-8775-e480789a58fd.webp?v=1762825173","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac20465d3e51c1af806f1a075d706642dabe48d4_b6f92d80-9058-400f-b83c-73ed682e3ae4.webp?v=1762825174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ff9ef4c7badea5006b45fdbf5ea715ae6bf0e9_47ae4564-1bb2-4511-8c86-8b505dd4ecf7.webp?v=1762825174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5b0c91eb6b3ee9e39e234deeef5726f08d37536_96e7887a-6d26-4ef5-9ebf-0e5089d5053c.webp?v=1762825175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49bfe31573a0f3309f71c47769d0549667980c02_6731c8b8-7042-4f30-b383-9851ca901a20.webp?v=1762825176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459_b8698d93-8d90-4de0-9d6e-4fcd79c5eb58.webp?v=1762825177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad5c7805802ca99b5b4146d4ad893631323890d_3250208a-141b-4d7d-b543-3af47fb10059.webp?v=1762825177"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459.webp?v=1762739976","options":["color"],"media":[{"alt":null,"id":26345662054499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459.webp?v=1762739976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459.webp?v=1762739976","width":2000},{"alt":null,"id":26345662906467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac20465d3e51c1af806f1a075d706642dabe48d4.webp?v=1762739977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac20465d3e51c1af806f1a075d706642dabe48d4.webp?v=1762739977","width":2000},{"alt":null,"id":26345663889507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad5c7805802ca99b5b4146d4ad893631323890d.webp?v=1762739977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad5c7805802ca99b5b4146d4ad893631323890d.webp?v=1762739977","width":2000},{"alt":null,"id":26345664807011,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49bfe31573a0f3309f71c47769d0549667980c02.webp?v=1762739978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49bfe31573a0f3309f71c47769d0549667980c02.webp?v=1762739978","width":2000},{"alt":null,"id":26345665822819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b.webp?v=1762739979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b.webp?v=1762739979","width":2000},{"alt":null,"id":26345666707555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b65919fd28fba5a223c47ddcf63d0de42f478d3.webp?v=1762739979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b65919fd28fba5a223c47ddcf63d0de42f478d3.webp?v=1762739979","width":2000},{"alt":null,"id":26345667821667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ff9ef4c7badea5006b45fdbf5ea715ae6bf0e9.webp?v=1762739980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ff9ef4c7badea5006b45fdbf5ea715ae6bf0e9.webp?v=1762739980","width":2000},{"alt":null,"id":26345668870243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5b0c91eb6b3ee9e39e234deeef5726f08d37536.webp?v=1762739980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5b0c91eb6b3ee9e39e234deeef5726f08d37536.webp?v=1762739980","width":2000},{"alt":null,"id":26345669754979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d19c3ecc129100debfefa7f45fcf984ef10e9b7e.webp?v=1762739981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d19c3ecc129100debfefa7f45fcf984ef10e9b7e.webp?v=1762739981","width":2000},{"alt":null,"id":26351489024099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d19c3ecc129100debfefa7f45fcf984ef10e9b7e_fa7b31bc-ed52-4708-833b-7fa1c94aac61.webp?v=1762825172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d19c3ecc129100debfefa7f45fcf984ef10e9b7e_fa7b31bc-ed52-4708-833b-7fa1c94aac61.webp?v=1762825172","width":2000},{"alt":null,"id":26351489220707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b65919fd28fba5a223c47ddcf63d0de42f478d3_18b0e8a5-3512-4d16-8775-e480789a58fd.webp?v=1762825173"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b65919fd28fba5a223c47ddcf63d0de42f478d3_18b0e8a5-3512-4d16-8775-e480789a58fd.webp?v=1762825173","width":2000},{"alt":null,"id":26351489581155,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac20465d3e51c1af806f1a075d706642dabe48d4_b6f92d80-9058-400f-b83c-73ed682e3ae4.webp?v=1762825174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac20465d3e51c1af806f1a075d706642dabe48d4_b6f92d80-9058-400f-b83c-73ed682e3ae4.webp?v=1762825174","width":2000},{"alt":null,"id":26351489876067,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ff9ef4c7badea5006b45fdbf5ea715ae6bf0e9_47ae4564-1bb2-4511-8c86-8b505dd4ecf7.webp?v=1762825174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ff9ef4c7badea5006b45fdbf5ea715ae6bf0e9_47ae4564-1bb2-4511-8c86-8b505dd4ecf7.webp?v=1762825174","width":2000},{"alt":null,"id":26351490269283,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5b0c91eb6b3ee9e39e234deeef5726f08d37536_96e7887a-6d26-4ef5-9ebf-0e5089d5053c.webp?v=1762825175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5b0c91eb6b3ee9e39e234deeef5726f08d37536_96e7887a-6d26-4ef5-9ebf-0e5089d5053c.webp?v=1762825175","width":2000},{"alt":null,"id":26351490596963,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49bfe31573a0f3309f71c47769d0549667980c02_6731c8b8-7042-4f30-b383-9851ca901a20.webp?v=1762825176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49bfe31573a0f3309f71c47769d0549667980c02_6731c8b8-7042-4f30-b383-9851ca901a20.webp?v=1762825176","width":2000},{"alt":null,"id":26351490990179,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176","width":2000},{"alt":null,"id":26351491285091,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459_b8698d93-8d90-4de0-9d6e-4fcd79c5eb58.webp?v=1762825177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52bd417ed587a0e228a592dc4c52c285e1ee459_b8698d93-8d90-4de0-9d6e-4fcd79c5eb58.webp?v=1762825177","width":2000},{"alt":null,"id":26351491514467,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad5c7805802ca99b5b4146d4ad893631323890d_3250208a-141b-4d7d-b543-3af47fb10059.webp?v=1762825177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad5c7805802ca99b5b4146d4ad893631323890d_3250208a-141b-4d7d-b543-3af47fb10059.webp?v=1762825177","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827651772515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34786033893475,"product_id":7920019865699,"position":16,"created_at":"2025-11-11T09:39:34+08:00","updated_at":"2025-11-11T09:39:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176","variant_ids":[43827651772515]},"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-HD65","featured_media":{"alt":null,"id":26351490990179,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827651772515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34786033893475,"product_id":7920019865699,"position":16,"created_at":"2025-11-11T09:39:34+08:00","updated_at":"2025-11-11T09:39:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176","variant_ids":[43827651772515]},"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-HD65","featured_media":{"alt":null,"id":26351490990179,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5921a22927a88fa0832f7453fff021f2f92d31b_4cc175ee-17b7-4811-98b4-cd07ec715d83.webp?v=1762825176"}},"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: "停產" }