$product = {"id":7919986999395,"title":"iPhone 12 Pro Max Mod NX Incrediville 怪奇事物所 所長的瑜珈時間","handle":"iphone-12-pro-max-mod-nx-hd66","description":null,"published_at":"2025-11-13T10:03:00+08:00","created_at":"2025-11-10T09:58:08+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":43827608453219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34785945485411,"product_id":7919986999395,"position":11,"created_at":"2025-11-11T09:35:23+08:00","updated_at":"2025-11-11T09:35:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925","variant_ids":[43827608453219]},"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-HD66","featured_media":{"alt":null,"id":26351402582115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e.webp?v=1762739895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30561a4b7a0d07e568fad801a6b985156d32f9e.webp?v=1762739896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/511285e67a0cb0ac7682fbbb3ba6d438867feacd.webp?v=1762739896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/662084ba6cf285362a1e3d38154175d85db0a776.webp?v=1762739897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1a1cea6cf9d411dac4d16cd34baa4115c83b6a.webp?v=1762739897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec.webp?v=1762739898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7334f20d9116d1888ebf1925552084b1e126864d.webp?v=1762739899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b7a9b534ee09c905945890ba45d106736942fd.webp?v=1762739900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee0c872dbe783510e7e1c9a44fa9aa74333b833c.webp?v=1762739900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1a1cea6cf9d411dac4d16cd34baa4115c83b6a_b1be8b00-adbf-4347-bb59-e376f60a7e9d.webp?v=1762824925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/662084ba6cf285362a1e3d38154175d85db0a776_24ae80ce-0b24-47f1-9763-c84d3c0e6f5d.webp?v=1762824926","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b7a9b534ee09c905945890ba45d106736942fd_8c030728-f78e-461c-ac11-8400d2fe7789.webp?v=1762824927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7334f20d9116d1888ebf1925552084b1e126864d_b87cb45f-7cb0-4f7a-8d86-278fedfa309b.webp?v=1762824927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee0c872dbe783510e7e1c9a44fa9aa74333b833c_7c043603-cce5-4ad1-a490-751bb769f9c9.webp?v=1762824928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30561a4b7a0d07e568fad801a6b985156d32f9e_3c94be1e-b210-43c2-ad49-f10f7c49b7ad.webp?v=1762824928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/511285e67a0cb0ac7682fbbb3ba6d438867feacd_2285bef0-cc1c-41ba-8de4-5be432f4c666.webp?v=1762824929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e_899c7895-1ed5-428b-a3d1-0e026c6c7ca4.webp?v=1762824930"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e.webp?v=1762739895","options":["color"],"media":[{"alt":null,"id":26345518235747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e.webp?v=1762739895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e.webp?v=1762739895","width":2000},{"alt":null,"id":26345518989411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30561a4b7a0d07e568fad801a6b985156d32f9e.webp?v=1762739896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30561a4b7a0d07e568fad801a6b985156d32f9e.webp?v=1762739896","width":2000},{"alt":null,"id":26345519874147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/511285e67a0cb0ac7682fbbb3ba6d438867feacd.webp?v=1762739896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/511285e67a0cb0ac7682fbbb3ba6d438867feacd.webp?v=1762739896","width":2000},{"alt":null,"id":26345521021027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/662084ba6cf285362a1e3d38154175d85db0a776.webp?v=1762739897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/662084ba6cf285362a1e3d38154175d85db0a776.webp?v=1762739897","width":2000},{"alt":null,"id":26345522004067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1a1cea6cf9d411dac4d16cd34baa4115c83b6a.webp?v=1762739897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1a1cea6cf9d411dac4d16cd34baa4115c83b6a.webp?v=1762739897","width":2000},{"alt":null,"id":26345523118179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec.webp?v=1762739898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec.webp?v=1762739898","width":2000},{"alt":null,"id":26345524428899,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7334f20d9116d1888ebf1925552084b1e126864d.webp?v=1762739899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7334f20d9116d1888ebf1925552084b1e126864d.webp?v=1762739899","width":2000},{"alt":null,"id":26345525346403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b7a9b534ee09c905945890ba45d106736942fd.webp?v=1762739900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b7a9b534ee09c905945890ba45d106736942fd.webp?v=1762739900","width":2000},{"alt":null,"id":26345526460515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee0c872dbe783510e7e1c9a44fa9aa74333b833c.webp?v=1762739900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee0c872dbe783510e7e1c9a44fa9aa74333b833c.webp?v=1762739900","width":2000},{"alt":null,"id":26351402352739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1a1cea6cf9d411dac4d16cd34baa4115c83b6a_b1be8b00-adbf-4347-bb59-e376f60a7e9d.webp?v=1762824925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1a1cea6cf9d411dac4d16cd34baa4115c83b6a_b1be8b00-adbf-4347-bb59-e376f60a7e9d.webp?v=1762824925","width":2000},{"alt":null,"id":26351402582115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925","width":2000},{"alt":null,"id":26351402778723,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/662084ba6cf285362a1e3d38154175d85db0a776_24ae80ce-0b24-47f1-9763-c84d3c0e6f5d.webp?v=1762824926"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/662084ba6cf285362a1e3d38154175d85db0a776_24ae80ce-0b24-47f1-9763-c84d3c0e6f5d.webp?v=1762824926","width":2000},{"alt":null,"id":26351402975331,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b7a9b534ee09c905945890ba45d106736942fd_8c030728-f78e-461c-ac11-8400d2fe7789.webp?v=1762824927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b7a9b534ee09c905945890ba45d106736942fd_8c030728-f78e-461c-ac11-8400d2fe7789.webp?v=1762824927","width":2000},{"alt":null,"id":26351403335779,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7334f20d9116d1888ebf1925552084b1e126864d_b87cb45f-7cb0-4f7a-8d86-278fedfa309b.webp?v=1762824927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7334f20d9116d1888ebf1925552084b1e126864d_b87cb45f-7cb0-4f7a-8d86-278fedfa309b.webp?v=1762824927","width":2000},{"alt":null,"id":26351403499619,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee0c872dbe783510e7e1c9a44fa9aa74333b833c_7c043603-cce5-4ad1-a490-751bb769f9c9.webp?v=1762824928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee0c872dbe783510e7e1c9a44fa9aa74333b833c_7c043603-cce5-4ad1-a490-751bb769f9c9.webp?v=1762824928","width":2000},{"alt":null,"id":26351403728995,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30561a4b7a0d07e568fad801a6b985156d32f9e_3c94be1e-b210-43c2-ad49-f10f7c49b7ad.webp?v=1762824928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30561a4b7a0d07e568fad801a6b985156d32f9e_3c94be1e-b210-43c2-ad49-f10f7c49b7ad.webp?v=1762824928","width":2000},{"alt":null,"id":26351403991139,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/511285e67a0cb0ac7682fbbb3ba6d438867feacd_2285bef0-cc1c-41ba-8de4-5be432f4c666.webp?v=1762824929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/511285e67a0cb0ac7682fbbb3ba6d438867feacd_2285bef0-cc1c-41ba-8de4-5be432f4c666.webp?v=1762824929","width":2000},{"alt":null,"id":26351404351587,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e_899c7895-1ed5-428b-a3d1-0e026c6c7ca4.webp?v=1762824930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e93c5d9bd31b3b8b10727be612977c8379c6a81e_899c7895-1ed5-428b-a3d1-0e026c6c7ca4.webp?v=1762824930","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43827608453219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34785945485411,"product_id":7919986999395,"position":11,"created_at":"2025-11-11T09:35:23+08:00","updated_at":"2025-11-11T09:35:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925","variant_ids":[43827608453219]},"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-HD66","featured_media":{"alt":null,"id":26351402582115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43827608453219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34785945485411,"product_id":7919986999395,"position":11,"created_at":"2025-11-11T09:35:23+08:00","updated_at":"2025-11-11T09:35:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925","variant_ids":[43827608453219]},"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-HD66","featured_media":{"alt":null,"id":26351402582115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4513ac2a815567aa545e8edcfdd4b27b7f8301ec_2be573ce-c7f3-4f50-ba37-866c26c50018.webp?v=1762824925"}},"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: "停產"
}