$product = {"id":7892671135843,"title":"iPhone 13 Pro Max Mod NX Aaron Chang NYB","handle":"iphone-13-pro-max-mod-nx-printable-aar06","description":null,"published_at":"2025-10-03T09:42:33+08:00","created_at":"2025-10-02T10:07:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 13 Pro Max","merge","reseller-aaronchang"],"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":43756715049059,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-AAR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34543768305763,"product_id":7892671135843,"position":10,"created_at":"2025-10-02T10:07:13+08:00","updated_at":"2025-10-02T10:07:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835","variant_ids":[43756715049059]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang NYB - 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-AAR06","featured_media":{"alt":null,"id":26113523187811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756715245667,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-AAR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34543768141923,"product_id":7892671135843,"position":9,"created_at":"2025-10-02T10:07:12+08:00","updated_at":"2025-10-02T10:07:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834","variant_ids":[43756715245667]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang NYB - 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-AAR06","featured_media":{"alt":null,"id":26113523023971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/248f980f13fb9c0f6df22ef19f238201b1171901.webp?v=1759370829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9e30ffe11f0e27a73614dc0537a4f54ec5be145.webp?v=1759370830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a84264c91a26804d7005516428f5832d93119eea.webp?v=1759370830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/190fdc6ee622985c49e1ce9be2a262bebcb254ee.webp?v=1759370831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebd67a55d57f025f08e4d7360153e876ff306014.webp?v=1759370832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9c24abdae2ba2177fcb55b9671be7df9b94e32e.webp?v=1759370832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7150b2c0c0520ccc067bf2766a3924102c35a5e3.webp?v=1759370833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b286f6fb11f2fc4ce81823e45862e9cba350f872.webp?v=1759370834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/248f980f13fb9c0f6df22ef19f238201b1171901.webp?v=1759370829","options":["color"],"media":[{"alt":null,"id":26113521582179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/248f980f13fb9c0f6df22ef19f238201b1171901.webp?v=1759370829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/248f980f13fb9c0f6df22ef19f238201b1171901.webp?v=1759370829","width":2000},{"alt":null,"id":26113521811555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9e30ffe11f0e27a73614dc0537a4f54ec5be145.webp?v=1759370830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9e30ffe11f0e27a73614dc0537a4f54ec5be145.webp?v=1759370830","width":2000},{"alt":null,"id":26113521909859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a84264c91a26804d7005516428f5832d93119eea.webp?v=1759370830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a84264c91a26804d7005516428f5832d93119eea.webp?v=1759370830","width":2000},{"alt":null,"id":26113522073699,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/190fdc6ee622985c49e1ce9be2a262bebcb254ee.webp?v=1759370831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/190fdc6ee622985c49e1ce9be2a262bebcb254ee.webp?v=1759370831","width":2000},{"alt":null,"id":26113522270307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebd67a55d57f025f08e4d7360153e876ff306014.webp?v=1759370832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebd67a55d57f025f08e4d7360153e876ff306014.webp?v=1759370832","width":2000},{"alt":null,"id":26113522532451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9c24abdae2ba2177fcb55b9671be7df9b94e32e.webp?v=1759370832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9c24abdae2ba2177fcb55b9671be7df9b94e32e.webp?v=1759370832","width":2000},{"alt":null,"id":26113522663523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7150b2c0c0520ccc067bf2766a3924102c35a5e3.webp?v=1759370833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7150b2c0c0520ccc067bf2766a3924102c35a5e3.webp?v=1759370833","width":2000},{"alt":null,"id":26113522860131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b286f6fb11f2fc4ce81823e45862e9cba350f872.webp?v=1759370834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b286f6fb11f2fc4ce81823e45862e9cba350f872.webp?v=1759370834","width":2000},{"alt":null,"id":26113523023971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834","width":2000},{"alt":null,"id":26113523187811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43756715049059,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-AAR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34543768305763,"product_id":7892671135843,"position":10,"created_at":"2025-10-02T10:07:13+08:00","updated_at":"2025-10-02T10:07:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835","variant_ids":[43756715049059]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang NYB - 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-AAR06","featured_media":{"alt":null,"id":26113523187811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756715245667,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-AAR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34543768141923,"product_id":7892671135843,"position":9,"created_at":"2025-10-02T10:07:12+08:00","updated_at":"2025-10-02T10:07:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834","variant_ids":[43756715245667]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang NYB - 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-AAR06","featured_media":{"alt":null,"id":26113523023971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6443394f17981ca5c2861b9840a8149cf2a06d0.webp?v=1759370834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43756715049059,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-AAR06","requires_shipping":true,"taxable":true,"featured_image":{"id":34543768305763,"product_id":7892671135843,"position":10,"created_at":"2025-10-02T10:07:13+08:00","updated_at":"2025-10-02T10:07:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835","variant_ids":[43756715049059]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang NYB - 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-AAR06","featured_media":{"alt":null,"id":26113523187811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09843ac3a6ba9b4d1ef3e6d0399b42c180e8dfbf.webp?v=1759370835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}