$product = {"id":7888361652323,"title":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼","handle":"iphone-14-pro-mod-nx-printable-iq06","description":null,"published_at":"2025-09-23T09:24:09+08:00","created_at":"2025-09-22T15:12:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kingjun","device-iPhone 14 Pro","merge","reseller-kingjun"],"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":43742824235107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514110185571,"product_id":7888361652323,"position":8,"created_at":"2025-09-22T15:12:10+08:00","updated_at":"2025-09-22T15:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132","variant_ids":[43742824235107]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084552736867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742824431715,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514109857891,"product_id":7888361652323,"position":6,"created_at":"2025-09-22T15:12:09+08:00","updated_at":"2025-09-22T15:12:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131","variant_ids":[43742824431715]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084552376419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742824497251,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514110808163,"product_id":7888361652323,"position":11,"created_at":"2025-09-22T15:12:11+08:00","updated_at":"2025-09-22T15:12:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134","variant_ids":[43742824497251]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084553326691,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825489a8360304daabe2f567d0fc0d61405653.webp?v=1758525128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef153afbdb6a56bf2781f7d17eeb2dff2a5bad2e.webp?v=1758525129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34510fdd8a864645fc822fd534c9dea47b3c21f4.webp?v=1758525129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52f43ae5a28bab78b73bf054205bf2a414d96422.webp?v=1758525130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48aa517fac82884abd9c7a2fa772ce58fc7bf043.webp?v=1758525130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1271f98f997c2259a42c28483004bcaf5e404e7a.webp?v=1758525131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e51f7ef1eb7c55a489d9f1f3c37b5f6e8346c1f.webp?v=1758525132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d8054c7032b7bb4648719cb1d8b3042c19d96f.webp?v=1758525133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e7b9672aaa4ff694abcd64d7b0337d16a89988.webp?v=1758525134"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825489a8360304daabe2f567d0fc0d61405653.webp?v=1758525128","options":["color"],"media":[{"alt":null,"id":26084551491683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825489a8360304daabe2f567d0fc0d61405653.webp?v=1758525128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f825489a8360304daabe2f567d0fc0d61405653.webp?v=1758525128","width":2000},{"alt":null,"id":26084551655523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef153afbdb6a56bf2781f7d17eeb2dff2a5bad2e.webp?v=1758525129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef153afbdb6a56bf2781f7d17eeb2dff2a5bad2e.webp?v=1758525129","width":2000},{"alt":null,"id":26084551753827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34510fdd8a864645fc822fd534c9dea47b3c21f4.webp?v=1758525129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34510fdd8a864645fc822fd534c9dea47b3c21f4.webp?v=1758525129","width":2000},{"alt":null,"id":26084551852131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52f43ae5a28bab78b73bf054205bf2a414d96422.webp?v=1758525130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52f43ae5a28bab78b73bf054205bf2a414d96422.webp?v=1758525130","width":2000},{"alt":null,"id":26084552147043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48aa517fac82884abd9c7a2fa772ce58fc7bf043.webp?v=1758525130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48aa517fac82884abd9c7a2fa772ce58fc7bf043.webp?v=1758525130","width":2000},{"alt":null,"id":26084552376419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131","width":2000},{"alt":null,"id":26084552540259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1271f98f997c2259a42c28483004bcaf5e404e7a.webp?v=1758525131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1271f98f997c2259a42c28483004bcaf5e404e7a.webp?v=1758525131","width":2000},{"alt":null,"id":26084552736867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132","width":2000},{"alt":null,"id":26084552900707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e51f7ef1eb7c55a489d9f1f3c37b5f6e8346c1f.webp?v=1758525132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e51f7ef1eb7c55a489d9f1f3c37b5f6e8346c1f.webp?v=1758525132","width":2000},{"alt":null,"id":26084553097315,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d8054c7032b7bb4648719cb1d8b3042c19d96f.webp?v=1758525133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d8054c7032b7bb4648719cb1d8b3042c19d96f.webp?v=1758525133","width":2000},{"alt":null,"id":26084553326691,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134","width":2000},{"alt":null,"id":26084553588835,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e7b9672aaa4ff694abcd64d7b0337d16a89988.webp?v=1758525134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e7b9672aaa4ff694abcd64d7b0337d16a89988.webp?v=1758525134","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43742824235107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514110185571,"product_id":7888361652323,"position":8,"created_at":"2025-09-22T15:12:10+08:00","updated_at":"2025-09-22T15:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132","variant_ids":[43742824235107]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084552736867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742824431715,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514109857891,"product_id":7888361652323,"position":6,"created_at":"2025-09-22T15:12:09+08:00","updated_at":"2025-09-22T15:12:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131","variant_ids":[43742824431715]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084552376419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee13e41c03f8848322734909dbdacd37737c431.webp?v=1758525131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742824497251,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514110808163,"product_id":7888361652323,"position":11,"created_at":"2025-09-22T15:12:11+08:00","updated_at":"2025-09-22T15:12:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134","variant_ids":[43742824497251]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084553326691,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048ec11225a7b5bdc2ce32e64ab2a7a21259dea4.webp?v=1758525134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43742824235107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514110185571,"product_id":7888361652323,"position":8,"created_at":"2025-09-22T15:12:10+08:00","updated_at":"2025-09-22T15:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132","variant_ids":[43742824235107]},"available":true,"name":"iPhone 14 Pro Mod NX KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084552736867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0169d4dd10d2864e075ba2f0ed9f91a203b43b.webp?v=1758525132"}},"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: "停產"
}