$product = {"id":7920194879587,"title":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 所長的聖地巡禮","handle":"iphone-12-pro-max-mod-nx-hd65","description":null,"published_at":"2025-11-13T09:56:19+08:00","created_at":"2025-11-10T10:08:58+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":90000,"price_min":90000,"price_max":90000,"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":43827897696355,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34785912455267,"product_id":7920194879587,"position":13,"created_at":"2025-11-11T09:33:54+08:00","updated_at":"2025-11-11T09:33:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836","variant_ids":[43827897696355]},"available":true,"name":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 所長的聖地巡禮 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-HD65","featured_media":{"alt":null,"id":26351369584739,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698.webp?v=1762740545","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24513c30dbcc2018833975ae082798835bdecb31.webp?v=1762740546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5b48e994deca4edebc1fcbada241cae7ec3da0.webp?v=1762740548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dd20119723a504bf7ae23d47364d0ab8d7845df.webp?v=1762740547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04eb09dffd41538e16d4051f9da223b65a1ba5f.webp?v=1762740548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06d108d9179f4f357466114de727767991954860.webp?v=1762740549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71.webp?v=1762740549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab766d1b56a3253bedadb92a565f871c4157318.webp?v=1762740550","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b16dc44717202bf39a5dab2260b5b303e629d888.webp?v=1762740551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5b48e994deca4edebc1fcbada241cae7ec3da0_0075aae9-c11c-49cb-9daa-70328b8363f1.webp?v=1762824834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b16dc44717202bf39a5dab2260b5b303e629d888_ca23b9fc-0b42-4a2b-8648-bca83c0e123a.webp?v=1762824835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698_f79c1b3c-a95a-452d-83ab-f4ab24485a99.webp?v=1762824835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06d108d9179f4f357466114de727767991954860_b5d5a35d-d5d3-4cfc-af24-9810591912f8.webp?v=1762824837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04eb09dffd41538e16d4051f9da223b65a1ba5f_85e4273e-bef1-499f-b466-0ed8e103e67c.webp?v=1762824837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24513c30dbcc2018833975ae082798835bdecb31_39296dec-3ce5-4605-9063-fea21203544b.webp?v=1762824838","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab766d1b56a3253bedadb92a565f871c4157318_5e94689b-0826-4215-8915-994f342dffaa.webp?v=1762824839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dd20119723a504bf7ae23d47364d0ab8d7845df_27741485-ef98-43f6-ad89-02450095d162.webp?v=1762824839"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698.webp?v=1762740545","options":["color"],"media":[{"alt":null,"id":26346400088163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698.webp?v=1762740545"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698.webp?v=1762740545","width":2000},{"alt":null,"id":26346400284771,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24513c30dbcc2018833975ae082798835bdecb31.webp?v=1762740546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24513c30dbcc2018833975ae082798835bdecb31.webp?v=1762740546","width":2000},{"alt":null,"id":26346400514147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5b48e994deca4edebc1fcbada241cae7ec3da0.webp?v=1762740548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5b48e994deca4edebc1fcbada241cae7ec3da0.webp?v=1762740548","width":2000},{"alt":null,"id":26346400809059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dd20119723a504bf7ae23d47364d0ab8d7845df.webp?v=1762740547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dd20119723a504bf7ae23d47364d0ab8d7845df.webp?v=1762740547","width":2000},{"alt":null,"id":26346401038435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04eb09dffd41538e16d4051f9da223b65a1ba5f.webp?v=1762740548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04eb09dffd41538e16d4051f9da223b65a1ba5f.webp?v=1762740548","width":2000},{"alt":null,"id":26346401103971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06d108d9179f4f357466114de727767991954860.webp?v=1762740549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06d108d9179f4f357466114de727767991954860.webp?v=1762740549","width":2000},{"alt":null,"id":26346401235043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71.webp?v=1762740549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71.webp?v=1762740549","width":2000},{"alt":null,"id":26346401333347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab766d1b56a3253bedadb92a565f871c4157318.webp?v=1762740550"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab766d1b56a3253bedadb92a565f871c4157318.webp?v=1762740550","width":2000},{"alt":null,"id":26346401366115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b16dc44717202bf39a5dab2260b5b303e629d888.webp?v=1762740551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b16dc44717202bf39a5dab2260b5b303e629d888.webp?v=1762740551","width":2000},{"alt":null,"id":26351368831075,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5b48e994deca4edebc1fcbada241cae7ec3da0_0075aae9-c11c-49cb-9daa-70328b8363f1.webp?v=1762824834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5b48e994deca4edebc1fcbada241cae7ec3da0_0075aae9-c11c-49cb-9daa-70328b8363f1.webp?v=1762824834","width":2000},{"alt":null,"id":26351369093219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b16dc44717202bf39a5dab2260b5b303e629d888_ca23b9fc-0b42-4a2b-8648-bca83c0e123a.webp?v=1762824835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b16dc44717202bf39a5dab2260b5b303e629d888_ca23b9fc-0b42-4a2b-8648-bca83c0e123a.webp?v=1762824835","width":2000},{"alt":null,"id":26351369355363,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698_f79c1b3c-a95a-452d-83ab-f4ab24485a99.webp?v=1762824835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77f514ee3deda7f7b2bb99431d8a1c3ab1163698_f79c1b3c-a95a-452d-83ab-f4ab24485a99.webp?v=1762824835","width":2000},{"alt":null,"id":26351369584739,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836","width":2000},{"alt":null,"id":26351369945187,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06d108d9179f4f357466114de727767991954860_b5d5a35d-d5d3-4cfc-af24-9810591912f8.webp?v=1762824837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06d108d9179f4f357466114de727767991954860_b5d5a35d-d5d3-4cfc-af24-9810591912f8.webp?v=1762824837","width":2000},{"alt":null,"id":26351370207331,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04eb09dffd41538e16d4051f9da223b65a1ba5f_85e4273e-bef1-499f-b466-0ed8e103e67c.webp?v=1762824837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f04eb09dffd41538e16d4051f9da223b65a1ba5f_85e4273e-bef1-499f-b466-0ed8e103e67c.webp?v=1762824837","width":2000},{"alt":null,"id":26351370567779,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24513c30dbcc2018833975ae082798835bdecb31_39296dec-3ce5-4605-9063-fea21203544b.webp?v=1762824838"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24513c30dbcc2018833975ae082798835bdecb31_39296dec-3ce5-4605-9063-fea21203544b.webp?v=1762824838","width":2000},{"alt":null,"id":26351370928227,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab766d1b56a3253bedadb92a565f871c4157318_5e94689b-0826-4215-8915-994f342dffaa.webp?v=1762824839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab766d1b56a3253bedadb92a565f871c4157318_5e94689b-0826-4215-8915-994f342dffaa.webp?v=1762824839","width":2000},{"alt":null,"id":26351371223139,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dd20119723a504bf7ae23d47364d0ab8d7845df_27741485-ef98-43f6-ad89-02450095d162.webp?v=1762824839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dd20119723a504bf7ae23d47364d0ab8d7845df_27741485-ef98-43f6-ad89-02450095d162.webp?v=1762824839","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827897696355,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34785912455267,"product_id":7920194879587,"position":13,"created_at":"2025-11-11T09:33:54+08:00","updated_at":"2025-11-11T09:33:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836","variant_ids":[43827897696355]},"available":true,"name":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 所長的聖地巡禮 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-HD65","featured_media":{"alt":null,"id":26351369584739,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827897696355,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34785912455267,"product_id":7920194879587,"position":13,"created_at":"2025-11-11T09:33:54+08:00","updated_at":"2025-11-11T09:33:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836","variant_ids":[43827897696355]},"available":true,"name":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 所長的聖地巡禮 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-HD65","featured_media":{"alt":null,"id":26351369584739,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a591a2d9281b4c0ec52108f079537287a08ebb71_5fb041d4-3ac7-49a7-91bc-a928e62f6689.webp?v=1762824836"}},"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: "停產" }