$product = {"id":7911205896291,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad 天空是極限","handle":"iphone-14-plus-mod-nx-magsafe-printable-pos07","description":null,"published_at":"2025-11-05T10:45:42+08:00","created_at":"2025-11-04T10:37:07+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":43811988930659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS07","requires_shipping":true,"taxable":true,"featured_image":{"id":34729115648099,"product_id":7911205896291,"position":5,"created_at":"2025-11-04T10:37:15+08:00","updated_at":"2025-11-04T10:37:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837","variant_ids":[43811988930659]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad 天空是極限 - 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-POS07","featured_media":{"alt":null,"id":26296984076387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce5acc47a462e03e9457b02aba29eade58f49fd.webp?v=1762223833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efba206c6f1f8f2c856dbd3e4b899930ce84206.webp?v=1762223835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c81c10cdde21bdad47b99903e595657fdb61da.webp?v=1762223835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f34eb400f0f98621309f5602bd66536555b683c.webp?v=1762223836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a298742fffa1a630fb47ef16fa3bf4f3a450c3.webp?v=1762223838","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa0fcdbcef1691629d26b575703830f09139e413.webp?v=1762223838","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4c761c2a896607e279561a9864229698e52b2cf.webp?v=1762223839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00159c1b8406ea0d8e8bea20a5e758710782578f.webp?v=1762223840","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56ffcd6155d55fcd400969a171bbd5ab72838d60.webp?v=1762223842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77733ac0c78ec432e69f8a0b38d6594583ddd2bd.webp?v=1762223842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8826e83684ddcfc2cba31b7774385aac9f144791.webp?v=1762223843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faf7cf550fc92b7149634096a1d798dab644055e.webp?v=1762223844"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce5acc47a462e03e9457b02aba29eade58f49fd.webp?v=1762223833","options":["color"],"media":[{"alt":null,"id":26296983453795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce5acc47a462e03e9457b02aba29eade58f49fd.webp?v=1762223833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce5acc47a462e03e9457b02aba29eade58f49fd.webp?v=1762223833","width":2000},{"alt":null,"id":26296983650403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efba206c6f1f8f2c856dbd3e4b899930ce84206.webp?v=1762223835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efba206c6f1f8f2c856dbd3e4b899930ce84206.webp?v=1762223835","width":2000},{"alt":null,"id":26296983814243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c81c10cdde21bdad47b99903e595657fdb61da.webp?v=1762223835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c81c10cdde21bdad47b99903e595657fdb61da.webp?v=1762223835","width":2000},{"alt":null,"id":26296983945315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f34eb400f0f98621309f5602bd66536555b683c.webp?v=1762223836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f34eb400f0f98621309f5602bd66536555b683c.webp?v=1762223836","width":2000},{"alt":null,"id":26296984076387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837","width":2000},{"alt":null,"id":26296984305763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a298742fffa1a630fb47ef16fa3bf4f3a450c3.webp?v=1762223838"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a298742fffa1a630fb47ef16fa3bf4f3a450c3.webp?v=1762223838","width":2000},{"alt":null,"id":26296984567907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa0fcdbcef1691629d26b575703830f09139e413.webp?v=1762223838"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa0fcdbcef1691629d26b575703830f09139e413.webp?v=1762223838","width":2000},{"alt":null,"id":26296984830051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4c761c2a896607e279561a9864229698e52b2cf.webp?v=1762223839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4c761c2a896607e279561a9864229698e52b2cf.webp?v=1762223839","width":2000},{"alt":null,"id":26296985124963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00159c1b8406ea0d8e8bea20a5e758710782578f.webp?v=1762223840"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00159c1b8406ea0d8e8bea20a5e758710782578f.webp?v=1762223840","width":2000},{"alt":null,"id":26296985419875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56ffcd6155d55fcd400969a171bbd5ab72838d60.webp?v=1762223842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56ffcd6155d55fcd400969a171bbd5ab72838d60.webp?v=1762223842","width":2000},{"alt":null,"id":26296985944163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77733ac0c78ec432e69f8a0b38d6594583ddd2bd.webp?v=1762223842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77733ac0c78ec432e69f8a0b38d6594583ddd2bd.webp?v=1762223842","width":2000},{"alt":null,"id":26296986206307,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8826e83684ddcfc2cba31b7774385aac9f144791.webp?v=1762223843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8826e83684ddcfc2cba31b7774385aac9f144791.webp?v=1762223843","width":2000},{"alt":null,"id":26296986468451,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faf7cf550fc92b7149634096a1d798dab644055e.webp?v=1762223844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faf7cf550fc92b7149634096a1d798dab644055e.webp?v=1762223844","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43811988930659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS07","requires_shipping":true,"taxable":true,"featured_image":{"id":34729115648099,"product_id":7911205896291,"position":5,"created_at":"2025-11-04T10:37:15+08:00","updated_at":"2025-11-04T10:37:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837","variant_ids":[43811988930659]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad 天空是極限 - 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-POS07","featured_media":{"alt":null,"id":26296984076387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43811988930659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS07","requires_shipping":true,"taxable":true,"featured_image":{"id":34729115648099,"product_id":7911205896291,"position":5,"created_at":"2025-11-04T10:37:15+08:00","updated_at":"2025-11-04T10:37:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837","variant_ids":[43811988930659]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad 天空是極限 - 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-POS07","featured_media":{"alt":null,"id":26296984076387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17df1f86622f275fe21f30454209f4b561a09f62.webp?v=1762223837"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}