$product = {"id":7919967797347,"title":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX Incrediville 怪奇事物所 所長的聖地巡禮","handle":"iphone-8-mod-nx-hd65","description":null,"published_at":"2025-11-13T10:05:06+08:00","created_at":"2025-11-10T09:54:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 8","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":43827558908003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34786022424675,"product_id":7919967797347,"position":14,"created_at":"2025-11-11T09:39:03+08:00","updated_at":"2025-11-11T09:39:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145","variant_ids":[43827558908003]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 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":"NPB0105424-HD65","featured_media":{"alt":null,"id":26351479554147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e.webp?v=1762739686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b80926f1e22c6d3de21bef0a8e0af642df08d6.webp?v=1762739687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13dfa1c0fed0dce870c06ef8c5af873e44dd7d9f.webp?v=1762739688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d8c20610da46d32df232fbbd7f28722e83b8c2.webp?v=1762739688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/741888ddde9d513f4a64faaa7e670304df66c811.webp?v=1762739689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f504ca4ad4193042bc8f6b208f32b85f9f1e427.webp?v=1762739690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce5b621d6f14c2ac61a3f4a47fb1b928381bc31.webp?v=1762739691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af.webp?v=1762739692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e_0ca49422-f83a-4bf6-ae78-028c5bff4f28.webp?v=1762825142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce5b621d6f14c2ac61a3f4a47fb1b928381bc31_e3663106-f3d7-48e5-8ddc-71abb520c91d.webp?v=1762825142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b80926f1e22c6d3de21bef0a8e0af642df08d6_cb399d70-e134-4537-88a5-1cb2ad31a082.webp?v=1762825143","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d8c20610da46d32df232fbbd7f28722e83b8c2_f2ee0932-f492-41ea-9ca1-6d37589e17e5.webp?v=1762825144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f504ca4ad4193042bc8f6b208f32b85f9f1e427_8e6c6bf4-aa07-434a-93e1-e41e61a7935b.webp?v=1762825144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/741888ddde9d513f4a64faaa7e670304df66c811_7fdd9800-daa1-4be4-858c-c9cef23fe03e.webp?v=1762825145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13dfa1c0fed0dce870c06ef8c5af873e44dd7d9f_4b2a6ca4-1f4e-496e-9356-675b67795c23.webp?v=1762825146"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e.webp?v=1762739686","options":["color"],"media":[{"alt":null,"id":26345466396771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e.webp?v=1762739686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e.webp?v=1762739686","width":2000},{"alt":null,"id":26345466462307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b80926f1e22c6d3de21bef0a8e0af642df08d6.webp?v=1762739687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b80926f1e22c6d3de21bef0a8e0af642df08d6.webp?v=1762739687","width":2000},{"alt":null,"id":26345466593379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13dfa1c0fed0dce870c06ef8c5af873e44dd7d9f.webp?v=1762739688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13dfa1c0fed0dce870c06ef8c5af873e44dd7d9f.webp?v=1762739688","width":2000},{"alt":null,"id":26345466691683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d8c20610da46d32df232fbbd7f28722e83b8c2.webp?v=1762739688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d8c20610da46d32df232fbbd7f28722e83b8c2.webp?v=1762739688","width":2000},{"alt":null,"id":26345466953827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/741888ddde9d513f4a64faaa7e670304df66c811.webp?v=1762739689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/741888ddde9d513f4a64faaa7e670304df66c811.webp?v=1762739689","width":2000},{"alt":null,"id":26345467183203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f504ca4ad4193042bc8f6b208f32b85f9f1e427.webp?v=1762739690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f504ca4ad4193042bc8f6b208f32b85f9f1e427.webp?v=1762739690","width":2000},{"alt":null,"id":26345467347043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce5b621d6f14c2ac61a3f4a47fb1b928381bc31.webp?v=1762739691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce5b621d6f14c2ac61a3f4a47fb1b928381bc31.webp?v=1762739691","width":2000},{"alt":null,"id":26345467609187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af.webp?v=1762739692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af.webp?v=1762739692","width":2000},{"alt":null,"id":26351478702179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e_0ca49422-f83a-4bf6-ae78-028c5bff4f28.webp?v=1762825142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706449c95cafca5af1b7f7f8a3a5e6a82db1e4e_0ca49422-f83a-4bf6-ae78-028c5bff4f28.webp?v=1762825142","width":2000},{"alt":null,"id":26351478866019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce5b621d6f14c2ac61a3f4a47fb1b928381bc31_e3663106-f3d7-48e5-8ddc-71abb520c91d.webp?v=1762825142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce5b621d6f14c2ac61a3f4a47fb1b928381bc31_e3663106-f3d7-48e5-8ddc-71abb520c91d.webp?v=1762825142","width":2000},{"alt":null,"id":26351478997091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b80926f1e22c6d3de21bef0a8e0af642df08d6_cb399d70-e134-4537-88a5-1cb2ad31a082.webp?v=1762825143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75b80926f1e22c6d3de21bef0a8e0af642df08d6_cb399d70-e134-4537-88a5-1cb2ad31a082.webp?v=1762825143","width":2000},{"alt":null,"id":26351479193699,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d8c20610da46d32df232fbbd7f28722e83b8c2_f2ee0932-f492-41ea-9ca1-6d37589e17e5.webp?v=1762825144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d8c20610da46d32df232fbbd7f28722e83b8c2_f2ee0932-f492-41ea-9ca1-6d37589e17e5.webp?v=1762825144","width":2000},{"alt":null,"id":26351479357539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f504ca4ad4193042bc8f6b208f32b85f9f1e427_8e6c6bf4-aa07-434a-93e1-e41e61a7935b.webp?v=1762825144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f504ca4ad4193042bc8f6b208f32b85f9f1e427_8e6c6bf4-aa07-434a-93e1-e41e61a7935b.webp?v=1762825144","width":2000},{"alt":null,"id":26351479554147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145","width":2000},{"alt":null,"id":26351479783523,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/741888ddde9d513f4a64faaa7e670304df66c811_7fdd9800-daa1-4be4-858c-c9cef23fe03e.webp?v=1762825145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/741888ddde9d513f4a64faaa7e670304df66c811_7fdd9800-daa1-4be4-858c-c9cef23fe03e.webp?v=1762825145","width":2000},{"alt":null,"id":26351480143971,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13dfa1c0fed0dce870c06ef8c5af873e44dd7d9f_4b2a6ca4-1f4e-496e-9356-675b67795c23.webp?v=1762825146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13dfa1c0fed0dce870c06ef8c5af873e44dd7d9f_4b2a6ca4-1f4e-496e-9356-675b67795c23.webp?v=1762825146","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43827558908003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34786022424675,"product_id":7919967797347,"position":14,"created_at":"2025-11-11T09:39:03+08:00","updated_at":"2025-11-11T09:39:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145","variant_ids":[43827558908003]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 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":"NPB0105424-HD65","featured_media":{"alt":null,"id":26351479554147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827558908003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-HD65","requires_shipping":true,"taxable":true,"featured_image":{"id":34786022424675,"product_id":7919967797347,"position":14,"created_at":"2025-11-11T09:39:03+08:00","updated_at":"2025-11-11T09:39:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145","variant_ids":[43827558908003]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 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":"NPB0105424-HD65","featured_media":{"alt":null,"id":26351479554147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f1cb71ae034e7f8685f3af595cf4088576fe3af_6fd0a36b-7d56-458f-93ab-da95b0dfd958.webp?v=1762825145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }