$product = {"id":7937752301667,"title":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人","handle":"iphone-xr-mod-nx-xu17","description":null,"published_at":"2025-12-12T11:08:24+08:00","created_at":"2025-12-11T15:18:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone XR","merge","reseller-attack-on-titan"],"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":43883755536483,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932379648099,"product_id":7937752301667,"position":2,"created_at":"2025-12-11T15:18:27+08:00","updated_at":"2025-12-11T15:18:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509","variant_ids":[43883755536483]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494751801443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883758125155,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932381614179,"product_id":7937752301667,"position":9,"created_at":"2025-12-11T15:18:30+08:00","updated_at":"2025-12-11T15:18:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512","variant_ids":[43883758125155]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494753767523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883758223459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932380893283,"product_id":7937752301667,"position":6,"created_at":"2025-12-11T15:18:29+08:00","updated_at":"2025-12-11T15:18:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510","variant_ids":[43883758223459]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494753046627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883758288995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932379418723,"product_id":7937752301667,"position":1,"created_at":"2025-12-11T15:18:26+08:00","updated_at":"2025-12-11T15:18:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508","variant_ids":[43883758288995]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494751572067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d27c25e3bf02483def319b80d1ea7cd2dfd960.webp?v=1765437509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100038f38a94e9769811eb0fe58f8b534888bf36.webp?v=1765437510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01ce3823226f10c0373a47b2e6fe49f4b2c64087.webp?v=1765437510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ed80fa627d54ba9c043f2ca970ce40f62fd063e.webp?v=1765437511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac7bda00ab111f073ffcf24ffbf80ea88f1feda0.webp?v=1765437512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771afd3eac7f83619ca015531ebbccee4a8ba8a2.webp?v=1765437513"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508","options":["color"],"media":[{"alt":null,"id":26494751572067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508","width":2000},{"alt":null,"id":26494751801443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509","width":2000},{"alt":null,"id":26494752096355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d27c25e3bf02483def319b80d1ea7cd2dfd960.webp?v=1765437509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d27c25e3bf02483def319b80d1ea7cd2dfd960.webp?v=1765437509","width":2000},{"alt":null,"id":26494752358499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100038f38a94e9769811eb0fe58f8b534888bf36.webp?v=1765437510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/100038f38a94e9769811eb0fe58f8b534888bf36.webp?v=1765437510","width":2000},{"alt":null,"id":26494752686179,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01ce3823226f10c0373a47b2e6fe49f4b2c64087.webp?v=1765437510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01ce3823226f10c0373a47b2e6fe49f4b2c64087.webp?v=1765437510","width":2000},{"alt":null,"id":26494753046627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510","width":2000},{"alt":null,"id":26494753308771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ed80fa627d54ba9c043f2ca970ce40f62fd063e.webp?v=1765437511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ed80fa627d54ba9c043f2ca970ce40f62fd063e.webp?v=1765437511","width":2000},{"alt":null,"id":26494753538147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac7bda00ab111f073ffcf24ffbf80ea88f1feda0.webp?v=1765437512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac7bda00ab111f073ffcf24ffbf80ea88f1feda0.webp?v=1765437512","width":2000},{"alt":null,"id":26494753767523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512","width":2000},{"alt":null,"id":26494753964131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771afd3eac7f83619ca015531ebbccee4a8ba8a2.webp?v=1765437513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771afd3eac7f83619ca015531ebbccee4a8ba8a2.webp?v=1765437513","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43883755536483,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932379648099,"product_id":7937752301667,"position":2,"created_at":"2025-12-11T15:18:27+08:00","updated_at":"2025-12-11T15:18:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509","variant_ids":[43883755536483]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494751801443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883758125155,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932381614179,"product_id":7937752301667,"position":9,"created_at":"2025-12-11T15:18:30+08:00","updated_at":"2025-12-11T15:18:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512","variant_ids":[43883758125155]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494753767523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee3232d040737f4bfbb9bff882cb56ff2bda64c9.webp?v=1765437512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883758223459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932380893283,"product_id":7937752301667,"position":6,"created_at":"2025-12-11T15:18:29+08:00","updated_at":"2025-12-11T15:18:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510","variant_ids":[43883758223459]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494753046627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3106db3195ecc2ba80b834a5e7c6dd0965bf49e.webp?v=1765437510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883758288995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932379418723,"product_id":7937752301667,"position":1,"created_at":"2025-12-11T15:18:26+08:00","updated_at":"2025-12-11T15:18:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508","variant_ids":[43883758288995]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494751572067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9defa06be4449836782ddab0e1103f7971079159.webp?v=1765437508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43883755536483,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34932379648099,"product_id":7937752301667,"position":2,"created_at":"2025-12-11T15:18:27+08:00","updated_at":"2025-12-11T15:18:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509","variant_ids":[43883755536483]},"available":true,"name":"iPhone XR Mod NX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":26494751801443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0ebac959d3ce5ddef33e326883ea709c6c1646.webp?v=1765437509"}},"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: "停產"
}