$product = {"id":7920204906595,"title":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 所長的營火晚會","handle":"iphone-12-pro-max-mod-nx-hd67","description":null,"published_at":"2025-11-13T09:55:13+08:00","created_at":"2025-11-10T10:10: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":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":43827921748067,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785921400931,"product_id":7920204906595,"position":14,"created_at":"2025-11-11T09:34:18+08:00","updated_at":"2025-11-11T09:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859","variant_ids":[43827921748067]},"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-HD67","featured_media":{"alt":null,"id":26351378661475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750.webp?v=1762740653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34bb429d8b48153eeeec4b5a44d68faea774d381.webp?v=1762740654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b18709600510bf5013c21ffbfa9b1767b7bb1d.webp?v=1762740654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d27b80c6c1e0aca2aa5f928c5e9828033e87723.webp?v=1762740655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50af906be002f0346afc710ad5c4af99aaee84f8.webp?v=1762740656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccfeb8c0b86e063dbb4faf8db0ffe4d78ef67bb1.webp?v=1762740657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb.webp?v=1762740657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216d21e930171f6a7667dfdc0ec724a661a11f74.webp?v=1762740658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce7af2d6c34a791faef2bdcea85f0a93ace0472.webp?v=1762740659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b18709600510bf5013c21ffbfa9b1767b7bb1d_66081543-9a16-4782-b15a-37c271bf300d.webp?v=1762824857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccfeb8c0b86e063dbb4faf8db0ffe4d78ef67bb1_62963c15-e8a8-45e4-82f5-6bbf5b749ea8.webp?v=1762824858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce7af2d6c34a791faef2bdcea85f0a93ace0472_8673df9f-80f9-4d25-a64b-1353d5fa9cc8.webp?v=1762824858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216d21e930171f6a7667dfdc0ec724a661a11f74_2d4d448f-ad06-4107-844f-8a98e630b80b.webp?v=1762824859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d27b80c6c1e0aca2aa5f928c5e9828033e87723_8e7d77d7-ef61-4cab-ade0-05742dfde1be.webp?v=1762824860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34bb429d8b48153eeeec4b5a44d68faea774d381_c0d3d273-cfe4-4ee3-b21f-b45cdb71c6f3.webp?v=1762824861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750_84ad2af1-f1bb-4fef-a976-9209529c11b7.webp?v=1762824861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50af906be002f0346afc710ad5c4af99aaee84f8_839bb62a-f605-4d61-aa10-d56be488ffec.webp?v=1762824862"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750.webp?v=1762740653","options":["color"],"media":[{"alt":null,"id":26346423287907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750.webp?v=1762740653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750.webp?v=1762740653","width":2000},{"alt":null,"id":26346423386211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34bb429d8b48153eeeec4b5a44d68faea774d381.webp?v=1762740654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34bb429d8b48153eeeec4b5a44d68faea774d381.webp?v=1762740654","width":2000},{"alt":null,"id":26346423681123,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b18709600510bf5013c21ffbfa9b1767b7bb1d.webp?v=1762740654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b18709600510bf5013c21ffbfa9b1767b7bb1d.webp?v=1762740654","width":2000},{"alt":null,"id":26346423877731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d27b80c6c1e0aca2aa5f928c5e9828033e87723.webp?v=1762740655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d27b80c6c1e0aca2aa5f928c5e9828033e87723.webp?v=1762740655","width":2000},{"alt":null,"id":26346424139875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50af906be002f0346afc710ad5c4af99aaee84f8.webp?v=1762740656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50af906be002f0346afc710ad5c4af99aaee84f8.webp?v=1762740656","width":2000},{"alt":null,"id":26346424205411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccfeb8c0b86e063dbb4faf8db0ffe4d78ef67bb1.webp?v=1762740657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccfeb8c0b86e063dbb4faf8db0ffe4d78ef67bb1.webp?v=1762740657","width":2000},{"alt":null,"id":26346424402019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb.webp?v=1762740657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb.webp?v=1762740657","width":2000},{"alt":null,"id":26346424533091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216d21e930171f6a7667dfdc0ec724a661a11f74.webp?v=1762740658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216d21e930171f6a7667dfdc0ec724a661a11f74.webp?v=1762740658","width":2000},{"alt":null,"id":26346424631395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce7af2d6c34a791faef2bdcea85f0a93ace0472.webp?v=1762740659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce7af2d6c34a791faef2bdcea85f0a93ace0472.webp?v=1762740659","width":2000},{"alt":null,"id":26351377350755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b18709600510bf5013c21ffbfa9b1767b7bb1d_66081543-9a16-4782-b15a-37c271bf300d.webp?v=1762824857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b18709600510bf5013c21ffbfa9b1767b7bb1d_66081543-9a16-4782-b15a-37c271bf300d.webp?v=1762824857","width":2000},{"alt":null,"id":26351377678435,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccfeb8c0b86e063dbb4faf8db0ffe4d78ef67bb1_62963c15-e8a8-45e4-82f5-6bbf5b749ea8.webp?v=1762824858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccfeb8c0b86e063dbb4faf8db0ffe4d78ef67bb1_62963c15-e8a8-45e4-82f5-6bbf5b749ea8.webp?v=1762824858","width":2000},{"alt":null,"id":26351378006115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce7af2d6c34a791faef2bdcea85f0a93ace0472_8673df9f-80f9-4d25-a64b-1353d5fa9cc8.webp?v=1762824858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce7af2d6c34a791faef2bdcea85f0a93ace0472_8673df9f-80f9-4d25-a64b-1353d5fa9cc8.webp?v=1762824858","width":2000},{"alt":null,"id":26351378530403,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216d21e930171f6a7667dfdc0ec724a661a11f74_2d4d448f-ad06-4107-844f-8a98e630b80b.webp?v=1762824859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216d21e930171f6a7667dfdc0ec724a661a11f74_2d4d448f-ad06-4107-844f-8a98e630b80b.webp?v=1762824859","width":2000},{"alt":null,"id":26351378661475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859","width":2000},{"alt":null,"id":26351378858083,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d27b80c6c1e0aca2aa5f928c5e9828033e87723_8e7d77d7-ef61-4cab-ade0-05742dfde1be.webp?v=1762824860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d27b80c6c1e0aca2aa5f928c5e9828033e87723_8e7d77d7-ef61-4cab-ade0-05742dfde1be.webp?v=1762824860","width":2000},{"alt":null,"id":26351378989155,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34bb429d8b48153eeeec4b5a44d68faea774d381_c0d3d273-cfe4-4ee3-b21f-b45cdb71c6f3.webp?v=1762824861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34bb429d8b48153eeeec4b5a44d68faea774d381_c0d3d273-cfe4-4ee3-b21f-b45cdb71c6f3.webp?v=1762824861","width":2000},{"alt":null,"id":26351379087459,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750_84ad2af1-f1bb-4fef-a976-9209529c11b7.webp?v=1762824861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bf5a087d5391778f41f156f6ec9856aca8e2750_84ad2af1-f1bb-4fef-a976-9209529c11b7.webp?v=1762824861","width":2000},{"alt":null,"id":26351379185763,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50af906be002f0346afc710ad5c4af99aaee84f8_839bb62a-f605-4d61-aa10-d56be488ffec.webp?v=1762824862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50af906be002f0346afc710ad5c4af99aaee84f8_839bb62a-f605-4d61-aa10-d56be488ffec.webp?v=1762824862","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827921748067,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785921400931,"product_id":7920204906595,"position":14,"created_at":"2025-11-11T09:34:18+08:00","updated_at":"2025-11-11T09:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859","variant_ids":[43827921748067]},"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-HD67","featured_media":{"alt":null,"id":26351378661475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827921748067,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785921400931,"product_id":7920204906595,"position":14,"created_at":"2025-11-11T09:34:18+08:00","updated_at":"2025-11-11T09:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859","variant_ids":[43827921748067]},"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-HD67","featured_media":{"alt":null,"id":26351378661475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebe8b8eeaae34c5e9a02e368733c40e8de2d50eb_8340a31b-6910-4781-b961-c710888a1926.webp?v=1762824859"}},"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: "停產" }