$product = {"id":7931297595491,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!!","handle":"iphone-13-pro-max-mod-nx-magsafe-ei80","description":null,"published_at":"2025-11-28T10:59:49+08:00","created_at":"2025-11-28T10:18:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 13 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":43860915814499,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861689241699,"product_id":7931297595491,"position":2,"created_at":"2025-11-28T10:18:57+08:00","updated_at":"2025-11-28T10:18:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339","variant_ids":[43860915814499]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EI80","featured_media":{"alt":null,"id":26426108706915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860915945571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861691928675,"product_id":7931297595491,"position":10,"created_at":"2025-11-28T10:19:14+08:00","updated_at":"2025-11-28T10:19:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355","variant_ids":[43860915945571]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EI80","featured_media":{"alt":null,"id":26426111393891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52fa981d97dab99dd299dca566800dc508513d0a.webp?v=1764296337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0326ad5b704d1d0ce24e1f878431c96023e937ad.webp?v=1764296339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7058d123dedecfbe0b5a167eaea4e24d3144040e.webp?v=1764296345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05fbd99d628344241722284591574dcdf8372ed0.webp?v=1764296346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fce125c7b51f62554912303490f137ed8897b89.webp?v=1764296347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f344554831420809e8ba6c08b7f04f666f77d9cd.webp?v=1764296347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ee7713960b2b5dc5ea86987ad7a71efc074d8a.webp?v=1764296348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cbcbbcd23f345db0042fbe31fb3362d60d8b4d.webp?v=1764296355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52fa981d97dab99dd299dca566800dc508513d0a.webp?v=1764296337","options":["color"],"media":[{"alt":null,"id":26426108346467,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52fa981d97dab99dd299dca566800dc508513d0a.webp?v=1764296337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52fa981d97dab99dd299dca566800dc508513d0a.webp?v=1764296337","width":2000},{"alt":null,"id":26426108706915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339","width":2000},{"alt":null,"id":26426108805219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0326ad5b704d1d0ce24e1f878431c96023e937ad.webp?v=1764296339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0326ad5b704d1d0ce24e1f878431c96023e937ad.webp?v=1764296339","width":2000},{"alt":null,"id":26426109657187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7058d123dedecfbe0b5a167eaea4e24d3144040e.webp?v=1764296345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7058d123dedecfbe0b5a167eaea4e24d3144040e.webp?v=1764296345","width":2000},{"alt":null,"id":26426109886563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05fbd99d628344241722284591574dcdf8372ed0.webp?v=1764296346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05fbd99d628344241722284591574dcdf8372ed0.webp?v=1764296346","width":2000},{"alt":null,"id":26426109952099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fce125c7b51f62554912303490f137ed8897b89.webp?v=1764296347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fce125c7b51f62554912303490f137ed8897b89.webp?v=1764296347","width":2000},{"alt":null,"id":26426110050403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f344554831420809e8ba6c08b7f04f666f77d9cd.webp?v=1764296347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f344554831420809e8ba6c08b7f04f666f77d9cd.webp?v=1764296347","width":2000},{"alt":null,"id":26426110148707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ee7713960b2b5dc5ea86987ad7a71efc074d8a.webp?v=1764296348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ee7713960b2b5dc5ea86987ad7a71efc074d8a.webp?v=1764296348","width":2000},{"alt":null,"id":26426111361123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cbcbbcd23f345db0042fbe31fb3362d60d8b4d.webp?v=1764296355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cbcbbcd23f345db0042fbe31fb3362d60d8b4d.webp?v=1764296355","width":2000},{"alt":null,"id":26426111393891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43860915814499,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861689241699,"product_id":7931297595491,"position":2,"created_at":"2025-11-28T10:18:57+08:00","updated_at":"2025-11-28T10:18:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339","variant_ids":[43860915814499]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EI80","featured_media":{"alt":null,"id":26426108706915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860915945571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861691928675,"product_id":7931297595491,"position":10,"created_at":"2025-11-28T10:19:14+08:00","updated_at":"2025-11-28T10:19:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355","variant_ids":[43860915945571]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EI80","featured_media":{"alt":null,"id":26426111393891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dfb7c094ab5065409faa2b499880ae41b141550.webp?v=1764296355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43860915814499,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861689241699,"product_id":7931297595491,"position":2,"created_at":"2025-11-28T10:18:57+08:00","updated_at":"2025-11-28T10:18:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339","variant_ids":[43860915814499]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EI80","featured_media":{"alt":null,"id":26426108706915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562be44f96c931019d0005d70adbce5ead693a99.webp?v=1764296339"}},"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: "停產"
}