$product = {"id":7937581973603,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓","handle":"iphone-12-pro-max-mod-nx-magsafe-cjy06","description":null,"published_at":"2025-12-12T09:45:47+08:00","created_at":"2025-12-11T09:52:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 12 Pro Max","merge","reseller-jychoioioi"],"price":110000,"price_min":110000,"price_max":110000,"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":43883062198371,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271318302819,"product_id":7937581973603,"position":10,"created_at":"2026-07-15T14:21:28+08:00","updated_at":"2026-07-15T14:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490","variant_ids":[43883062198371]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-CJY06","featured_media":{"alt":null,"id":27775374032995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d97a94335c2512b41703b5073ab4699b9b77549.webp?v=1765417985","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63e6f18260f3e096326c2801b977326d1ecda08d.webp?v=1765417986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160.webp?v=1765417986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a310d662bd8f9c7d5569c0cc373e7330d1906a02.webp?v=1765417987","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2660c655ccfb097ec99098898b72a862244ac726.webp?v=1765417987","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3b072926f37f8b93f3ccaf1bd8a1504f8e943d9.webp?v=1765417988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2673f027213b81f3657fb5a04401fdaec09240e2.webp?v=1765417988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874de227dc95e4e08495e9f026a257eca1b7c8d6.webp?v=1765417989","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e26dd3bd5807856a21763071a44c23d6cd5c4fe.webp?v=1765417989","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d97a94335c2512b41703b5073ab4699b9b77549.webp?v=1765417985","options":["color"],"media":[{"alt":null,"id":26493330718819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d97a94335c2512b41703b5073ab4699b9b77549.webp?v=1765417985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d97a94335c2512b41703b5073ab4699b9b77549.webp?v=1765417985","width":2000},{"alt":null,"id":26493330915427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63e6f18260f3e096326c2801b977326d1ecda08d.webp?v=1765417986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63e6f18260f3e096326c2801b977326d1ecda08d.webp?v=1765417986","width":2000},{"alt":null,"id":26493331177571,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160.webp?v=1765417986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160.webp?v=1765417986","width":2000},{"alt":null,"id":26493331439715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a310d662bd8f9c7d5569c0cc373e7330d1906a02.webp?v=1765417987"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a310d662bd8f9c7d5569c0cc373e7330d1906a02.webp?v=1765417987","width":2000},{"alt":null,"id":26493331636323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2660c655ccfb097ec99098898b72a862244ac726.webp?v=1765417987"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2660c655ccfb097ec99098898b72a862244ac726.webp?v=1765417987","width":2000},{"alt":null,"id":26493331865699,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3b072926f37f8b93f3ccaf1bd8a1504f8e943d9.webp?v=1765417988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3b072926f37f8b93f3ccaf1bd8a1504f8e943d9.webp?v=1765417988","width":2000},{"alt":null,"id":26493332095075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2673f027213b81f3657fb5a04401fdaec09240e2.webp?v=1765417988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2673f027213b81f3657fb5a04401fdaec09240e2.webp?v=1765417988","width":2000},{"alt":null,"id":26493332226147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874de227dc95e4e08495e9f026a257eca1b7c8d6.webp?v=1765417989"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874de227dc95e4e08495e9f026a257eca1b7c8d6.webp?v=1765417989","width":2000},{"alt":null,"id":26493332389987,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e26dd3bd5807856a21763071a44c23d6cd5c4fe.webp?v=1765417989"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e26dd3bd5807856a21763071a44c23d6cd5c4fe.webp?v=1765417989","width":2000},{"alt":null,"id":27775374032995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43883062198371,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271318302819,"product_id":7937581973603,"position":10,"created_at":"2026-07-15T14:21:28+08:00","updated_at":"2026-07-15T14:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490","variant_ids":[43883062198371]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-CJY06","featured_media":{"alt":null,"id":27775374032995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43883062198371,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271318302819,"product_id":7937581973603,"position":10,"created_at":"2026-07-15T14:21:28+08:00","updated_at":"2026-07-15T14:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490","variant_ids":[43883062198371]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 轉轉貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-CJY06","featured_media":{"alt":null,"id":27775374032995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d50a73281445a4211fdd1b49a90d927c3316160_a92432ca-d11b-46cf-9be2-a1d2e9803a7b.webp?v=1784096490"}},"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: "停產"
}