$product = {"id":7860570259555,"title":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕)","handle":"iphone-air-mod-nx-bumper-with-capture-button-clearplate","description":null,"published_at":"2025-08-21T10:59:20+08:00","created_at":"2025-08-21T10:58:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"ModNX with Capture Button","tags":["20%","25%","30%","35%","40%","45%","50%","all-phone-case-fp","brand-Apple","device-iPhone Air","discountable","discountable-item","dropdownDevice-Apple iPhone Air","featured-product","iphone-17-series","member","quickbuy","reseller","reseller-mod-nx-bumper-with-capture-button-clearplate","type-mod-nx-bumper-clearplate-with-capture-button-featured-product","viewable"],"price":80000,"price_min":80000,"price_max":80000,"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":43602707546211,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NXB0135169","requires_shipping":true,"taxable":true,"featured_image":{"id":34700760416355,"product_id":7860570259555,"position":8,"created_at":"2025-10-29T10:23:27+08:00","updated_at":"2025-10-29T10:23:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609","variant_ids":[43602707546211]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-28,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495605","featured_media":{"alt":null,"id":26269792305251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43602708824163,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NXB0135124","requires_shipping":true,"taxable":true,"featured_image":{"id":34700760088675,"product_id":7860570259555,"position":7,"created_at":"2025-10-29T10:23:27+08:00","updated_at":"2025-10-29T10:23:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609","variant_ids":[43602708824163]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-27,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495582","featured_media":{"alt":null,"id":26269792010339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43602708856931,"title":"白","option1":"白","option2":null,"option3":null,"sku":"NXB0135104","requires_shipping":true,"taxable":true,"featured_image":{"id":34700759793763,"product_id":7860570259555,"position":6,"created_at":"2025-10-29T10:23:26+08:00","updated_at":"2025-10-29T10:23:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608","variant_ids":[43602708856931]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 白","public_title":"白","options":["白"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-25,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495575","featured_media":{"alt":null,"id":26269791682659,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43602708889699,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NXB01351J5","requires_shipping":true,"taxable":true,"featured_image":{"id":34700759597155,"product_id":7860570259555,"position":5,"created_at":"2025-10-29T10:23:26+08:00","updated_at":"2025-10-29T10:23:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608","variant_ids":[43602708889699]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-28,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495636","featured_media":{"alt":null,"id":26269791486051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27521aa22bf9aee1a092aaeb91bce562f0b7f07f.webp?v=1755745098","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac4d9be58d17dd0319144232041906fa569d1bf.webp?v=1755745098","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6848216224e3dce562b81b95d0c3b087d3007fbc.webp?v=1755745099","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c752e34f36f343a94a04b2d5ab4a142c37b202dd.webp?v=1755745099","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27521aa22bf9aee1a092aaeb91bce562f0b7f07f.webp?v=1755745098","options":["color"],"media":[{"alt":null,"id":25932806881379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27521aa22bf9aee1a092aaeb91bce562f0b7f07f.webp?v=1755745098"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27521aa22bf9aee1a092aaeb91bce562f0b7f07f.webp?v=1755745098","width":2000},{"alt":null,"id":25932807274595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac4d9be58d17dd0319144232041906fa569d1bf.webp?v=1755745098"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ac4d9be58d17dd0319144232041906fa569d1bf.webp?v=1755745098","width":2000},{"alt":null,"id":25932807667811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6848216224e3dce562b81b95d0c3b087d3007fbc.webp?v=1755745099"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6848216224e3dce562b81b95d0c3b087d3007fbc.webp?v=1755745099","width":2000},{"alt":null,"id":25932807864419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c752e34f36f343a94a04b2d5ab4a142c37b202dd.webp?v=1755745099"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c752e34f36f343a94a04b2d5ab4a142c37b202dd.webp?v=1755745099","width":2000},{"alt":null,"id":26269791486051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608","width":2000},{"alt":null,"id":26269791682659,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608","width":2000},{"alt":null,"id":26269792010339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609","width":2000},{"alt":null,"id":26269792305251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43602707546211,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NXB0135169","requires_shipping":true,"taxable":true,"featured_image":{"id":34700760416355,"product_id":7860570259555,"position":8,"created_at":"2025-10-29T10:23:27+08:00","updated_at":"2025-10-29T10:23:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609","variant_ids":[43602707546211]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-28,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495605","featured_media":{"alt":null,"id":26269792305251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43602708824163,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NXB0135124","requires_shipping":true,"taxable":true,"featured_image":{"id":34700760088675,"product_id":7860570259555,"position":7,"created_at":"2025-10-29T10:23:27+08:00","updated_at":"2025-10-29T10:23:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609","variant_ids":[43602708824163]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-27,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495582","featured_media":{"alt":null,"id":26269792010339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efd86bb105946c913de152b9c97e9820d364b43.webp?v=1761704609"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43602708856931,"title":"白","option1":"白","option2":null,"option3":null,"sku":"NXB0135104","requires_shipping":true,"taxable":true,"featured_image":{"id":34700759793763,"product_id":7860570259555,"position":6,"created_at":"2025-10-29T10:23:26+08:00","updated_at":"2025-10-29T10:23:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608","variant_ids":[43602708856931]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 白","public_title":"白","options":["白"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-25,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495575","featured_media":{"alt":null,"id":26269791682659,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7bf767bafe806927559a06888d6083a455e632.webp?v=1761704608"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43602708889699,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NXB01351J5","requires_shipping":true,"taxable":true,"featured_image":{"id":34700759597155,"product_id":7860570259555,"position":5,"created_at":"2025-10-29T10:23:26+08:00","updated_at":"2025-10-29T10:23:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608","variant_ids":[43602708889699]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-28,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495636","featured_media":{"alt":null,"id":26269791486051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/664ea446490a6ae0764c7d40e2b8e789309c58f5.webp?v=1761704608"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43602707546211,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NXB0135169","requires_shipping":true,"taxable":true,"featured_image":{"id":34700760416355,"product_id":7860570259555,"position":8,"created_at":"2025-10-29T10:23:27+08:00","updated_at":"2025-10-29T10:23:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609","variant_ids":[43602707546211]},"available":true,"name":"iPhone Air Mod NX -邊框背蓋組合 (相機按鈕) - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":0,"compare_at_price":null,"inventory_quantity":-28,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592495605","featured_media":{"alt":null,"id":26269792305251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d93f96fe8da1d80e27834ed877e823487e5cb53.webp?v=1761704609"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
var sellingStatus;
$device_handle = null
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 storedData = sessionStorage.getItem('sellingStatusData');
try {
sellingStatusData = JSON.parse(storedData)
} catch (error) {
console.error('JSON.parse Error', error)
sellingStatusData = null
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku, sellingStatusData);
});
function handleSellingStatus(currentSku, sellingStatusData) {
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const matchSellingStatusProduct = sellingStatusData.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, sellingStatusData)
});
});
// 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: "停產"
}