$product = {"id":7892664549475,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl","handle":"iphone-14-pro-mod-nx-magsafe-printable-aar02","description":null,"published_at":"2025-10-03T09:43:40+08:00","created_at":"2025-10-02T10:05:15+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":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":43756688605283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543739764835,"product_id":7892664549475,"position":2,"created_at":"2025-10-02T10:05:17+08:00","updated_at":"2025-10-02T10:05:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719","variant_ids":[43756688605283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - 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":"MPB01262J5-AAR02","featured_media":{"alt":null,"id":26113494646883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756688638051,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543740813411,"product_id":7892664549475,"position":6,"created_at":"2025-10-02T10:05:20+08:00","updated_at":"2025-10-02T10:05:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722","variant_ids":[43756688638051]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-AAR02","featured_media":{"alt":null,"id":26113495695459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756688834659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543741665379,"product_id":7892664549475,"position":10,"created_at":"2025-10-02T10:05:24+08:00","updated_at":"2025-10-02T10:05:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726","variant_ids":[43756688834659]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AAR02","featured_media":{"alt":null,"id":26113496547427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5673f3293e181563ef3b8748429f82dcb12dddf8.webp?v=1759370719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137db0d62b8412e47fea8850c3e8b13d4641967b.webp?v=1759370720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7308ac12bc77f809fab2519a9f21a9f7e4669d8.webp?v=1759370721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/792c637a95d3ef197b42fc6f6b90ee0abf6a6fc6.webp?v=1759370722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95bffb39e28b5a9fb59f226b4a304c30b625b26.webp?v=1759370724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ede521a4c417515fbacab8efa49c90cf8a00f2.webp?v=1759370725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afb527a74d392dceeb1e39bc63f7926beac6ee8.webp?v=1759370725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b17366cd59b7da9c34ae9e53aa0844044719916.webp?v=1759370727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6f49fbc64080ed5039693956c90f17385473d69.webp?v=1759370728"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5673f3293e181563ef3b8748429f82dcb12dddf8.webp?v=1759370719","options":["color"],"media":[{"alt":null,"id":26113494155363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5673f3293e181563ef3b8748429f82dcb12dddf8.webp?v=1759370719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5673f3293e181563ef3b8748429f82dcb12dddf8.webp?v=1759370719","width":2000},{"alt":null,"id":26113494646883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719","width":2000},{"alt":null,"id":26113494843491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137db0d62b8412e47fea8850c3e8b13d4641967b.webp?v=1759370720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137db0d62b8412e47fea8850c3e8b13d4641967b.webp?v=1759370720","width":2000},{"alt":null,"id":26113495105635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7308ac12bc77f809fab2519a9f21a9f7e4669d8.webp?v=1759370721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7308ac12bc77f809fab2519a9f21a9f7e4669d8.webp?v=1759370721","width":2000},{"alt":null,"id":26113495400547,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/792c637a95d3ef197b42fc6f6b90ee0abf6a6fc6.webp?v=1759370722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/792c637a95d3ef197b42fc6f6b90ee0abf6a6fc6.webp?v=1759370722","width":2000},{"alt":null,"id":26113495695459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722","width":2000},{"alt":null,"id":26113496088675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95bffb39e28b5a9fb59f226b4a304c30b625b26.webp?v=1759370724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95bffb39e28b5a9fb59f226b4a304c30b625b26.webp?v=1759370724","width":2000},{"alt":null,"id":26113496186979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ede521a4c417515fbacab8efa49c90cf8a00f2.webp?v=1759370725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ede521a4c417515fbacab8efa49c90cf8a00f2.webp?v=1759370725","width":2000},{"alt":null,"id":26113496383587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afb527a74d392dceeb1e39bc63f7926beac6ee8.webp?v=1759370725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afb527a74d392dceeb1e39bc63f7926beac6ee8.webp?v=1759370725","width":2000},{"alt":null,"id":26113496547427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726","width":2000},{"alt":null,"id":26113496776803,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b17366cd59b7da9c34ae9e53aa0844044719916.webp?v=1759370727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b17366cd59b7da9c34ae9e53aa0844044719916.webp?v=1759370727","width":2000},{"alt":null,"id":26113496940643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6f49fbc64080ed5039693956c90f17385473d69.webp?v=1759370728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6f49fbc64080ed5039693956c90f17385473d69.webp?v=1759370728","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43756688605283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543739764835,"product_id":7892664549475,"position":2,"created_at":"2025-10-02T10:05:17+08:00","updated_at":"2025-10-02T10:05:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719","variant_ids":[43756688605283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - 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":"MPB01262J5-AAR02","featured_media":{"alt":null,"id":26113494646883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756688638051,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543740813411,"product_id":7892664549475,"position":6,"created_at":"2025-10-02T10:05:20+08:00","updated_at":"2025-10-02T10:05:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722","variant_ids":[43756688638051]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-AAR02","featured_media":{"alt":null,"id":26113495695459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec3286715676d750d30ebe1b7b25cd21f9f3faa.webp?v=1759370722"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756688834659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543741665379,"product_id":7892664549475,"position":10,"created_at":"2025-10-02T10:05:24+08:00","updated_at":"2025-10-02T10:05:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726","variant_ids":[43756688834659]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AAR02","featured_media":{"alt":null,"id":26113496547427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e492680014193c60e0670ff626e40030dfec8713.webp?v=1759370726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43756688605283,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-AAR02","requires_shipping":true,"taxable":true,"featured_image":{"id":34543739764835,"product_id":7892664549475,"position":2,"created_at":"2025-10-02T10:05:17+08:00","updated_at":"2025-10-02T10:05:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719","variant_ids":[43756688605283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Ivy Girl - 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":"MPB01262J5-AAR02","featured_media":{"alt":null,"id":26113494646883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c498219d874acbac85df804dd5fa4464d1b181b8.webp?v=1759370719"}},"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: "停產"
}