$product = {"id":7921137188963,"title":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 公園裡的格爾尼卡","handle":"iphone-12-pro-max-mod-nx-hd72","description":null,"published_at":"2025-11-13T09:48:47+08:00","created_at":"2025-11-11T09:45:52+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":43830910484579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793952641123,"product_id":7921137188963,"position":13,"created_at":"2025-11-13T09:29:28+08:00","updated_at":"2025-11-13T09:29:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370","variant_ids":[43830910484579]},"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-HD72","featured_media":{"alt":null,"id":26359372972131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6.webp?v=1762825558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b8a767dc061053eb4676868106b4fe12d88a168.webp?v=1762825559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326556fd05d2ae9923efc382c175e658c8f1d651.webp?v=1762825559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab6f059e2645b33e79ddc61c0a30a6814ff4abee.webp?v=1762825561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c.webp?v=1762825561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b55d4edea1cf23c9e86b5d9ca5b9917abc80.webp?v=1762825562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4f8242de61a90d0f3d123ff502b397bb43a58bb.webp?v=1762825562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5099a36acc3aa7ca98e0cbe8710a14473bb5ce7a.webp?v=1762825563","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b02d770f646ba89395bf799e0656cbee9ef345.webp?v=1762825564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6_80e084bb-c0c7-4ce7-a342-2cbbc5e21362.webp?v=1762997368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4f8242de61a90d0f3d123ff502b397bb43a58bb_2666849d-f156-4f78-9242-642e58a92e12.webp?v=1762997369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b8a767dc061053eb4676868106b4fe12d88a168_8136742f-3a5a-4945-9350-cc8d80c3e16d.webp?v=1762997370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5099a36acc3aa7ca98e0cbe8710a14473bb5ce7a_8c961578-43d7-451f-b8ff-47a438948eaa.webp?v=1762997371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b55d4edea1cf23c9e86b5d9ca5b9917abc80_f5b93640-5b5a-4d03-abe9-d7429969ac84.webp?v=1762997372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b02d770f646ba89395bf799e0656cbee9ef345_4056ef38-dab1-4b7b-86b1-0d776c7509a8.webp?v=1762997373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab6f059e2645b33e79ddc61c0a30a6814ff4abee_36f22f16-9c9c-47f5-9add-5f5ccaae65fb.webp?v=1762997373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326556fd05d2ae9923efc382c175e658c8f1d651_ecbad91f-c000-4652-9361-f5340d13941b.webp?v=1762997374"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6.webp?v=1762825558","options":["color"],"media":[{"alt":null,"id":26351629238371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6.webp?v=1762825558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6.webp?v=1762825558","width":2000},{"alt":null,"id":26351629402211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b8a767dc061053eb4676868106b4fe12d88a168.webp?v=1762825559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b8a767dc061053eb4676868106b4fe12d88a168.webp?v=1762825559","width":2000},{"alt":null,"id":26351629598819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326556fd05d2ae9923efc382c175e658c8f1d651.webp?v=1762825559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326556fd05d2ae9923efc382c175e658c8f1d651.webp?v=1762825559","width":2000},{"alt":null,"id":26351629762659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab6f059e2645b33e79ddc61c0a30a6814ff4abee.webp?v=1762825561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab6f059e2645b33e79ddc61c0a30a6814ff4abee.webp?v=1762825561","width":2000},{"alt":null,"id":26351629959267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c.webp?v=1762825561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c.webp?v=1762825561","width":2000},{"alt":null,"id":26351630123107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b55d4edea1cf23c9e86b5d9ca5b9917abc80.webp?v=1762825562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b55d4edea1cf23c9e86b5d9ca5b9917abc80.webp?v=1762825562","width":2000},{"alt":null,"id":26351630286947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4f8242de61a90d0f3d123ff502b397bb43a58bb.webp?v=1762825562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4f8242de61a90d0f3d123ff502b397bb43a58bb.webp?v=1762825562","width":2000},{"alt":null,"id":26351630614627,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5099a36acc3aa7ca98e0cbe8710a14473bb5ce7a.webp?v=1762825563"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5099a36acc3aa7ca98e0cbe8710a14473bb5ce7a.webp?v=1762825563","width":2000},{"alt":null,"id":26351631040611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b02d770f646ba89395bf799e0656cbee9ef345.webp?v=1762825564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b02d770f646ba89395bf799e0656cbee9ef345.webp?v=1762825564","width":2000},{"alt":null,"id":26359372251235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6_80e084bb-c0c7-4ce7-a342-2cbbc5e21362.webp?v=1762997368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05ee128ff8429a0fccff3b20da9330dcd6f3f4c6_80e084bb-c0c7-4ce7-a342-2cbbc5e21362.webp?v=1762997368","width":2000},{"alt":null,"id":26359372480611,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4f8242de61a90d0f3d123ff502b397bb43a58bb_2666849d-f156-4f78-9242-642e58a92e12.webp?v=1762997369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4f8242de61a90d0f3d123ff502b397bb43a58bb_2666849d-f156-4f78-9242-642e58a92e12.webp?v=1762997369","width":2000},{"alt":null,"id":26359372775523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b8a767dc061053eb4676868106b4fe12d88a168_8136742f-3a5a-4945-9350-cc8d80c3e16d.webp?v=1762997370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b8a767dc061053eb4676868106b4fe12d88a168_8136742f-3a5a-4945-9350-cc8d80c3e16d.webp?v=1762997370","width":2000},{"alt":null,"id":26359372972131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370","width":2000},{"alt":null,"id":26359373201507,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5099a36acc3aa7ca98e0cbe8710a14473bb5ce7a_8c961578-43d7-451f-b8ff-47a438948eaa.webp?v=1762997371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5099a36acc3aa7ca98e0cbe8710a14473bb5ce7a_8c961578-43d7-451f-b8ff-47a438948eaa.webp?v=1762997371","width":2000},{"alt":null,"id":26359373627491,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b55d4edea1cf23c9e86b5d9ca5b9917abc80_f5b93640-5b5a-4d03-abe9-d7429969ac84.webp?v=1762997372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b55d4edea1cf23c9e86b5d9ca5b9917abc80_f5b93640-5b5a-4d03-abe9-d7429969ac84.webp?v=1762997372","width":2000},{"alt":null,"id":26359373856867,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b02d770f646ba89395bf799e0656cbee9ef345_4056ef38-dab1-4b7b-86b1-0d776c7509a8.webp?v=1762997373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b02d770f646ba89395bf799e0656cbee9ef345_4056ef38-dab1-4b7b-86b1-0d776c7509a8.webp?v=1762997373","width":2000},{"alt":null,"id":26359374086243,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab6f059e2645b33e79ddc61c0a30a6814ff4abee_36f22f16-9c9c-47f5-9add-5f5ccaae65fb.webp?v=1762997373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab6f059e2645b33e79ddc61c0a30a6814ff4abee_36f22f16-9c9c-47f5-9add-5f5ccaae65fb.webp?v=1762997373","width":2000},{"alt":null,"id":26359374250083,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326556fd05d2ae9923efc382c175e658c8f1d651_ecbad91f-c000-4652-9361-f5340d13941b.webp?v=1762997374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326556fd05d2ae9923efc382c175e658c8f1d651_ecbad91f-c000-4652-9361-f5340d13941b.webp?v=1762997374","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830910484579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793952641123,"product_id":7921137188963,"position":13,"created_at":"2025-11-13T09:29:28+08:00","updated_at":"2025-11-13T09:29:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370","variant_ids":[43830910484579]},"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-HD72","featured_media":{"alt":null,"id":26359372972131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830910484579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793952641123,"product_id":7921137188963,"position":13,"created_at":"2025-11-13T09:29:28+08:00","updated_at":"2025-11-13T09:29:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370","variant_ids":[43830910484579]},"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-HD72","featured_media":{"alt":null,"id":26359372972131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ccdef42ab405eb71437c94d7051d94d355b551c_d86c83af-5c1e-4897-b40f-f6c93641ad62.webp?v=1762997370"}},"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: "停產" }