$product = {"id":7876085022819,"title":"iPhone 14 Pro Mod NX 小勞撫 我好棒!!","handle":"iphone-14-pro-mod-nx-printable-em50","description":null,"published_at":"2025-09-04T09:56:22+08:00","created_at":"2025-09-03T11:56:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiaolaofu","device-iPhone 14 Pro","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":43675333886051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416313532515,"product_id":7876085022819,"position":9,"created_at":"2025-09-03T11:56:50+08:00","updated_at":"2025-09-03T11:56:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813","variant_ids":[43675333886051]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-EM50","featured_media":{"alt":null,"id":25988588109923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675334049891,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416312647779,"product_id":7876085022819,"position":4,"created_at":"2025-09-03T11:56:46+08:00","updated_at":"2025-09-03T11:56:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808","variant_ids":[43675334049891]},"available":true,"name":"iPhone 14 Pro Mod NX 小勞撫 我好棒!! - 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-EM50","featured_media":{"alt":null,"id":25988587094115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675334148195,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416313204835,"product_id":7876085022819,"position":6,"created_at":"2025-09-03T11:56:48+08:00","updated_at":"2025-09-03T11:56:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810","variant_ids":[43675334148195]},"available":true,"name":"iPhone 14 Pro Mod NX 小勞撫 我好棒!! - 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-EM50","featured_media":{"alt":null,"id":25988587651171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f17eee28bf3046df48888928b75df288db223bcf.webp?v=1756871805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05325c180cb6d57d69f1edc795c0b52a0ac8bb59.webp?v=1756871806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c48485232cf96337c50e0f9329866d30bbf7f7d.webp?v=1756871806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58f4282cac266aff3afddc3f50e0ea7eee8f45d1.webp?v=1756871809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/652dae9276e92d59c617c8cfcc15e634c9bd6b34.webp?v=1756871811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb811d07149625117cd72013cbbac65013d9169.webp?v=1756871812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff711941a47ca680f0fdf9d65540424acf80af21.webp?v=1756871813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e0dbc3313d979cc7343f15df1fe3619b384e57.webp?v=1756871814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b2c07a950683682a72fd20066bc780b1e216239.webp?v=1756871815"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f17eee28bf3046df48888928b75df288db223bcf.webp?v=1756871805","options":["color"],"media":[{"alt":null,"id":25988586307683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f17eee28bf3046df48888928b75df288db223bcf.webp?v=1756871805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f17eee28bf3046df48888928b75df288db223bcf.webp?v=1756871805","width":2000},{"alt":null,"id":25988586537059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05325c180cb6d57d69f1edc795c0b52a0ac8bb59.webp?v=1756871806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05325c180cb6d57d69f1edc795c0b52a0ac8bb59.webp?v=1756871806","width":2000},{"alt":null,"id":25988586799203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c48485232cf96337c50e0f9329866d30bbf7f7d.webp?v=1756871806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c48485232cf96337c50e0f9329866d30bbf7f7d.webp?v=1756871806","width":2000},{"alt":null,"id":25988587094115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808","width":2000},{"alt":null,"id":25988587520099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58f4282cac266aff3afddc3f50e0ea7eee8f45d1.webp?v=1756871809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58f4282cac266aff3afddc3f50e0ea7eee8f45d1.webp?v=1756871809","width":2000},{"alt":null,"id":25988587651171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810","width":2000},{"alt":null,"id":25988587782243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/652dae9276e92d59c617c8cfcc15e634c9bd6b34.webp?v=1756871811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/652dae9276e92d59c617c8cfcc15e634c9bd6b34.webp?v=1756871811","width":2000},{"alt":null,"id":25988588011619,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb811d07149625117cd72013cbbac65013d9169.webp?v=1756871812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb811d07149625117cd72013cbbac65013d9169.webp?v=1756871812","width":2000},{"alt":null,"id":25988588109923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813","width":2000},{"alt":null,"id":25988588273763,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff711941a47ca680f0fdf9d65540424acf80af21.webp?v=1756871813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff711941a47ca680f0fdf9d65540424acf80af21.webp?v=1756871813","width":2000},{"alt":null,"id":25988588666979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e0dbc3313d979cc7343f15df1fe3619b384e57.webp?v=1756871814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e0dbc3313d979cc7343f15df1fe3619b384e57.webp?v=1756871814","width":2000},{"alt":null,"id":25988588863587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b2c07a950683682a72fd20066bc780b1e216239.webp?v=1756871815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b2c07a950683682a72fd20066bc780b1e216239.webp?v=1756871815","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43675333886051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416313532515,"product_id":7876085022819,"position":9,"created_at":"2025-09-03T11:56:50+08:00","updated_at":"2025-09-03T11:56:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813","variant_ids":[43675333886051]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-EM50","featured_media":{"alt":null,"id":25988588109923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675334049891,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416312647779,"product_id":7876085022819,"position":4,"created_at":"2025-09-03T11:56:46+08:00","updated_at":"2025-09-03T11:56:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808","variant_ids":[43675334049891]},"available":true,"name":"iPhone 14 Pro Mod NX 小勞撫 我好棒!! - 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-EM50","featured_media":{"alt":null,"id":25988587094115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7f443536d6e53c3142f6344747eca8a2a8ae6de.webp?v=1756871808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675334148195,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416313204835,"product_id":7876085022819,"position":6,"created_at":"2025-09-03T11:56:48+08:00","updated_at":"2025-09-03T11:56:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810","variant_ids":[43675334148195]},"available":true,"name":"iPhone 14 Pro Mod NX 小勞撫 我好棒!! - 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-EM50","featured_media":{"alt":null,"id":25988587651171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5268d1b03f8267528810c95012d7dcffc38e9d17.webp?v=1756871810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43675333886051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34416313532515,"product_id":7876085022819,"position":9,"created_at":"2025-09-03T11:56:50+08:00","updated_at":"2025-09-03T11:56:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813","variant_ids":[43675333886051]},"available":true,"name":"iPhone 14 Pro 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":"NPB0126224-EM50","featured_media":{"alt":null,"id":25988588109923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bedb6a50ff070ac7548aaae909dc395bd55db9cf.webp?v=1756871813"}},"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: "停產"
}