$product = {"id":7911288078435,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) PosterLad NOW","handle":"iphone-14-pro-mod-nx-magsafe-printable-pos05","description":null,"published_at":"2025-11-05T10:33:48+08:00","created_at":"2025-11-04T10:51:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 14 Pro","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":43812213555299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729327624291,"product_id":7911288078435,"position":10,"created_at":"2025-11-04T10:51:29+08:00","updated_at":"2025-11-04T10:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691","variant_ids":[43812213555299]},"available":true,"name":"iPhone 14 Pro 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":"MPB0126224-POS05","featured_media":{"alt":null,"id":26297195757667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812213588067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729325297763,"product_id":7911288078435,"position":2,"created_at":"2025-11-04T10:51:22+08:00","updated_at":"2025-11-04T10:51:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684","variant_ids":[43812213588067]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) PosterLad NOW - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-POS05","featured_media":{"alt":null,"id":26297193431139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812213784675,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729327919203,"product_id":7911288078435,"position":11,"created_at":"2025-11-04T10:51:30+08:00","updated_at":"2025-11-04T10:51:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692","variant_ids":[43812213784675]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) PosterLad NOW - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-POS05","featured_media":{"alt":null,"id":26297196118115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e30389ace132f111ec657dc1afdb3b1da2d3f437.webp?v=1762224684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/532b0291d7b4ebd2aa83e49df02e8112b1e8c851.webp?v=1762224685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce3e7f37d484b9e4340f30d66f478e11af482bf3.webp?v=1762224686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1111a71e89be8d9fbbcdb844cb602fc4cfab4345.webp?v=1762224687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320d1a8bdaf3ac0a74da8c3d4655273cdbca6067.webp?v=1762224687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4bb0ac6f742ce406c3b9c4de2212e1056cb39.webp?v=1762224688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ca71e2875ba8162acc6e2eba6d70ff74a77180.webp?v=1762224690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c3f656cfd44c9a598695dff7b8fd07a2df2c5c.webp?v=1762224690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6337c8b00f021550d06760fc0756af783d71c4.webp?v=1762224693"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e30389ace132f111ec657dc1afdb3b1da2d3f437.webp?v=1762224684","options":["color"],"media":[{"alt":null,"id":26297193201763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e30389ace132f111ec657dc1afdb3b1da2d3f437.webp?v=1762224684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e30389ace132f111ec657dc1afdb3b1da2d3f437.webp?v=1762224684","width":2000},{"alt":null,"id":26297193431139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684","width":2000},{"alt":null,"id":26297193562211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/532b0291d7b4ebd2aa83e49df02e8112b1e8c851.webp?v=1762224685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/532b0291d7b4ebd2aa83e49df02e8112b1e8c851.webp?v=1762224685","width":2000},{"alt":null,"id":26297193889891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce3e7f37d484b9e4340f30d66f478e11af482bf3.webp?v=1762224686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce3e7f37d484b9e4340f30d66f478e11af482bf3.webp?v=1762224686","width":2000},{"alt":null,"id":26297194184803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1111a71e89be8d9fbbcdb844cb602fc4cfab4345.webp?v=1762224687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1111a71e89be8d9fbbcdb844cb602fc4cfab4345.webp?v=1762224687","width":2000},{"alt":null,"id":26297194479715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320d1a8bdaf3ac0a74da8c3d4655273cdbca6067.webp?v=1762224687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320d1a8bdaf3ac0a74da8c3d4655273cdbca6067.webp?v=1762224687","width":2000},{"alt":null,"id":26297194741859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4bb0ac6f742ce406c3b9c4de2212e1056cb39.webp?v=1762224688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e4bb0ac6f742ce406c3b9c4de2212e1056cb39.webp?v=1762224688","width":2000},{"alt":null,"id":26297195004003,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ca71e2875ba8162acc6e2eba6d70ff74a77180.webp?v=1762224690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10ca71e2875ba8162acc6e2eba6d70ff74a77180.webp?v=1762224690","width":2000},{"alt":null,"id":26297195462755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c3f656cfd44c9a598695dff7b8fd07a2df2c5c.webp?v=1762224690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c3f656cfd44c9a598695dff7b8fd07a2df2c5c.webp?v=1762224690","width":2000},{"alt":null,"id":26297195757667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691","width":2000},{"alt":null,"id":26297196118115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692","width":2000},{"alt":null,"id":26297196478563,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6337c8b00f021550d06760fc0756af783d71c4.webp?v=1762224693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6337c8b00f021550d06760fc0756af783d71c4.webp?v=1762224693","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43812213555299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729327624291,"product_id":7911288078435,"position":10,"created_at":"2025-11-04T10:51:29+08:00","updated_at":"2025-11-04T10:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691","variant_ids":[43812213555299]},"available":true,"name":"iPhone 14 Pro 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":"MPB0126224-POS05","featured_media":{"alt":null,"id":26297195757667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812213588067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729325297763,"product_id":7911288078435,"position":2,"created_at":"2025-11-04T10:51:22+08:00","updated_at":"2025-11-04T10:51:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684","variant_ids":[43812213588067]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) PosterLad NOW - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-POS05","featured_media":{"alt":null,"id":26297193431139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61b8fcad9f48a37f866471d45f7f8a2c977cf0c.webp?v=1762224684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812213784675,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729327919203,"product_id":7911288078435,"position":11,"created_at":"2025-11-04T10:51:30+08:00","updated_at":"2025-11-04T10:51:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692","variant_ids":[43812213784675]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) PosterLad NOW - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-POS05","featured_media":{"alt":null,"id":26297196118115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776af59f71bc47dc359661c1c7916339b548ea8a.webp?v=1762224692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43812213555299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729327624291,"product_id":7911288078435,"position":10,"created_at":"2025-11-04T10:51:29+08:00","updated_at":"2025-11-04T10:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691","variant_ids":[43812213555299]},"available":true,"name":"iPhone 14 Pro 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":"MPB0126224-POS05","featured_media":{"alt":null,"id":26297195757667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1e5e2408542de2ba11107539dd064627fe6f501.webp?v=1762224691"}},"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: "停產"
}