$product = {"id":7944294760547,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 右手超人 晚安","handle":"iphone-13-pro-max-mod-nx-magsafe-yoh02","description":null,"published_at":"2025-12-24T10:20:03+08:00","created_at":"2025-12-23T16:51:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-yohand","device-iPhone 13 Pro Max","merge","reseller-yohand"],"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":43907956834403,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002920206435,"product_id":7944294760547,"position":3,"created_at":"2025-12-23T16:51:39+08:00","updated_at":"2025-12-23T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901","variant_ids":[43907956834403]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 右手超人 晚安 - 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-YOH02","featured_media":{"alt":null,"id":26563211264099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43907957325923,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002921484387,"product_id":7944294760547,"position":5,"created_at":"2025-12-23T16:51:41+08:00","updated_at":"2025-12-23T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903","variant_ids":[43907957325923]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 右手超人 晚安 - 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-YOH02","featured_media":{"alt":null,"id":26563212509283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9edf55dc21f9a3065c8c1f509e4aa43604935b1a.webp?v=1766479901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825728334ecd4bb8b49235a15bbc456096dd17.webp?v=1766479901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aed9871701862e7b6b8fd5c02d36111d9f33233b.webp?v=1766479902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6367ef0f390d5701eee8c9ed992fccbde4bd34ff.webp?v=1766479904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1daa861249cb73a033b4aed670eaec93264afb40.webp?v=1766479904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11f279a215f38ff2729f38bcbc1851ea79ef314d.webp?v=1766479905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99dd6835dd4ea7c3345a985e1ca0e8bfe9dbc03a.webp?v=1766479905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65942afe94887487a59d9b8fff620a76fd2f42bc.webp?v=1766479906"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9edf55dc21f9a3065c8c1f509e4aa43604935b1a.webp?v=1766479901","options":["color"],"media":[{"alt":null,"id":26563210379363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9edf55dc21f9a3065c8c1f509e4aa43604935b1a.webp?v=1766479901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9edf55dc21f9a3065c8c1f509e4aa43604935b1a.webp?v=1766479901","width":2000},{"alt":null,"id":26563210838115,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825728334ecd4bb8b49235a15bbc456096dd17.webp?v=1766479901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825728334ecd4bb8b49235a15bbc456096dd17.webp?v=1766479901","width":2000},{"alt":null,"id":26563211264099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901","width":2000},{"alt":null,"id":26563211853923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aed9871701862e7b6b8fd5c02d36111d9f33233b.webp?v=1766479902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aed9871701862e7b6b8fd5c02d36111d9f33233b.webp?v=1766479902","width":2000},{"alt":null,"id":26563212509283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903","width":2000},{"alt":null,"id":26563213066339,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6367ef0f390d5701eee8c9ed992fccbde4bd34ff.webp?v=1766479904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6367ef0f390d5701eee8c9ed992fccbde4bd34ff.webp?v=1766479904","width":2000},{"alt":null,"id":26563213557859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1daa861249cb73a033b4aed670eaec93264afb40.webp?v=1766479904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1daa861249cb73a033b4aed670eaec93264afb40.webp?v=1766479904","width":2000},{"alt":null,"id":26563214147683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11f279a215f38ff2729f38bcbc1851ea79ef314d.webp?v=1766479905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11f279a215f38ff2729f38bcbc1851ea79ef314d.webp?v=1766479905","width":2000},{"alt":null,"id":26563214639203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99dd6835dd4ea7c3345a985e1ca0e8bfe9dbc03a.webp?v=1766479905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99dd6835dd4ea7c3345a985e1ca0e8bfe9dbc03a.webp?v=1766479905","width":2000},{"alt":null,"id":26563214966883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65942afe94887487a59d9b8fff620a76fd2f42bc.webp?v=1766479906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65942afe94887487a59d9b8fff620a76fd2f42bc.webp?v=1766479906","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43907956834403,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002920206435,"product_id":7944294760547,"position":3,"created_at":"2025-12-23T16:51:39+08:00","updated_at":"2025-12-23T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901","variant_ids":[43907956834403]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 右手超人 晚安 - 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-YOH02","featured_media":{"alt":null,"id":26563211264099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43907957325923,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002921484387,"product_id":7944294760547,"position":5,"created_at":"2025-12-23T16:51:41+08:00","updated_at":"2025-12-23T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903","variant_ids":[43907957325923]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 右手超人 晚安 - 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-YOH02","featured_media":{"alt":null,"id":26563212509283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed221e901d6968f9e8deba06c37e2c410f657695.webp?v=1766479903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43907956834403,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002920206435,"product_id":7944294760547,"position":3,"created_at":"2025-12-23T16:51:39+08:00","updated_at":"2025-12-23T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901","variant_ids":[43907956834403]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 右手超人 晚安 - 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-YOH02","featured_media":{"alt":null,"id":26563211264099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78df41697d902ad8a49409b2c0e5b73497542341.webp?v=1766479901"}},"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: "停產"
}