$product = {"id":7931613937763,"title":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 腐鏽的我們","handle":"iphone-14-plus-mod-nx-bir07","description":null,"published_at":"2026-01-27T14:24:33+08:00","created_at":"2025-11-28T11:13:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 14 Plus","merge","reseller-everydayishappybirthday"],"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":43861306179683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34863612330083,"product_id":7931613937763,"position":6,"created_at":"2025-11-28T11:13:12+08:00","updated_at":"2025-11-28T11:13:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594","variant_ids":[43861306179683]},"available":true,"name":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 腐鏽的我們 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-BIR07","featured_media":{"alt":null,"id":26428031369315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/834f7a041e3fcbe74c5817f434c1c8c88cd03caf.webp?v=1764299591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5e4a72d220fea546233add1c9e35334fa6408.webp?v=1764299592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c6c63980f77afffa28638d89e36bb0aaa0926e4.webp?v=1764299592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f5643a81036874f0d1c92d7c5351dc64f2102e8.webp?v=1764299593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58614659cbb132e51f7a6db0be8df9cf0d6cd772.webp?v=1764299593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d32e54497cb671df41470e2e470318d9650c3c21.webp?v=1764299595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc2846aa4f9206ed373f57186109d255dfe2c629.webp?v=1764299595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c468d03618ebbd7451b37427f8e1dee7318da6d4.webp?v=1764299596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b15e9f71874b086ff89c5a452549f6e8c7dff8b.webp?v=1764299596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06c5266c0f3a91a3d62cdffd5e62bb4728fb69e4.webp?v=1764299597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/837e1820385bacbdcf660c0ac74a32a96875642e.webp?v=1764299597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3228e534560eeac95795a9f396d83bc54981b8fa.webp?v=1764299597"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/834f7a041e3fcbe74c5817f434c1c8c88cd03caf.webp?v=1764299591","options":["color"],"media":[{"alt":null,"id":26428028846179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/834f7a041e3fcbe74c5817f434c1c8c88cd03caf.webp?v=1764299591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/834f7a041e3fcbe74c5817f434c1c8c88cd03caf.webp?v=1764299591","width":2000},{"alt":null,"id":26428029272163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5e4a72d220fea546233add1c9e35334fa6408.webp?v=1764299592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab5e4a72d220fea546233add1c9e35334fa6408.webp?v=1764299592","width":2000},{"alt":null,"id":26428029730915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c6c63980f77afffa28638d89e36bb0aaa0926e4.webp?v=1764299592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c6c63980f77afffa28638d89e36bb0aaa0926e4.webp?v=1764299592","width":2000},{"alt":null,"id":26428030287971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f5643a81036874f0d1c92d7c5351dc64f2102e8.webp?v=1764299593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f5643a81036874f0d1c92d7c5351dc64f2102e8.webp?v=1764299593","width":2000},{"alt":null,"id":26428030779491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58614659cbb132e51f7a6db0be8df9cf0d6cd772.webp?v=1764299593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58614659cbb132e51f7a6db0be8df9cf0d6cd772.webp?v=1764299593","width":2000},{"alt":null,"id":26428031369315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594","width":2000},{"alt":null,"id":26428032024675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d32e54497cb671df41470e2e470318d9650c3c21.webp?v=1764299595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d32e54497cb671df41470e2e470318d9650c3c21.webp?v=1764299595","width":2000},{"alt":null,"id":26428032483427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc2846aa4f9206ed373f57186109d255dfe2c629.webp?v=1764299595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc2846aa4f9206ed373f57186109d255dfe2c629.webp?v=1764299595","width":2000},{"alt":null,"id":26428032942179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c468d03618ebbd7451b37427f8e1dee7318da6d4.webp?v=1764299596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c468d03618ebbd7451b37427f8e1dee7318da6d4.webp?v=1764299596","width":2000},{"alt":null,"id":26428033171555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b15e9f71874b086ff89c5a452549f6e8c7dff8b.webp?v=1764299596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b15e9f71874b086ff89c5a452549f6e8c7dff8b.webp?v=1764299596","width":2000},{"alt":null,"id":26428033400931,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06c5266c0f3a91a3d62cdffd5e62bb4728fb69e4.webp?v=1764299597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06c5266c0f3a91a3d62cdffd5e62bb4728fb69e4.webp?v=1764299597","width":2000},{"alt":null,"id":26428033859683,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/837e1820385bacbdcf660c0ac74a32a96875642e.webp?v=1764299597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/837e1820385bacbdcf660c0ac74a32a96875642e.webp?v=1764299597","width":2000},{"alt":null,"id":26428034318435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3228e534560eeac95795a9f396d83bc54981b8fa.webp?v=1764299597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3228e534560eeac95795a9f396d83bc54981b8fa.webp?v=1764299597","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43861306179683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34863612330083,"product_id":7931613937763,"position":6,"created_at":"2025-11-28T11:13:12+08:00","updated_at":"2025-11-28T11:13:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594","variant_ids":[43861306179683]},"available":true,"name":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 腐鏽的我們 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-BIR07","featured_media":{"alt":null,"id":26428031369315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43861306179683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-BIR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34863612330083,"product_id":7931613937763,"position":6,"created_at":"2025-11-28T11:13:12+08:00","updated_at":"2025-11-28T11:13:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594","variant_ids":[43861306179683]},"available":true,"name":"iPhone 14 Plus Mod NX 產房 • 廢料棲息地 腐鏽的我們 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-BIR07","featured_media":{"alt":null,"id":26428031369315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b500fdb313437c8f962f15e5acae5f8374ac68cb.webp?v=1764299594"}},"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: "停產"
}