$product = {"id":7911272251491,"title":"iPhone 14 Pro Mod NX PosterLad NOW","handle":"iphone-14-pro-mod-nx-printable-pos05","description":null,"published_at":"2025-11-05T10:36:03+08:00","created_at":"2025-11-04T10:48:34+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":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":43812171743331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729288335459,"product_id":7911272251491,"position":10,"created_at":"2025-11-04T10:48:43+08:00","updated_at":"2025-11-04T10:48:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525","variant_ids":[43812171743331]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297156534371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812171776099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729287319651,"product_id":7911272251491,"position":6,"created_at":"2025-11-04T10:48:39+08:00","updated_at":"2025-11-04T10:48:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521","variant_ids":[43812171776099]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297155453027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812171972707,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729287909475,"product_id":7911272251491,"position":8,"created_at":"2025-11-04T10:48:41+08:00","updated_at":"2025-11-04T10:48:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523","variant_ids":[43812171972707]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297156010083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d60b14051fa821510c8b88279a1066a29dbe8c07.webp?v=1762224517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dc7254597ec66f3f68d1c0675d652d8ce48af5.webp?v=1762224518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce1567f65f06c8f66d68774a831ced49d8c9cdf6.webp?v=1762224519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/376b35da87b7a7bed006fdb331777671e8d11719.webp?v=1762224520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb83cfb86ed1e03de03b1958ef16febeb99db600.webp?v=1762224521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56a7b157b3bd75e7d38f52c940339737acf34f0.webp?v=1762224522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e44afddd51dab3fc0d1bf828ef1a8315ac9a31a.webp?v=1762224524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6fdb06bb51dc05790fbdfc1dc56e11ea9cbc727.webp?v=1762224526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fcb2381547bf75e56615b243d873e9b3b45d394.webp?v=1762224527"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d60b14051fa821510c8b88279a1066a29dbe8c07.webp?v=1762224517","options":["color"],"media":[{"alt":null,"id":26297154404451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d60b14051fa821510c8b88279a1066a29dbe8c07.webp?v=1762224517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d60b14051fa821510c8b88279a1066a29dbe8c07.webp?v=1762224517","width":2000},{"alt":null,"id":26297154633827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dc7254597ec66f3f68d1c0675d652d8ce48af5.webp?v=1762224518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dc7254597ec66f3f68d1c0675d652d8ce48af5.webp?v=1762224518","width":2000},{"alt":null,"id":26297154830435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce1567f65f06c8f66d68774a831ced49d8c9cdf6.webp?v=1762224519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce1567f65f06c8f66d68774a831ced49d8c9cdf6.webp?v=1762224519","width":2000},{"alt":null,"id":26297154994275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/376b35da87b7a7bed006fdb331777671e8d11719.webp?v=1762224520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/376b35da87b7a7bed006fdb331777671e8d11719.webp?v=1762224520","width":2000},{"alt":null,"id":26297155190883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb83cfb86ed1e03de03b1958ef16febeb99db600.webp?v=1762224521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb83cfb86ed1e03de03b1958ef16febeb99db600.webp?v=1762224521","width":2000},{"alt":null,"id":26297155453027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521","width":2000},{"alt":null,"id":26297155682403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56a7b157b3bd75e7d38f52c940339737acf34f0.webp?v=1762224522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56a7b157b3bd75e7d38f52c940339737acf34f0.webp?v=1762224522","width":2000},{"alt":null,"id":26297156010083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523","width":2000},{"alt":null,"id":26297156206691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e44afddd51dab3fc0d1bf828ef1a8315ac9a31a.webp?v=1762224524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e44afddd51dab3fc0d1bf828ef1a8315ac9a31a.webp?v=1762224524","width":2000},{"alt":null,"id":26297156534371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525","width":2000},{"alt":null,"id":26297156632675,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6fdb06bb51dc05790fbdfc1dc56e11ea9cbc727.webp?v=1762224526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6fdb06bb51dc05790fbdfc1dc56e11ea9cbc727.webp?v=1762224526","width":2000},{"alt":null,"id":26297156763747,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fcb2381547bf75e56615b243d873e9b3b45d394.webp?v=1762224527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fcb2381547bf75e56615b243d873e9b3b45d394.webp?v=1762224527","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43812171743331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729288335459,"product_id":7911272251491,"position":10,"created_at":"2025-11-04T10:48:43+08:00","updated_at":"2025-11-04T10:48:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525","variant_ids":[43812171743331]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297156534371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812171776099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729287319651,"product_id":7911272251491,"position":6,"created_at":"2025-11-04T10:48:39+08:00","updated_at":"2025-11-04T10:48:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521","variant_ids":[43812171776099]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297155453027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f62039abfdd1fef54a8d6efdf0948457dd3f1c.webp?v=1762224521"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812171972707,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729287909475,"product_id":7911272251491,"position":8,"created_at":"2025-11-04T10:48:41+08:00","updated_at":"2025-11-04T10:48:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523","variant_ids":[43812171972707]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297156010083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48ca2dbd40af6fd851c4f746f489b120a50d2890.webp?v=1762224523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43812171743331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729288335459,"product_id":7911272251491,"position":10,"created_at":"2025-11-04T10:48:43+08:00","updated_at":"2025-11-04T10:48:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525","variant_ids":[43812171743331]},"available":true,"name":"iPhone 14 Pro Mod NX PosterLad NOW - 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-POS05","featured_media":{"alt":null,"id":26297156534371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecaced70e2de9ab358b07300924c14e3e04ef43.webp?v=1762224525"}},"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: "停產"
}