$product = {"id":7931220328547,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色","handle":"iphone-12-pro-max-mod-nx-magsafe-ei79","description":null,"published_at":"2025-11-28T11:12:37+08:00","created_at":"2025-11-28T09:21:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 12 Pro Max","merge","reseller-darylhochi"],"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":43860644397155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861437157475,"product_id":7931220328547,"position":18,"created_at":"2025-11-28T10:00:49+08:00","updated_at":"2025-11-28T10:00:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250","variant_ids":[43860644397155]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425856786531,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35.webp?v=1764292921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e04e39d11c9d780dedfe0e1f078fad8b151fabd9.webp?v=1764292921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8524276132b07a997eccd0b76167be93f51e8ce.webp?v=1764292922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ff97935cbdae365b1da018109107709870bfc6.webp?v=1764292923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ea9b68ef6428ad01eadaf042352ffd9cd17d4.webp?v=1764292924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628bd2b38c51e98962745696d4d5e3fec1ae650e.webp?v=1764292924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62432b0d30d735d649733c14b7ef237ed74a856.webp?v=1764292924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863053ddec29e3b0a4c662acc82a98d93b67b161.webp?v=1764292925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c.webp?v=1764292925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ff97935cbdae365b1da018109107709870bfc6_3987bdaa-4a0a-4099-8332-a32ca94c9a44.webp?v=1764295246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35_db2151a1-094a-48f8-a711-f82470e51e8e.webp?v=1764295247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628bd2b38c51e98962745696d4d5e3fec1ae650e_968ed30e-214e-4554-b3e1-507ac6f53217.webp?v=1764295247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863053ddec29e3b0a4c662acc82a98d93b67b161_2e55e98a-fe1f-4fcd-a8e0-6784fa87cfb4.webp?v=1764295248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62432b0d30d735d649733c14b7ef237ed74a856_5c896b39-26f1-4437-80a1-5aace55631b3.webp?v=1764295248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ea9b68ef6428ad01eadaf042352ffd9cd17d4_31d60c80-0cfd-46cb-bb88-8be9d274c28a.webp?v=1764295249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8524276132b07a997eccd0b76167be93f51e8ce_e9ed1888-8365-427c-aba6-12cc4fdb3c2c.webp?v=1764295250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e04e39d11c9d780dedfe0e1f078fad8b151fabd9_3ace509a-c024-4af5-91c2-31454eead094.webp?v=1764295250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35.webp?v=1764292921","options":["color"],"media":[{"alt":null,"id":26425572950115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35.webp?v=1764292921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35.webp?v=1764292921","width":2000},{"alt":null,"id":26425573113955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e04e39d11c9d780dedfe0e1f078fad8b151fabd9.webp?v=1764292921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e04e39d11c9d780dedfe0e1f078fad8b151fabd9.webp?v=1764292921","width":2000},{"alt":null,"id":26425573441635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8524276132b07a997eccd0b76167be93f51e8ce.webp?v=1764292922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8524276132b07a997eccd0b76167be93f51e8ce.webp?v=1764292922","width":2000},{"alt":null,"id":26425573638243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ff97935cbdae365b1da018109107709870bfc6.webp?v=1764292923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ff97935cbdae365b1da018109107709870bfc6.webp?v=1764292923","width":2000},{"alt":null,"id":26425573900387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ea9b68ef6428ad01eadaf042352ffd9cd17d4.webp?v=1764292924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ea9b68ef6428ad01eadaf042352ffd9cd17d4.webp?v=1764292924","width":2000},{"alt":null,"id":26425573933155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628bd2b38c51e98962745696d4d5e3fec1ae650e.webp?v=1764292924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628bd2b38c51e98962745696d4d5e3fec1ae650e.webp?v=1764292924","width":2000},{"alt":null,"id":26425574031459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62432b0d30d735d649733c14b7ef237ed74a856.webp?v=1764292924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62432b0d30d735d649733c14b7ef237ed74a856.webp?v=1764292924","width":2000},{"alt":null,"id":26425574096995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863053ddec29e3b0a4c662acc82a98d93b67b161.webp?v=1764292925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863053ddec29e3b0a4c662acc82a98d93b67b161.webp?v=1764292925","width":2000},{"alt":null,"id":26425574162531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c.webp?v=1764292925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c.webp?v=1764292925","width":2000},{"alt":null,"id":26425854984291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ff97935cbdae365b1da018109107709870bfc6_3987bdaa-4a0a-4099-8332-a32ca94c9a44.webp?v=1764295246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ff97935cbdae365b1da018109107709870bfc6_3987bdaa-4a0a-4099-8332-a32ca94c9a44.webp?v=1764295246","width":2000},{"alt":null,"id":26425855148131,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35_db2151a1-094a-48f8-a711-f82470e51e8e.webp?v=1764295247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a87ef7ec76e21de394c26005e54450dc421bbb35_db2151a1-094a-48f8-a711-f82470e51e8e.webp?v=1764295247","width":2000},{"alt":null,"id":26425855311971,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628bd2b38c51e98962745696d4d5e3fec1ae650e_968ed30e-214e-4554-b3e1-507ac6f53217.webp?v=1764295247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628bd2b38c51e98962745696d4d5e3fec1ae650e_968ed30e-214e-4554-b3e1-507ac6f53217.webp?v=1764295247","width":2000},{"alt":null,"id":26425855508579,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863053ddec29e3b0a4c662acc82a98d93b67b161_2e55e98a-fe1f-4fcd-a8e0-6784fa87cfb4.webp?v=1764295248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/863053ddec29e3b0a4c662acc82a98d93b67b161_2e55e98a-fe1f-4fcd-a8e0-6784fa87cfb4.webp?v=1764295248","width":2000},{"alt":null,"id":26425855836259,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62432b0d30d735d649733c14b7ef237ed74a856_5c896b39-26f1-4437-80a1-5aace55631b3.webp?v=1764295248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e62432b0d30d735d649733c14b7ef237ed74a856_5c896b39-26f1-4437-80a1-5aace55631b3.webp?v=1764295248","width":2000},{"alt":null,"id":26425856000099,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ea9b68ef6428ad01eadaf042352ffd9cd17d4_31d60c80-0cfd-46cb-bb88-8be9d274c28a.webp?v=1764295249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ea9b68ef6428ad01eadaf042352ffd9cd17d4_31d60c80-0cfd-46cb-bb88-8be9d274c28a.webp?v=1764295249","width":2000},{"alt":null,"id":26425856393315,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8524276132b07a997eccd0b76167be93f51e8ce_e9ed1888-8365-427c-aba6-12cc4fdb3c2c.webp?v=1764295250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8524276132b07a997eccd0b76167be93f51e8ce_e9ed1888-8365-427c-aba6-12cc4fdb3c2c.webp?v=1764295250","width":2000},{"alt":null,"id":26425856524387,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e04e39d11c9d780dedfe0e1f078fad8b151fabd9_3ace509a-c024-4af5-91c2-31454eead094.webp?v=1764295250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e04e39d11c9d780dedfe0e1f078fad8b151fabd9_3ace509a-c024-4af5-91c2-31454eead094.webp?v=1764295250","width":2000},{"alt":null,"id":26425856786531,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43860644397155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861437157475,"product_id":7931220328547,"position":18,"created_at":"2025-11-28T10:00:49+08:00","updated_at":"2025-11-28T10:00:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250","variant_ids":[43860644397155]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425856786531,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43860644397155,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861437157475,"product_id":7931220328547,"position":18,"created_at":"2025-11-28T10:00:49+08:00","updated_at":"2025-11-28T10:00:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250","variant_ids":[43860644397155]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425856786531,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6736f73130d13226cda381c218e28c4212f1ea9c_4e921cdf-fb5d-42ba-9842-d382449a88d4.webp?v=1764295250"}},"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: "停產"
}