$product = {"id":7937542946915,"title":"iPhone 12 Pro Max Mod NX Jin Young Choi 陰陽貓","handle":"iphone-12-pro-max-mod-nx-cjy01","description":null,"published_at":"2025-12-12T09:52:50+08:00","created_at":"2025-12-11T09:41:38+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":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":43882910875747,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-CJY01","requires_shipping":true,"taxable":true,"featured_image":{"id":34930879103075,"product_id":7937542946915,"position":17,"created_at":"2025-12-11T09:48:56+08:00","updated_at":"2025-12-11T09:48:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738","variant_ids":[43882910875747]},"available":true,"name":"iPhone 12 Pro Max Mod NX Jin Young Choi 陰陽貓 - 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-CJY01","featured_media":{"alt":null,"id":26493253582947,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2.webp?v=1765417303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6f6e488d522ba2ae61aa4b8274f73a5b887080a.webp?v=1765417303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648.webp?v=1765417304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9a560214d9bf627bdd0f446447e7a42f1fc96f.webp?v=1765417305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b89b37cc5ae04c16cfe426c55f8792d74fb1ff.webp?v=1765417305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3078e6393ec04baed6dd18cc26457a68c311c4e2.webp?v=1765417305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65646ddf7ffb5ede483f238db66a834a4b39bd57.webp?v=1765417306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5461f1be78160285690a0c4f02c6b1471cc6b.webp?v=1765417306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c43d96a7103ed34b390867763e9e58c0e67acba.webp?v=1765417307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2_12e26100-be68-44cf-83f0-fb6df2f8cea8.webp?v=1765417734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9a560214d9bf627bdd0f446447e7a42f1fc96f_b80e6d4c-510b-4790-b056-3aecf9b1a12e.webp?v=1765417734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6f6e488d522ba2ae61aa4b8274f73a5b887080a_551d5404-991e-461d-ad98-eea9ea81ff09.webp?v=1765417735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65646ddf7ffb5ede483f238db66a834a4b39bd57_c03754dc-d481-470d-9358-cf7686bfd79e.webp?v=1765417736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3078e6393ec04baed6dd18cc26457a68c311c4e2_549516be-485f-424e-a7b5-73239c17eef0.webp?v=1765417736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b89b37cc5ae04c16cfe426c55f8792d74fb1ff_1a4b42e8-956d-4422-9e11-8d0f749142be.webp?v=1765417737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5461f1be78160285690a0c4f02c6b1471cc6b_f13cf044-bd9f-48d3-8b78-fde70a635278.webp?v=1765417737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c43d96a7103ed34b390867763e9e58c0e67acba_e5a0ef5d-dd4f-4c1b-b627-ec2167ac4876.webp?v=1765417738"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2.webp?v=1765417303","options":["color"],"media":[{"alt":null,"id":26493148561507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2.webp?v=1765417303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2.webp?v=1765417303","width":2000},{"alt":null,"id":26493148758115,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6f6e488d522ba2ae61aa4b8274f73a5b887080a.webp?v=1765417303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6f6e488d522ba2ae61aa4b8274f73a5b887080a.webp?v=1765417303","width":2000},{"alt":null,"id":26493148921955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648.webp?v=1765417304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648.webp?v=1765417304","width":2000},{"alt":null,"id":26493149118563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9a560214d9bf627bdd0f446447e7a42f1fc96f.webp?v=1765417305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9a560214d9bf627bdd0f446447e7a42f1fc96f.webp?v=1765417305","width":2000},{"alt":null,"id":26493149216867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b89b37cc5ae04c16cfe426c55f8792d74fb1ff.webp?v=1765417305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b89b37cc5ae04c16cfe426c55f8792d74fb1ff.webp?v=1765417305","width":2000},{"alt":null,"id":26493149413475,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3078e6393ec04baed6dd18cc26457a68c311c4e2.webp?v=1765417305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3078e6393ec04baed6dd18cc26457a68c311c4e2.webp?v=1765417305","width":2000},{"alt":null,"id":26493149577315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65646ddf7ffb5ede483f238db66a834a4b39bd57.webp?v=1765417306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65646ddf7ffb5ede483f238db66a834a4b39bd57.webp?v=1765417306","width":2000},{"alt":null,"id":26493149773923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5461f1be78160285690a0c4f02c6b1471cc6b.webp?v=1765417306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5461f1be78160285690a0c4f02c6b1471cc6b.webp?v=1765417306","width":2000},{"alt":null,"id":26493150003299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c43d96a7103ed34b390867763e9e58c0e67acba.webp?v=1765417307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c43d96a7103ed34b390867763e9e58c0e67acba.webp?v=1765417307","width":2000},{"alt":null,"id":26493252173923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2_12e26100-be68-44cf-83f0-fb6df2f8cea8.webp?v=1765417734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b02b6fc4da64df31a16456ea2067ebd8a62bba2_12e26100-be68-44cf-83f0-fb6df2f8cea8.webp?v=1765417734","width":2000},{"alt":null,"id":26493252468835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9a560214d9bf627bdd0f446447e7a42f1fc96f_b80e6d4c-510b-4790-b056-3aecf9b1a12e.webp?v=1765417734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9a560214d9bf627bdd0f446447e7a42f1fc96f_b80e6d4c-510b-4790-b056-3aecf9b1a12e.webp?v=1765417734","width":2000},{"alt":null,"id":26493252796515,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6f6e488d522ba2ae61aa4b8274f73a5b887080a_551d5404-991e-461d-ad98-eea9ea81ff09.webp?v=1765417735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6f6e488d522ba2ae61aa4b8274f73a5b887080a_551d5404-991e-461d-ad98-eea9ea81ff09.webp?v=1765417735","width":2000},{"alt":null,"id":26493253058659,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65646ddf7ffb5ede483f238db66a834a4b39bd57_c03754dc-d481-470d-9358-cf7686bfd79e.webp?v=1765417736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65646ddf7ffb5ede483f238db66a834a4b39bd57_c03754dc-d481-470d-9358-cf7686bfd79e.webp?v=1765417736","width":2000},{"alt":null,"id":26493253288035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3078e6393ec04baed6dd18cc26457a68c311c4e2_549516be-485f-424e-a7b5-73239c17eef0.webp?v=1765417736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3078e6393ec04baed6dd18cc26457a68c311c4e2_549516be-485f-424e-a7b5-73239c17eef0.webp?v=1765417736","width":2000},{"alt":null,"id":26493253353571,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b89b37cc5ae04c16cfe426c55f8792d74fb1ff_1a4b42e8-956d-4422-9e11-8d0f749142be.webp?v=1765417737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b89b37cc5ae04c16cfe426c55f8792d74fb1ff_1a4b42e8-956d-4422-9e11-8d0f749142be.webp?v=1765417737","width":2000},{"alt":null,"id":26493253484643,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5461f1be78160285690a0c4f02c6b1471cc6b_f13cf044-bd9f-48d3-8b78-fde70a635278.webp?v=1765417737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5461f1be78160285690a0c4f02c6b1471cc6b_f13cf044-bd9f-48d3-8b78-fde70a635278.webp?v=1765417737","width":2000},{"alt":null,"id":26493253582947,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738","width":2000},{"alt":null,"id":26493253746787,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c43d96a7103ed34b390867763e9e58c0e67acba_e5a0ef5d-dd4f-4c1b-b627-ec2167ac4876.webp?v=1765417738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c43d96a7103ed34b390867763e9e58c0e67acba_e5a0ef5d-dd4f-4c1b-b627-ec2167ac4876.webp?v=1765417738","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43882910875747,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-CJY01","requires_shipping":true,"taxable":true,"featured_image":{"id":34930879103075,"product_id":7937542946915,"position":17,"created_at":"2025-12-11T09:48:56+08:00","updated_at":"2025-12-11T09:48:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738","variant_ids":[43882910875747]},"available":true,"name":"iPhone 12 Pro Max Mod NX Jin Young Choi 陰陽貓 - 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-CJY01","featured_media":{"alt":null,"id":26493253582947,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43882910875747,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-CJY01","requires_shipping":true,"taxable":true,"featured_image":{"id":34930879103075,"product_id":7937542946915,"position":17,"created_at":"2025-12-11T09:48:56+08:00","updated_at":"2025-12-11T09:48:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738","variant_ids":[43882910875747]},"available":true,"name":"iPhone 12 Pro Max Mod NX Jin Young Choi 陰陽貓 - 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-CJY01","featured_media":{"alt":null,"id":26493253582947,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac39f44c3cd3da4143cb2a6d54da6ab01eed648_3864726f-1bcd-4982-a54c-52b06eec386b.webp?v=1765417738"}},"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: "停產"
}