$product = {"id":7920176595043,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的星際迷航","handle":"iphone-12-pro-max-mod-nx-magsafe-hd71","description":null,"published_at":"2025-11-13T09:57:42+08:00","created_at":"2025-11-10T10:06:42+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":43827863650403,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34785910653027,"product_id":7920176595043,"position":17,"created_at":"2025-11-11T09:33:48+08:00","updated_at":"2025-11-11T09:33:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830","variant_ids":[43827863650403]},"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-HD71","featured_media":{"alt":null,"id":26351367913571,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd.webp?v=1762740409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7499f76b8aafaeafb479c810c84d330a6f1764e3.webp?v=1762740410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff3a25fb63643db4a8140877700caed0dc360.webp?v=1762740411","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269d577b5e9f3a5ce407b1046a2a35698bb35ad6.webp?v=1762740412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825639357012631a1197da52e85e314903406440.webp?v=1762740413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58be1b6e638dbff40c2773e1987adc1c72af591.webp?v=1762740413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6d9e4ba6e03588f444d237ffa72f6c0fc14e7d.webp?v=1762740414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc251aeb2cbf5d81ec289b17afac7bdae7b7858.webp?v=1762740414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aee2c5d973d2dff0a9fe3a545622a9712f31206.webp?v=1762740415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6d9e4ba6e03588f444d237ffa72f6c0fc14e7d_9e80df76-30db-4457-8363-80ac0de96823.webp?v=1762824825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc251aeb2cbf5d81ec289b17afac7bdae7b7858_70bf252f-a446-485b-94a6-78192aad6fd5.webp?v=1762824826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58be1b6e638dbff40c2773e1987adc1c72af591_466398d3-7d16-489e-9ab8-5cb1d9c53d10.webp?v=1762824827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825639357012631a1197da52e85e314903406440_711cffe0-1c1a-41dc-accb-357ffcee5493.webp?v=1762824827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aee2c5d973d2dff0a9fe3a545622a9712f31206_852ee522-7cce-43e3-a724-c40fb5bb581d.webp?v=1762824828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff3a25fb63643db4a8140877700caed0dc360_d2dd0ad6-d179-497f-9ba3-e9960a32f983.webp?v=1762824829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269d577b5e9f3a5ce407b1046a2a35698bb35ad6_26908a6a-1ac1-402e-bfb4-9ce5d05fce7e.webp?v=1762824829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7499f76b8aafaeafb479c810c84d330a6f1764e3_807d76c1-db05-42d2-b69b-642548396c60.webp?v=1762824831"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd.webp?v=1762740409","options":["color"],"media":[{"alt":null,"id":26346352345187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd.webp?v=1762740409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd.webp?v=1762740409","width":2000},{"alt":null,"id":26346352803939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7499f76b8aafaeafb479c810c84d330a6f1764e3.webp?v=1762740410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7499f76b8aafaeafb479c810c84d330a6f1764e3.webp?v=1762740410","width":2000},{"alt":null,"id":26346353328227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff3a25fb63643db4a8140877700caed0dc360.webp?v=1762740411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff3a25fb63643db4a8140877700caed0dc360.webp?v=1762740411","width":2000},{"alt":null,"id":26346354114659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269d577b5e9f3a5ce407b1046a2a35698bb35ad6.webp?v=1762740412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269d577b5e9f3a5ce407b1046a2a35698bb35ad6.webp?v=1762740412","width":2000},{"alt":null,"id":26346354507875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825639357012631a1197da52e85e314903406440.webp?v=1762740413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825639357012631a1197da52e85e314903406440.webp?v=1762740413","width":2000},{"alt":null,"id":26346355064931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58be1b6e638dbff40c2773e1987adc1c72af591.webp?v=1762740413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58be1b6e638dbff40c2773e1987adc1c72af591.webp?v=1762740413","width":2000},{"alt":null,"id":26346355720291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6d9e4ba6e03588f444d237ffa72f6c0fc14e7d.webp?v=1762740414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6d9e4ba6e03588f444d237ffa72f6c0fc14e7d.webp?v=1762740414","width":2000},{"alt":null,"id":26346356179043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc251aeb2cbf5d81ec289b17afac7bdae7b7858.webp?v=1762740414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc251aeb2cbf5d81ec289b17afac7bdae7b7858.webp?v=1762740414","width":2000},{"alt":null,"id":26346356670563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aee2c5d973d2dff0a9fe3a545622a9712f31206.webp?v=1762740415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aee2c5d973d2dff0a9fe3a545622a9712f31206.webp?v=1762740415","width":2000},{"alt":null,"id":26351366340707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6d9e4ba6e03588f444d237ffa72f6c0fc14e7d_9e80df76-30db-4457-8363-80ac0de96823.webp?v=1762824825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6d9e4ba6e03588f444d237ffa72f6c0fc14e7d_9e80df76-30db-4457-8363-80ac0de96823.webp?v=1762824825","width":2000},{"alt":null,"id":26351366570083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc251aeb2cbf5d81ec289b17afac7bdae7b7858_70bf252f-a446-485b-94a6-78192aad6fd5.webp?v=1762824826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc251aeb2cbf5d81ec289b17afac7bdae7b7858_70bf252f-a446-485b-94a6-78192aad6fd5.webp?v=1762824826","width":2000},{"alt":null,"id":26351366799459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58be1b6e638dbff40c2773e1987adc1c72af591_466398d3-7d16-489e-9ab8-5cb1d9c53d10.webp?v=1762824827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58be1b6e638dbff40c2773e1987adc1c72af591_466398d3-7d16-489e-9ab8-5cb1d9c53d10.webp?v=1762824827","width":2000},{"alt":null,"id":26351366996067,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825639357012631a1197da52e85e314903406440_711cffe0-1c1a-41dc-accb-357ffcee5493.webp?v=1762824827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825639357012631a1197da52e85e314903406440_711cffe0-1c1a-41dc-accb-357ffcee5493.webp?v=1762824827","width":2000},{"alt":null,"id":26351367225443,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aee2c5d973d2dff0a9fe3a545622a9712f31206_852ee522-7cce-43e3-a724-c40fb5bb581d.webp?v=1762824828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aee2c5d973d2dff0a9fe3a545622a9712f31206_852ee522-7cce-43e3-a724-c40fb5bb581d.webp?v=1762824828","width":2000},{"alt":null,"id":26351367553123,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff3a25fb63643db4a8140877700caed0dc360_d2dd0ad6-d179-497f-9ba3-e9960a32f983.webp?v=1762824829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff3a25fb63643db4a8140877700caed0dc360_d2dd0ad6-d179-497f-9ba3-e9960a32f983.webp?v=1762824829","width":2000},{"alt":null,"id":26351367651427,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269d577b5e9f3a5ce407b1046a2a35698bb35ad6_26908a6a-1ac1-402e-bfb4-9ce5d05fce7e.webp?v=1762824829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269d577b5e9f3a5ce407b1046a2a35698bb35ad6_26908a6a-1ac1-402e-bfb4-9ce5d05fce7e.webp?v=1762824829","width":2000},{"alt":null,"id":26351367913571,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830","width":2000},{"alt":null,"id":26351368077411,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7499f76b8aafaeafb479c810c84d330a6f1764e3_807d76c1-db05-42d2-b69b-642548396c60.webp?v=1762824831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7499f76b8aafaeafb479c810c84d330a6f1764e3_807d76c1-db05-42d2-b69b-642548396c60.webp?v=1762824831","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827863650403,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34785910653027,"product_id":7920176595043,"position":17,"created_at":"2025-11-11T09:33:48+08:00","updated_at":"2025-11-11T09:33:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830","variant_ids":[43827863650403]},"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-HD71","featured_media":{"alt":null,"id":26351367913571,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827863650403,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34785910653027,"product_id":7920176595043,"position":17,"created_at":"2025-11-11T09:33:48+08:00","updated_at":"2025-11-11T09:33:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830","variant_ids":[43827863650403]},"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-HD71","featured_media":{"alt":null,"id":26351367913571,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0f0ce58d3bd07fd99169fabb16384658df4bd_e212d36a-b269-435c-82be-454412e55742.webp?v=1762824830"}},"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: "停產" }