$product = {"id":7921132339299,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 公園裡的格爾尼卡","handle":"iphone-12-pro-max-mod-nx-magsafe-hd72","description":null,"published_at":"2025-11-13T09:49:21+08:00","created_at":"2025-11-11T09:43:47+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":43830890856547,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793853288547,"product_id":7921132339299,"position":15,"created_at":"2025-11-13T09:24:07+08:00","updated_at":"2025-11-13T09:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050","variant_ids":[43830890856547]},"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-HD72","featured_media":{"alt":null,"id":26359273619555,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981.webp?v=1762825433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88484c430bbf295dc8b2518ba8b6acd0218eeedb.webp?v=1762825434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67eca34e9113aa49f0f116e9c898ee6897aceb8.webp?v=1762825435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34aa2bf629108e890883af58a00c0c89743d7e77.webp?v=1762825435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e19c380e4929e8dbe7ab617bd95d8cf81c72c0a.webp?v=1762825436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a295285c24914b2ae6a96e446ea862aff5bf2348.webp?v=1762825437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65adcc5dd8c77b2e49ceebae1a621ddfafdbe790.webp?v=1762825438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342.webp?v=1762825438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d577ac0df5eb5f62008783a1a5dd94a026466835.webp?v=1762825439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34aa2bf629108e890883af58a00c0c89743d7e77_6348f8b4-4fd6-41e7-b02f-59c0df2f902e.webp?v=1762997046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67eca34e9113aa49f0f116e9c898ee6897aceb8_7a2900da-dfac-44cb-a33e-f073d7c4fb94.webp?v=1762997047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88484c430bbf295dc8b2518ba8b6acd0218eeedb_a3381b34-c908-430f-8f4d-78111fea1d64.webp?v=1762997048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e19c380e4929e8dbe7ab617bd95d8cf81c72c0a_2af52973-1614-45e6-b28c-a8846321663f.webp?v=1762997048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a295285c24914b2ae6a96e446ea862aff5bf2348_bb223cd4-8a69-4ff8-8f03-0f4b670d65e4.webp?v=1762997049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d577ac0df5eb5f62008783a1a5dd94a026466835_675d39b2-8de6-4b5c-a10a-f5762de1a479.webp?v=1762997050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981_7558d646-9490-48b9-a345-9e68a6aa4502.webp?v=1762997051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65adcc5dd8c77b2e49ceebae1a621ddfafdbe790_9853dddd-aced-487a-b72b-76ec8e9b1c11.webp?v=1762997052"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981.webp?v=1762825433","options":["color"],"media":[{"alt":null,"id":26351582117987,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981.webp?v=1762825433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981.webp?v=1762825433","width":2000},{"alt":null,"id":26351582412899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88484c430bbf295dc8b2518ba8b6acd0218eeedb.webp?v=1762825434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88484c430bbf295dc8b2518ba8b6acd0218eeedb.webp?v=1762825434","width":2000},{"alt":null,"id":26351582740579,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67eca34e9113aa49f0f116e9c898ee6897aceb8.webp?v=1762825435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67eca34e9113aa49f0f116e9c898ee6897aceb8.webp?v=1762825435","width":2000},{"alt":null,"id":26351583133795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34aa2bf629108e890883af58a00c0c89743d7e77.webp?v=1762825435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34aa2bf629108e890883af58a00c0c89743d7e77.webp?v=1762825435","width":2000},{"alt":null,"id":26351583330403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e19c380e4929e8dbe7ab617bd95d8cf81c72c0a.webp?v=1762825436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e19c380e4929e8dbe7ab617bd95d8cf81c72c0a.webp?v=1762825436","width":2000},{"alt":null,"id":26351583494243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a295285c24914b2ae6a96e446ea862aff5bf2348.webp?v=1762825437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a295285c24914b2ae6a96e446ea862aff5bf2348.webp?v=1762825437","width":2000},{"alt":null,"id":26351583756387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65adcc5dd8c77b2e49ceebae1a621ddfafdbe790.webp?v=1762825438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65adcc5dd8c77b2e49ceebae1a621ddfafdbe790.webp?v=1762825438","width":2000},{"alt":null,"id":26351584051299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342.webp?v=1762825438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342.webp?v=1762825438","width":2000},{"alt":null,"id":26351584346211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d577ac0df5eb5f62008783a1a5dd94a026466835.webp?v=1762825439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d577ac0df5eb5f62008783a1a5dd94a026466835.webp?v=1762825439","width":2000},{"alt":null,"id":26359272374371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34aa2bf629108e890883af58a00c0c89743d7e77_6348f8b4-4fd6-41e7-b02f-59c0df2f902e.webp?v=1762997046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34aa2bf629108e890883af58a00c0c89743d7e77_6348f8b4-4fd6-41e7-b02f-59c0df2f902e.webp?v=1762997046","width":2000},{"alt":null,"id":26359272702051,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67eca34e9113aa49f0f116e9c898ee6897aceb8_7a2900da-dfac-44cb-a33e-f073d7c4fb94.webp?v=1762997047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67eca34e9113aa49f0f116e9c898ee6897aceb8_7a2900da-dfac-44cb-a33e-f073d7c4fb94.webp?v=1762997047","width":2000},{"alt":null,"id":26359272931427,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88484c430bbf295dc8b2518ba8b6acd0218eeedb_a3381b34-c908-430f-8f4d-78111fea1d64.webp?v=1762997048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88484c430bbf295dc8b2518ba8b6acd0218eeedb_a3381b34-c908-430f-8f4d-78111fea1d64.webp?v=1762997048","width":2000},{"alt":null,"id":26359273160803,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e19c380e4929e8dbe7ab617bd95d8cf81c72c0a_2af52973-1614-45e6-b28c-a8846321663f.webp?v=1762997048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e19c380e4929e8dbe7ab617bd95d8cf81c72c0a_2af52973-1614-45e6-b28c-a8846321663f.webp?v=1762997048","width":2000},{"alt":null,"id":26359273390179,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a295285c24914b2ae6a96e446ea862aff5bf2348_bb223cd4-8a69-4ff8-8f03-0f4b670d65e4.webp?v=1762997049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a295285c24914b2ae6a96e446ea862aff5bf2348_bb223cd4-8a69-4ff8-8f03-0f4b670d65e4.webp?v=1762997049","width":2000},{"alt":null,"id":26359273619555,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050","width":2000},{"alt":null,"id":26359273914467,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d577ac0df5eb5f62008783a1a5dd94a026466835_675d39b2-8de6-4b5c-a10a-f5762de1a479.webp?v=1762997050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d577ac0df5eb5f62008783a1a5dd94a026466835_675d39b2-8de6-4b5c-a10a-f5762de1a479.webp?v=1762997050","width":2000},{"alt":null,"id":26359274274915,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981_7558d646-9490-48b9-a345-9e68a6aa4502.webp?v=1762997051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/388c2fa0341a485e31335ada7da39ff2299b2981_7558d646-9490-48b9-a345-9e68a6aa4502.webp?v=1762997051","width":2000},{"alt":null,"id":26359274733667,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65adcc5dd8c77b2e49ceebae1a621ddfafdbe790_9853dddd-aced-487a-b72b-76ec8e9b1c11.webp?v=1762997052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65adcc5dd8c77b2e49ceebae1a621ddfafdbe790_9853dddd-aced-487a-b72b-76ec8e9b1c11.webp?v=1762997052","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830890856547,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793853288547,"product_id":7921132339299,"position":15,"created_at":"2025-11-13T09:24:07+08:00","updated_at":"2025-11-13T09:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050","variant_ids":[43830890856547]},"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-HD72","featured_media":{"alt":null,"id":26359273619555,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830890856547,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793853288547,"product_id":7921132339299,"position":15,"created_at":"2025-11-13T09:24:07+08:00","updated_at":"2025-11-13T09:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050","variant_ids":[43830890856547]},"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-HD72","featured_media":{"alt":null,"id":26359273619555,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1873edd96f64a78646075e0ca25b28ffd5342_6c31b97a-f67a-4b19-b1d1-2898700c61cb.webp?v=1762997050"}},"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: "停產" }