$product = {"id":7911226048611,"title":"iPhone 14 Plus Mod NX PosterLad 天空是極限","handle":"iphone-14-plus-mod-nx-printable-pos07","description":null,"published_at":"2025-11-05T10:42:50+08:00","created_at":"2025-11-04T10:40:30+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":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":43812044308579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-POS07","requires_shipping":true,"taxable":true,"featured_image":{"id":34729168404579,"product_id":7911226048611,"position":13,"created_at":"2025-11-04T10:40:45+08:00","updated_at":"2025-11-04T10:40:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047","variant_ids":[43812044308579]},"available":true,"name":"iPhone 14 Plus Mod NX PosterLad 天空是極限 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-POS07","featured_media":{"alt":null,"id":26297036800099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a8300a74c1596763bd24fbe716150d0d75f65d.webp?v=1762224037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c9f3e6ad20bcf625464ed4a5311b4482ad1bc4.webp?v=1762224038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33652f8a55e96ddda5f09a9038d2fe4e6aa26b4f.webp?v=1762224039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e194fac8a4777b323ae967ddc6e2edac7afc0d3.webp?v=1762224040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36dcda19e10f9cc265f71aa873d93b86a94b103c.webp?v=1762224041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e2e0c5e556331668c5bf4fbaf201242425e9134.webp?v=1762224041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90232e5c7ceeeef2398c61db307ba2d81d682415.webp?v=1762224042","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e895c8821fdea80d32352980babbb7be56cc1c.webp?v=1762224043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861d409235942a8357828f451c94f90f562f74c6.webp?v=1762224044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c7eaad2c3ea454c7dfc161deecd951bb0b9eb94.webp?v=1762224044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4da6d5b8b5800d8424e522e997b2ffdbcb26edba.webp?v=1762224045","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/812d4fed1c27fd56e9f5aa251cb59761085220be.webp?v=1762224046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a8300a74c1596763bd24fbe716150d0d75f65d.webp?v=1762224037","options":["color"],"media":[{"alt":null,"id":26297033785443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a8300a74c1596763bd24fbe716150d0d75f65d.webp?v=1762224037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a8300a74c1596763bd24fbe716150d0d75f65d.webp?v=1762224037","width":2000},{"alt":null,"id":26297034014819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c9f3e6ad20bcf625464ed4a5311b4482ad1bc4.webp?v=1762224038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c9f3e6ad20bcf625464ed4a5311b4482ad1bc4.webp?v=1762224038","width":2000},{"alt":null,"id":26297034276963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33652f8a55e96ddda5f09a9038d2fe4e6aa26b4f.webp?v=1762224039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33652f8a55e96ddda5f09a9038d2fe4e6aa26b4f.webp?v=1762224039","width":2000},{"alt":null,"id":26297034473571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e194fac8a4777b323ae967ddc6e2edac7afc0d3.webp?v=1762224040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e194fac8a4777b323ae967ddc6e2edac7afc0d3.webp?v=1762224040","width":2000},{"alt":null,"id":26297034735715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36dcda19e10f9cc265f71aa873d93b86a94b103c.webp?v=1762224041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36dcda19e10f9cc265f71aa873d93b86a94b103c.webp?v=1762224041","width":2000},{"alt":null,"id":26297034965091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e2e0c5e556331668c5bf4fbaf201242425e9134.webp?v=1762224041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e2e0c5e556331668c5bf4fbaf201242425e9134.webp?v=1762224041","width":2000},{"alt":null,"id":26297035227235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90232e5c7ceeeef2398c61db307ba2d81d682415.webp?v=1762224042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90232e5c7ceeeef2398c61db307ba2d81d682415.webp?v=1762224042","width":2000},{"alt":null,"id":26297035489379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e895c8821fdea80d32352980babbb7be56cc1c.webp?v=1762224043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e895c8821fdea80d32352980babbb7be56cc1c.webp?v=1762224043","width":2000},{"alt":null,"id":26297035718755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861d409235942a8357828f451c94f90f562f74c6.webp?v=1762224044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861d409235942a8357828f451c94f90f562f74c6.webp?v=1762224044","width":2000},{"alt":null,"id":26297036046435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c7eaad2c3ea454c7dfc161deecd951bb0b9eb94.webp?v=1762224044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c7eaad2c3ea454c7dfc161deecd951bb0b9eb94.webp?v=1762224044","width":2000},{"alt":null,"id":26297036374115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4da6d5b8b5800d8424e522e997b2ffdbcb26edba.webp?v=1762224045"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4da6d5b8b5800d8424e522e997b2ffdbcb26edba.webp?v=1762224045","width":2000},{"alt":null,"id":26297036603491,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/812d4fed1c27fd56e9f5aa251cb59761085220be.webp?v=1762224046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/812d4fed1c27fd56e9f5aa251cb59761085220be.webp?v=1762224046","width":2000},{"alt":null,"id":26297036800099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43812044308579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-POS07","requires_shipping":true,"taxable":true,"featured_image":{"id":34729168404579,"product_id":7911226048611,"position":13,"created_at":"2025-11-04T10:40:45+08:00","updated_at":"2025-11-04T10:40:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047","variant_ids":[43812044308579]},"available":true,"name":"iPhone 14 Plus Mod NX PosterLad 天空是極限 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-POS07","featured_media":{"alt":null,"id":26297036800099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43812044308579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-POS07","requires_shipping":true,"taxable":true,"featured_image":{"id":34729168404579,"product_id":7911226048611,"position":13,"created_at":"2025-11-04T10:40:45+08:00","updated_at":"2025-11-04T10:40:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047","variant_ids":[43812044308579]},"available":true,"name":"iPhone 14 Plus Mod NX PosterLad 天空是極限 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-POS07","featured_media":{"alt":null,"id":26297036800099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f82c7f0b71e7af095216fd7e0afa8df6fb9b70.webp?v=1762224047"}},"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: "停產"
}