$product = {"id":7931305427043,"title":"iPhone 13 Pro Max Mod NX 白白日記 By Darylhochi 眾裏尋他 (黑白)","handle":"iphone-13-pro-max-mod-nx-ei77","description":null,"published_at":"2025-11-28T10:58:38+08:00","created_at":"2025-11-28T10:26:58+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":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":43860946780259,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-EI77","requires_shipping":true,"taxable":true,"featured_image":{"id":34861741408355,"product_id":7931305427043,"position":7,"created_at":"2025-11-28T10:27:10+08:00","updated_at":"2025-11-28T10:27:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832","variant_ids":[43860946780259]},"available":true,"name":"iPhone 13 Pro Max Mod NX 白白日記 By Darylhochi 眾裏尋他 (黑白) - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-EI77","featured_media":{"alt":null,"id":26426160840803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860946911331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-EI77","requires_shipping":true,"taxable":true,"featured_image":{"id":34861740982371,"product_id":7931305427043,"position":6,"created_at":"2025-11-28T10:27:08+08:00","updated_at":"2025-11-28T10:27:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830","variant_ids":[43860946911331]},"available":true,"name":"iPhone 13 Pro Max Mod NX 白白日記 By Darylhochi 眾裏尋他 (黑白) - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-EI77","featured_media":{"alt":null,"id":26426160447587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4633b7c2d68a69e64aa04f15ae48072a929dd64.webp?v=1764296821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7dc6542916b16113d514d7cf9d6eb4e9a04c8735.webp?v=1764296822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336cfc4e22de9b0935e922ea75f7a900dc17b018.webp?v=1764296825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6773b639e853a5020a5d1ee08cd76bf9425b6000.webp?v=1764296828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8387c1d95653cae3882a3d615982e97d2eaa96df.webp?v=1764296830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f2ce4503fa8e8b9f38ff25442076e73adaca78_b232dc1d-3aea-4b8d-8b30-9b69371d5e78.webp?v=1764296834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdb72fc3e33d63d459aa194fc6dacaec129fa3f0_d96507cf-5621-4444-a7a8-44c65327abeb.webp?v=1764296835"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4633b7c2d68a69e64aa04f15ae48072a929dd64.webp?v=1764296821","options":["color"],"media":[{"alt":null,"id":26426157334627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4633b7c2d68a69e64aa04f15ae48072a929dd64.webp?v=1764296821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4633b7c2d68a69e64aa04f15ae48072a929dd64.webp?v=1764296821","width":2000},{"alt":null,"id":26426157400163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7dc6542916b16113d514d7cf9d6eb4e9a04c8735.webp?v=1764296822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7dc6542916b16113d514d7cf9d6eb4e9a04c8735.webp?v=1764296822","width":2000},{"alt":null,"id":26426158252131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336cfc4e22de9b0935e922ea75f7a900dc17b018.webp?v=1764296825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336cfc4e22de9b0935e922ea75f7a900dc17b018.webp?v=1764296825","width":2000},{"alt":null,"id":26426159235171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6773b639e853a5020a5d1ee08cd76bf9425b6000.webp?v=1764296828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6773b639e853a5020a5d1ee08cd76bf9425b6000.webp?v=1764296828","width":2000},{"alt":null,"id":26426160283747,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8387c1d95653cae3882a3d615982e97d2eaa96df.webp?v=1764296830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8387c1d95653cae3882a3d615982e97d2eaa96df.webp?v=1764296830","width":2000},{"alt":null,"id":26426160447587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830","width":2000},{"alt":null,"id":26426160840803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832","width":2000},{"alt":null,"id":26426161594467,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f2ce4503fa8e8b9f38ff25442076e73adaca78_b232dc1d-3aea-4b8d-8b30-9b69371d5e78.webp?v=1764296834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f2ce4503fa8e8b9f38ff25442076e73adaca78_b232dc1d-3aea-4b8d-8b30-9b69371d5e78.webp?v=1764296834","width":2000},{"alt":null,"id":26426161627235,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdb72fc3e33d63d459aa194fc6dacaec129fa3f0_d96507cf-5621-4444-a7a8-44c65327abeb.webp?v=1764296835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdb72fc3e33d63d459aa194fc6dacaec129fa3f0_d96507cf-5621-4444-a7a8-44c65327abeb.webp?v=1764296835","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43860946780259,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-EI77","requires_shipping":true,"taxable":true,"featured_image":{"id":34861741408355,"product_id":7931305427043,"position":7,"created_at":"2025-11-28T10:27:10+08:00","updated_at":"2025-11-28T10:27:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832","variant_ids":[43860946780259]},"available":true,"name":"iPhone 13 Pro Max Mod NX 白白日記 By Darylhochi 眾裏尋他 (黑白) - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-EI77","featured_media":{"alt":null,"id":26426160840803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860946911331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-EI77","requires_shipping":true,"taxable":true,"featured_image":{"id":34861740982371,"product_id":7931305427043,"position":6,"created_at":"2025-11-28T10:27:08+08:00","updated_at":"2025-11-28T10:27:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830","variant_ids":[43860946911331]},"available":true,"name":"iPhone 13 Pro Max Mod NX 白白日記 By Darylhochi 眾裏尋他 (黑白) - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-EI77","featured_media":{"alt":null,"id":26426160447587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0520a85db3bd6f5978f24385b91371062945c5e7.webp?v=1764296830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43860946780259,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-EI77","requires_shipping":true,"taxable":true,"featured_image":{"id":34861741408355,"product_id":7931305427043,"position":7,"created_at":"2025-11-28T10:27:10+08:00","updated_at":"2025-11-28T10:27:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832","variant_ids":[43860946780259]},"available":true,"name":"iPhone 13 Pro Max Mod NX 白白日記 By Darylhochi 眾裏尋他 (黑白) - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-EI77","featured_media":{"alt":null,"id":26426160840803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b74feef6c3be55f8c80004efab3a3e3ea4f8990_b4cc7bc2-f1bb-4e63-87ae-ad6d01c49aa1.webp?v=1764296832"}},"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: "停產"
}