$product = {"id":7937845526627,"title":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎","handle":"iphone-8-mod-nx-xu06","description":null,"published_at":"2025-12-12T10:48:36+08:00","created_at":"2025-12-11T15:40:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 8","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":43884117590115,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01054J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932775026787,"product_id":7937845526627,"position":4,"created_at":"2025-12-11T15:41:00+08:00","updated_at":"2025-12-11T15:41:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862","variant_ids":[43884117590115]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - 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":"NPB01054J5-XU06","featured_media":{"alt":null,"id":26495146819683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884119556195,"title":"Red","option1":"Red","option2":null,"option3":null,"sku":"NPB0105414-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932774174819,"product_id":7937845526627,"position":1,"created_at":"2025-12-11T15:40:58+08:00","updated_at":"2025-12-11T15:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860","variant_ids":[43884119556195]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - Red","public_title":"Red","options":["Red"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105414-XU06","featured_media":{"alt":null,"id":26495146131555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884119621731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932775583843,"product_id":7937845526627,"position":8,"created_at":"2025-12-11T15:41:02+08:00","updated_at":"2025-12-11T15:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864","variant_ids":[43884119621731]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105424-XU06","featured_media":{"alt":null,"id":26495147409507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9dad7504c1b7b3a75a8e33b8ab26b89872fc47a.webp?v=1765438861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c356ac2dca69d758328dadc25db88d8f9b49e58.webp?v=1765438861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4e46545e0bb3d10b8da6f423b29482d175052b0.webp?v=1765438862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992e23b4e46706bcc4744c449d2134d384942a9e.webp?v=1765438863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a2d5a5f5e878c1b7959fa541737d07f597ec801.webp?v=1765438864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860","options":["color"],"media":[{"alt":null,"id":26495146131555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860","width":2000},{"alt":null,"id":26495146328163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9dad7504c1b7b3a75a8e33b8ab26b89872fc47a.webp?v=1765438861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9dad7504c1b7b3a75a8e33b8ab26b89872fc47a.webp?v=1765438861","width":2000},{"alt":null,"id":26495146557539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c356ac2dca69d758328dadc25db88d8f9b49e58.webp?v=1765438861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c356ac2dca69d758328dadc25db88d8f9b49e58.webp?v=1765438861","width":2000},{"alt":null,"id":26495146819683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862","width":2000},{"alt":null,"id":26495146950755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4e46545e0bb3d10b8da6f423b29482d175052b0.webp?v=1765438862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4e46545e0bb3d10b8da6f423b29482d175052b0.webp?v=1765438862","width":2000},{"alt":null,"id":26495147081827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992e23b4e46706bcc4744c449d2134d384942a9e.webp?v=1765438863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992e23b4e46706bcc4744c449d2134d384942a9e.webp?v=1765438863","width":2000},{"alt":null,"id":26495147212899,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a2d5a5f5e878c1b7959fa541737d07f597ec801.webp?v=1765438864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a2d5a5f5e878c1b7959fa541737d07f597ec801.webp?v=1765438864","width":2000},{"alt":null,"id":26495147409507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43884117590115,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01054J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932775026787,"product_id":7937845526627,"position":4,"created_at":"2025-12-11T15:41:00+08:00","updated_at":"2025-12-11T15:41:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862","variant_ids":[43884117590115]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - 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":"NPB01054J5-XU06","featured_media":{"alt":null,"id":26495146819683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884119556195,"title":"Red","option1":"Red","option2":null,"option3":null,"sku":"NPB0105414-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932774174819,"product_id":7937845526627,"position":1,"created_at":"2025-12-11T15:40:58+08:00","updated_at":"2025-12-11T15:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860","variant_ids":[43884119556195]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - Red","public_title":"Red","options":["Red"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105414-XU06","featured_media":{"alt":null,"id":26495146131555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/084b1427121e5e113835bfd5bd6783b298dbd4ed.webp?v=1765438860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884119621731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932775583843,"product_id":7937845526627,"position":8,"created_at":"2025-12-11T15:41:02+08:00","updated_at":"2025-12-11T15:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864","variant_ids":[43884119621731]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105424-XU06","featured_media":{"alt":null,"id":26495147409507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c595623e4c16412f1072f027fadb090277c8a7c0.webp?v=1765438864"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43884117590115,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01054J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932775026787,"product_id":7937845526627,"position":4,"created_at":"2025-12-11T15:41:00+08:00","updated_at":"2025-12-11T15:41:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862","variant_ids":[43884117590115]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX 進擊的巨人 Attack on Titan 米卡莎 - 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":"NPB01054J5-XU06","featured_media":{"alt":null,"id":26495146819683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b8acb6de3f178e87d1beb14a0d4272ba2980c2.webp?v=1765438862"}},"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: "停產"
}