$product = {"id":7892673298531,"title":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond","handle":"iphone-14-pro-mod-nx-printable-aar07","description":null,"published_at":"2025-10-03T09:42:13+08:00","created_at":"2025-10-02T10:07:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 14 Pro","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":43756723667043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543774957667,"product_id":7892673298531,"position":1,"created_at":"2025-10-02T10:07:44+08:00","updated_at":"2025-10-02T10:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867","variant_ids":[43756723667043]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - 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":"NPB01262J5-AAR07","featured_media":{"alt":null,"id":26113529839715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756723699811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543776727139,"product_id":7892673298531,"position":7,"created_at":"2025-10-02T10:07:50+08:00","updated_at":"2025-10-02T10:07:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872","variant_ids":[43756723699811]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AAR07","featured_media":{"alt":null,"id":26113531609187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756723896419,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543775154275,"product_id":7892673298531,"position":2,"created_at":"2025-10-02T10:07:45+08:00","updated_at":"2025-10-02T10:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867","variant_ids":[43756723896419]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AAR07","featured_media":{"alt":null,"id":26113530036323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c69293d8e04f0f04d9de520d788c4f83b9d0dbd0.webp?v=1759370868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fffa7cf1c1ff43d5127f20f2b221695cafe6cb03.webp?v=1759370869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c6eaeab074eebac475f873eb526a23f9144f3d.webp?v=1759370870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c3c76c43a9cefa5ddf7ba8780f8fd97d087ca31.webp?v=1759370872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c18049072dbd0bd240907d4a8724a66274f3ae4.webp?v=1759370873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/355a472b095f57e09b7a0347b29639396519349d.webp?v=1759370874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5602bb5ae0604676a1a2fb69c0872f2f53965f03.webp?v=1759370874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebdfd81f978db18e24cf0f65b9778b0a64edc0a.webp?v=1759370876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b680d2b7dbd928e33419a1b87e0c085b5a334c.webp?v=1759370877"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867","options":["color"],"media":[{"alt":null,"id":26113529839715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867","width":2000},{"alt":null,"id":26113530036323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867","width":2000},{"alt":null,"id":26113530364003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c69293d8e04f0f04d9de520d788c4f83b9d0dbd0.webp?v=1759370868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c69293d8e04f0f04d9de520d788c4f83b9d0dbd0.webp?v=1759370868","width":2000},{"alt":null,"id":26113530626147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fffa7cf1c1ff43d5127f20f2b221695cafe6cb03.webp?v=1759370869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fffa7cf1c1ff43d5127f20f2b221695cafe6cb03.webp?v=1759370869","width":2000},{"alt":null,"id":26113530986595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c6eaeab074eebac475f873eb526a23f9144f3d.webp?v=1759370870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c6eaeab074eebac475f873eb526a23f9144f3d.webp?v=1759370870","width":2000},{"alt":null,"id":26113531248739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c3c76c43a9cefa5ddf7ba8780f8fd97d087ca31.webp?v=1759370872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c3c76c43a9cefa5ddf7ba8780f8fd97d087ca31.webp?v=1759370872","width":2000},{"alt":null,"id":26113531609187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872","width":2000},{"alt":null,"id":26113531838563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c18049072dbd0bd240907d4a8724a66274f3ae4.webp?v=1759370873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c18049072dbd0bd240907d4a8724a66274f3ae4.webp?v=1759370873","width":2000},{"alt":null,"id":26113532067939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/355a472b095f57e09b7a0347b29639396519349d.webp?v=1759370874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/355a472b095f57e09b7a0347b29639396519349d.webp?v=1759370874","width":2000},{"alt":null,"id":26113532264547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5602bb5ae0604676a1a2fb69c0872f2f53965f03.webp?v=1759370874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5602bb5ae0604676a1a2fb69c0872f2f53965f03.webp?v=1759370874","width":2000},{"alt":null,"id":26113532493923,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebdfd81f978db18e24cf0f65b9778b0a64edc0a.webp?v=1759370876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eebdfd81f978db18e24cf0f65b9778b0a64edc0a.webp?v=1759370876","width":2000},{"alt":null,"id":26113532624995,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b680d2b7dbd928e33419a1b87e0c085b5a334c.webp?v=1759370877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b680d2b7dbd928e33419a1b87e0c085b5a334c.webp?v=1759370877","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43756723667043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543774957667,"product_id":7892673298531,"position":1,"created_at":"2025-10-02T10:07:44+08:00","updated_at":"2025-10-02T10:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867","variant_ids":[43756723667043]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - 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":"NPB01262J5-AAR07","featured_media":{"alt":null,"id":26113529839715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756723699811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543776727139,"product_id":7892673298531,"position":7,"created_at":"2025-10-02T10:07:50+08:00","updated_at":"2025-10-02T10:07:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872","variant_ids":[43756723699811]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AAR07","featured_media":{"alt":null,"id":26113531609187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7b7470850ea62e4204bdab3fbb9206f70967ec.webp?v=1759370872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756723896419,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543775154275,"product_id":7892673298531,"position":2,"created_at":"2025-10-02T10:07:45+08:00","updated_at":"2025-10-02T10:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867","variant_ids":[43756723896419]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AAR07","featured_media":{"alt":null,"id":26113530036323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b204c29811523c8484fba7b111fa2a9cc1897ec5.webp?v=1759370867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43756723667043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543774957667,"product_id":7892673298531,"position":1,"created_at":"2025-10-02T10:07:44+08:00","updated_at":"2025-10-02T10:07:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867","variant_ids":[43756723667043]},"available":true,"name":"iPhone 14 Pro Mod NX Aaron Chang I seek rough diamond - 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":"NPB01262J5-AAR07","featured_media":{"alt":null,"id":26113529839715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1fe3b68e60254f11fe085f62a36eec26cf367f3.webp?v=1759370867"}},"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: "停產"
}