$product = {"id":7911186956387,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad NOW","handle":"iphone-14-plus-mod-nx-magsafe-printable-pos05","description":null,"published_at":"2025-11-05T10:49:34+08:00","created_at":"2025-11-04T10:32:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 14 Plus","merge","reseller-posterlad"],"price":110000,"price_min":110000,"price_max":110000,"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":43811918643299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729046311011,"product_id":7911186956387,"position":6,"created_at":"2025-11-04T10:32:16+08:00","updated_at":"2025-11-04T10:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537","variant_ids":[43811918643299]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad NOW - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-POS05","featured_media":{"alt":null,"id":26296914739299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcb1690eb6afc43f143f5c6e3f4f436f541a521.webp?v=1762223533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44e4395312792d667224204f22a09da7f06c5ed1.webp?v=1762223534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd1ff024dd05a245b6efa2821de4c63c7155078.webp?v=1762223536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21dd8e89de1b6938b84af01e7b65668dfc5e2ca8.webp?v=1762223535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c684d7c97f8fe7c4790fc1dc703360949f6efde.webp?v=1762223537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/173de3a13c96f0d7d33e23d79ff4edaa4709852b.webp?v=1762223538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6eb30e2ca624f45d4853d802a75235c6fbb81a5.webp?v=1762223539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f3d1877c69a9afe17e98a40a58e2bd642887a8.webp?v=1762223540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a184fd7b0faddd89559dd71fdab3dde36d93e4a5.webp?v=1762223541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c96913d89dcf30bdb1b74b5dcb62f7d8b836e1.webp?v=1762223542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51aaf9ca39b423cad446cf575ce58abc2d08f417.webp?v=1762223542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be88b14d600c8a3bc9044aaf9dbf33fe93a7037a.webp?v=1762223543"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcb1690eb6afc43f143f5c6e3f4f436f541a521.webp?v=1762223533","options":["color"],"media":[{"alt":null,"id":26296913887331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcb1690eb6afc43f143f5c6e3f4f436f541a521.webp?v=1762223533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcb1690eb6afc43f143f5c6e3f4f436f541a521.webp?v=1762223533","width":2000},{"alt":null,"id":26296914083939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44e4395312792d667224204f22a09da7f06c5ed1.webp?v=1762223534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44e4395312792d667224204f22a09da7f06c5ed1.webp?v=1762223534","width":2000},{"alt":null,"id":26296914280547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd1ff024dd05a245b6efa2821de4c63c7155078.webp?v=1762223536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd1ff024dd05a245b6efa2821de4c63c7155078.webp?v=1762223536","width":2000},{"alt":null,"id":26296914411619,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21dd8e89de1b6938b84af01e7b65668dfc5e2ca8.webp?v=1762223535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21dd8e89de1b6938b84af01e7b65668dfc5e2ca8.webp?v=1762223535","width":2000},{"alt":null,"id":26296914640995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c684d7c97f8fe7c4790fc1dc703360949f6efde.webp?v=1762223537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c684d7c97f8fe7c4790fc1dc703360949f6efde.webp?v=1762223537","width":2000},{"alt":null,"id":26296914739299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537","width":2000},{"alt":null,"id":26296914903139,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/173de3a13c96f0d7d33e23d79ff4edaa4709852b.webp?v=1762223538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/173de3a13c96f0d7d33e23d79ff4edaa4709852b.webp?v=1762223538","width":2000},{"alt":null,"id":26296915001443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6eb30e2ca624f45d4853d802a75235c6fbb81a5.webp?v=1762223539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6eb30e2ca624f45d4853d802a75235c6fbb81a5.webp?v=1762223539","width":2000},{"alt":null,"id":26296915099747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f3d1877c69a9afe17e98a40a58e2bd642887a8.webp?v=1762223540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f3d1877c69a9afe17e98a40a58e2bd642887a8.webp?v=1762223540","width":2000},{"alt":null,"id":26296915329123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a184fd7b0faddd89559dd71fdab3dde36d93e4a5.webp?v=1762223541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a184fd7b0faddd89559dd71fdab3dde36d93e4a5.webp?v=1762223541","width":2000},{"alt":null,"id":26296915492963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c96913d89dcf30bdb1b74b5dcb62f7d8b836e1.webp?v=1762223542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c96913d89dcf30bdb1b74b5dcb62f7d8b836e1.webp?v=1762223542","width":2000},{"alt":null,"id":26296915755107,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51aaf9ca39b423cad446cf575ce58abc2d08f417.webp?v=1762223542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51aaf9ca39b423cad446cf575ce58abc2d08f417.webp?v=1762223542","width":2000},{"alt":null,"id":26296916115555,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be88b14d600c8a3bc9044aaf9dbf33fe93a7037a.webp?v=1762223543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be88b14d600c8a3bc9044aaf9dbf33fe93a7037a.webp?v=1762223543","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43811918643299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729046311011,"product_id":7911186956387,"position":6,"created_at":"2025-11-04T10:32:16+08:00","updated_at":"2025-11-04T10:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537","variant_ids":[43811918643299]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad NOW - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-POS05","featured_media":{"alt":null,"id":26296914739299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43811918643299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729046311011,"product_id":7911186956387,"position":6,"created_at":"2025-11-04T10:32:16+08:00","updated_at":"2025-11-04T10:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537","variant_ids":[43811918643299]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad NOW - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-POS05","featured_media":{"alt":null,"id":26296914739299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17adb81c22f8dcce9e99ffc918f58adcc83453b7.webp?v=1762223537"}},"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: "停產"
}