$product = {"id":7911232536675,"title":"iPhone XR Mod NX PosterLad NOW","handle":"iphone-xr-mod-nx-printable-pos05","description":null,"published_at":"2025-11-05T10:41:58+08:00","created_at":"2025-11-04T10:41:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone XR","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":43812058988643,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729184362595,"product_id":7911232536675,"position":9,"created_at":"2025-11-04T10:41:45+08:00","updated_at":"2025-11-04T10:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107","variant_ids":[43812058988643]},"available":true,"name":"iPhone XR Mod NX PosterLad NOW - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-POS05","featured_media":{"alt":null,"id":26297052627043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812061872227,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729182822499,"product_id":7911232536675,"position":3,"created_at":"2025-11-04T10:41:40+08:00","updated_at":"2025-11-04T10:41:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102","variant_ids":[43812061872227]},"available":true,"name":"iPhone XR 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":"NPB0108524-POS05","featured_media":{"alt":null,"id":26297051054179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812062036067,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729184690275,"product_id":7911232536675,"position":10,"created_at":"2025-11-04T10:41:46+08:00","updated_at":"2025-11-04T10:41:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108","variant_ids":[43812062036067]},"available":true,"name":"iPhone XR Mod NX PosterLad NOW - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-POS05","featured_media":{"alt":null,"id":26297052954723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812062101603,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729183281251,"product_id":7911232536675,"position":5,"created_at":"2025-11-04T10:41:42+08:00","updated_at":"2025-11-04T10:41:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104","variant_ids":[43812062101603]},"available":true,"name":"iPhone XR 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":"NPB0108504-POS05","featured_media":{"alt":null,"id":26297051578467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8df1a3ea913e55a206d0180d0ac246db83535a.webp?v=1762224100","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849774684c8353e4c0393665b770f58d8b918d92.webp?v=1762224101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19fd20195b590c7cdb4565477f5a136df9f82050.webp?v=1762224103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61ad9a80cf4f9bc123915ad76ee0d2b4e450fd24.webp?v=1762224105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec98b7c4adee22c65be882001a6940980ce6054a.webp?v=1762224106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00179507da08f2afb11f33b41a54e91419b3c058.webp?v=1762224107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8df1a3ea913e55a206d0180d0ac246db83535a.webp?v=1762224100","options":["color"],"media":[{"alt":null,"id":26297050759267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8df1a3ea913e55a206d0180d0ac246db83535a.webp?v=1762224100"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8df1a3ea913e55a206d0180d0ac246db83535a.webp?v=1762224100","width":2000},{"alt":null,"id":26297050923107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849774684c8353e4c0393665b770f58d8b918d92.webp?v=1762224101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849774684c8353e4c0393665b770f58d8b918d92.webp?v=1762224101","width":2000},{"alt":null,"id":26297051054179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102","width":2000},{"alt":null,"id":26297051316323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19fd20195b590c7cdb4565477f5a136df9f82050.webp?v=1762224103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19fd20195b590c7cdb4565477f5a136df9f82050.webp?v=1762224103","width":2000},{"alt":null,"id":26297051578467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104","width":2000},{"alt":null,"id":26297051775075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61ad9a80cf4f9bc123915ad76ee0d2b4e450fd24.webp?v=1762224105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61ad9a80cf4f9bc123915ad76ee0d2b4e450fd24.webp?v=1762224105","width":2000},{"alt":null,"id":26297051971683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec98b7c4adee22c65be882001a6940980ce6054a.webp?v=1762224106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec98b7c4adee22c65be882001a6940980ce6054a.webp?v=1762224106","width":2000},{"alt":null,"id":26297052233827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00179507da08f2afb11f33b41a54e91419b3c058.webp?v=1762224107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00179507da08f2afb11f33b41a54e91419b3c058.webp?v=1762224107","width":2000},{"alt":null,"id":26297052627043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107","width":2000},{"alt":null,"id":26297052954723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43812058988643,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729184362595,"product_id":7911232536675,"position":9,"created_at":"2025-11-04T10:41:45+08:00","updated_at":"2025-11-04T10:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107","variant_ids":[43812058988643]},"available":true,"name":"iPhone XR Mod NX PosterLad NOW - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-POS05","featured_media":{"alt":null,"id":26297052627043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812061872227,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729182822499,"product_id":7911232536675,"position":3,"created_at":"2025-11-04T10:41:40+08:00","updated_at":"2025-11-04T10:41:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102","variant_ids":[43812061872227]},"available":true,"name":"iPhone XR 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":"NPB0108524-POS05","featured_media":{"alt":null,"id":26297051054179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8c320dbccb674e116cb16a11915db126839a931.webp?v=1762224102"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812062036067,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729184690275,"product_id":7911232536675,"position":10,"created_at":"2025-11-04T10:41:46+08:00","updated_at":"2025-11-04T10:41:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108","variant_ids":[43812062036067]},"available":true,"name":"iPhone XR Mod NX PosterLad NOW - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-POS05","featured_media":{"alt":null,"id":26297052954723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3da8d52cce30b67ac469aea4cce2f758ceb8a02.webp?v=1762224108"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812062101603,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729183281251,"product_id":7911232536675,"position":5,"created_at":"2025-11-04T10:41:42+08:00","updated_at":"2025-11-04T10:41:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104","variant_ids":[43812062101603]},"available":true,"name":"iPhone XR 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":"NPB0108504-POS05","featured_media":{"alt":null,"id":26297051578467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25fec3fadb986474f2d7be1e6a6b5e46b24fb3a9.webp?v=1762224104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43812058988643,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-POS05","requires_shipping":true,"taxable":true,"featured_image":{"id":34729184362595,"product_id":7911232536675,"position":9,"created_at":"2025-11-04T10:41:45+08:00","updated_at":"2025-11-04T10:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107","variant_ids":[43812058988643]},"available":true,"name":"iPhone XR Mod NX PosterLad NOW - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-POS05","featured_media":{"alt":null,"id":26297052627043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc782a63bd4d0e43f2369e128dda02840fb0a3a.webp?v=1762224107"}},"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: "停產"
}