$product = {"id":7876197449827,"title":"iPhone 14 Plus Mod NX 小勞撫 辦公室滑輪椅比賽","handle":"iphone-14-plus-mod-nx-printable-em53","description":null,"published_at":"2025-09-04T09:02:05+08:00","created_at":"2025-09-03T12:27:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiaolaofu","device-iPhone 14 Plus","merge","reseller-xiaolaofu"],"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":43675811577955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416781754467,"product_id":7876197449827,"position":3,"created_at":"2025-09-03T12:27:21+08:00","updated_at":"2025-09-03T12:27:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643","variant_ids":[43675811577955]},"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-EM53","featured_media":{"alt":null,"id":25989056594019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfbe68b8d5b414d2aba5fc88065bcc0c8cc1f5f4.webp?v=1756873642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea112adc49b6fdc5f7eecacb7368832e92ef450.webp?v=1756873643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6542c2e787de7eb32eac370922ea0823c8bd4149.webp?v=1756873644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96db4e3dc962bcca960cd8b55c3521d40e89e85d.webp?v=1756873645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdcbc0217f92c756972c2aa24f3c788b0b11a5b4.webp?v=1756873646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba8e893bd18cc525c7fbb422d93a4048486232ce.webp?v=1756873647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ef4d75f6df8837c992bc56abc35193cee03ab5.webp?v=1756873647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25076bcc8184fb0c1d2b90e8fb6cd67d5c5360d2.webp?v=1756873648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f50887dc4df9b836012faf52b121108bd72879e6.webp?v=1756873649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3e58bccf97e845ae2a391bb850f10ac8d28ab9.webp?v=1756873650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a6d258a54916fc638accf4be8ef0fb65ea4261e.webp?v=1756873651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/996bf9b1122d0ffe30feb95df8adef7711f55a7f.webp?v=1756873651"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfbe68b8d5b414d2aba5fc88065bcc0c8cc1f5f4.webp?v=1756873642","options":["color"],"media":[{"alt":null,"id":25989056004195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfbe68b8d5b414d2aba5fc88065bcc0c8cc1f5f4.webp?v=1756873642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfbe68b8d5b414d2aba5fc88065bcc0c8cc1f5f4.webp?v=1756873642","width":2000},{"alt":null,"id":25989056233571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea112adc49b6fdc5f7eecacb7368832e92ef450.webp?v=1756873643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ea112adc49b6fdc5f7eecacb7368832e92ef450.webp?v=1756873643","width":2000},{"alt":null,"id":25989056594019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643","width":2000},{"alt":null,"id":25989056856163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6542c2e787de7eb32eac370922ea0823c8bd4149.webp?v=1756873644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6542c2e787de7eb32eac370922ea0823c8bd4149.webp?v=1756873644","width":2000},{"alt":null,"id":25989057085539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96db4e3dc962bcca960cd8b55c3521d40e89e85d.webp?v=1756873645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96db4e3dc962bcca960cd8b55c3521d40e89e85d.webp?v=1756873645","width":2000},{"alt":null,"id":25989057347683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdcbc0217f92c756972c2aa24f3c788b0b11a5b4.webp?v=1756873646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdcbc0217f92c756972c2aa24f3c788b0b11a5b4.webp?v=1756873646","width":2000},{"alt":null,"id":25989057577059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba8e893bd18cc525c7fbb422d93a4048486232ce.webp?v=1756873647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba8e893bd18cc525c7fbb422d93a4048486232ce.webp?v=1756873647","width":2000},{"alt":null,"id":25989057740899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ef4d75f6df8837c992bc56abc35193cee03ab5.webp?v=1756873647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ef4d75f6df8837c992bc56abc35193cee03ab5.webp?v=1756873647","width":2000},{"alt":null,"id":25989058035811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25076bcc8184fb0c1d2b90e8fb6cd67d5c5360d2.webp?v=1756873648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25076bcc8184fb0c1d2b90e8fb6cd67d5c5360d2.webp?v=1756873648","width":2000},{"alt":null,"id":25989058330723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f50887dc4df9b836012faf52b121108bd72879e6.webp?v=1756873649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f50887dc4df9b836012faf52b121108bd72879e6.webp?v=1756873649","width":2000},{"alt":null,"id":25989058494563,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3e58bccf97e845ae2a391bb850f10ac8d28ab9.webp?v=1756873650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3e58bccf97e845ae2a391bb850f10ac8d28ab9.webp?v=1756873650","width":2000},{"alt":null,"id":25989058723939,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a6d258a54916fc638accf4be8ef0fb65ea4261e.webp?v=1756873651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a6d258a54916fc638accf4be8ef0fb65ea4261e.webp?v=1756873651","width":2000},{"alt":null,"id":25989058887779,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/996bf9b1122d0ffe30feb95df8adef7711f55a7f.webp?v=1756873651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/996bf9b1122d0ffe30feb95df8adef7711f55a7f.webp?v=1756873651","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43675811577955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416781754467,"product_id":7876197449827,"position":3,"created_at":"2025-09-03T12:27:21+08:00","updated_at":"2025-09-03T12:27:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643","variant_ids":[43675811577955]},"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-EM53","featured_media":{"alt":null,"id":25989056594019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43675811577955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-EM53","requires_shipping":true,"taxable":true,"featured_image":{"id":34416781754467,"product_id":7876197449827,"position":3,"created_at":"2025-09-03T12:27:21+08:00","updated_at":"2025-09-03T12:27:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643","variant_ids":[43675811577955]},"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-EM53","featured_media":{"alt":null,"id":25989056594019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/162b05d942674a227317fd7eadc6fed0cc017002.webp?v=1756873643"}},"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: "停產"
}