$product = {"id":7886159085667,"title":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞","handle":"iphone-14-pro-mod-nx-printable-lmo03","description":null,"published_at":"2025-09-17T10:50:27+08:00","created_at":"2025-09-17T10:06:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-cherng","device-iPhone 14 Pro","merge","reseller-cherng"],"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":43734879404131,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500301226083,"product_id":7886159085667,"position":11,"created_at":"2025-09-17T10:06:20+08:00","updated_at":"2025-09-17T10:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782","variant_ids":[43734879404131]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892983907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734879535203,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500300701795,"product_id":7886159085667,"position":10,"created_at":"2025-09-17T10:06:19+08:00","updated_at":"2025-09-17T10:06:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781","variant_ids":[43734879535203]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892459619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734879600739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500300439651,"product_id":7886159085667,"position":9,"created_at":"2025-09-17T10:06:19+08:00","updated_at":"2025-09-17T10:06:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780","variant_ids":[43734879600739]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892197475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d67785b56b43bb7aca81b4f30322f0275fe6f5a.webp?v=1758074776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68fc1f2c1d294593647f2244848568f695a1f830.webp?v=1758074777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb4093e649e3233730a0e92de81e9beed04867e9.webp?v=1758074777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6587a63bcfc88e53a9b651390da76c56957d71c6.webp?v=1758074778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79638fc70339adc6a5b6b9e593153ef3c2ccaae6.webp?v=1758074778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04c9266c24d5cf9eec6445256a0d9101ff115eb.webp?v=1758074779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec221d55238d8ec96a0e6aa7ce5ac03bae5fc31d.webp?v=1758074779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87b7e20a258393723b00293fd30afa1b23b609d2.webp?v=1758074780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3b04d348e10f85511b74f4136098e9ef08102c.webp?v=1758074783"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d67785b56b43bb7aca81b4f30322f0275fe6f5a.webp?v=1758074776","options":["color"],"media":[{"alt":null,"id":26071890624611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d67785b56b43bb7aca81b4f30322f0275fe6f5a.webp?v=1758074776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d67785b56b43bb7aca81b4f30322f0275fe6f5a.webp?v=1758074776","width":2000},{"alt":null,"id":26071890755683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68fc1f2c1d294593647f2244848568f695a1f830.webp?v=1758074777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68fc1f2c1d294593647f2244848568f695a1f830.webp?v=1758074777","width":2000},{"alt":null,"id":26071890853987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb4093e649e3233730a0e92de81e9beed04867e9.webp?v=1758074777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb4093e649e3233730a0e92de81e9beed04867e9.webp?v=1758074777","width":2000},{"alt":null,"id":26071891083363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6587a63bcfc88e53a9b651390da76c56957d71c6.webp?v=1758074778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6587a63bcfc88e53a9b651390da76c56957d71c6.webp?v=1758074778","width":2000},{"alt":null,"id":26071891279971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79638fc70339adc6a5b6b9e593153ef3c2ccaae6.webp?v=1758074778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79638fc70339adc6a5b6b9e593153ef3c2ccaae6.webp?v=1758074778","width":2000},{"alt":null,"id":26071891542115,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04c9266c24d5cf9eec6445256a0d9101ff115eb.webp?v=1758074779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d04c9266c24d5cf9eec6445256a0d9101ff115eb.webp?v=1758074779","width":2000},{"alt":null,"id":26071891771491,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec221d55238d8ec96a0e6aa7ce5ac03bae5fc31d.webp?v=1758074779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec221d55238d8ec96a0e6aa7ce5ac03bae5fc31d.webp?v=1758074779","width":2000},{"alt":null,"id":26071891935331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87b7e20a258393723b00293fd30afa1b23b609d2.webp?v=1758074780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87b7e20a258393723b00293fd30afa1b23b609d2.webp?v=1758074780","width":2000},{"alt":null,"id":26071892197475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780","width":2000},{"alt":null,"id":26071892459619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781","width":2000},{"alt":null,"id":26071892983907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782","width":2000},{"alt":null,"id":26071893114979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3b04d348e10f85511b74f4136098e9ef08102c.webp?v=1758074783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3b04d348e10f85511b74f4136098e9ef08102c.webp?v=1758074783","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43734879404131,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500301226083,"product_id":7886159085667,"position":11,"created_at":"2025-09-17T10:06:20+08:00","updated_at":"2025-09-17T10:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782","variant_ids":[43734879404131]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892983907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734879535203,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500300701795,"product_id":7886159085667,"position":10,"created_at":"2025-09-17T10:06:19+08:00","updated_at":"2025-09-17T10:06:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781","variant_ids":[43734879535203]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892459619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69f33223f30f27496194643222075efc1788d4e.webp?v=1758074781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43734879600739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500300439651,"product_id":7886159085667,"position":9,"created_at":"2025-09-17T10:06:19+08:00","updated_at":"2025-09-17T10:06:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780","variant_ids":[43734879600739]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892197475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9dc158b12e511d5ce265dbcaca58ded2d05430.webp?v=1758074780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43734879404131,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500301226083,"product_id":7886159085667,"position":11,"created_at":"2025-09-17T10:06:20+08:00","updated_at":"2025-09-17T10:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782","variant_ids":[43734879404131]},"available":true,"name":"iPhone 14 Pro Mod NX 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26071892983907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ca4f977ba6b4c9cebe30a2ae5540f6b8c838a44.webp?v=1758074782"}},"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: "停產"
}