$product = {"id":7937927315555,"title":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版巨人","handle":"iphone-15-plus-mod-nx-magsafe-xu17","description":null,"published_at":"2025-12-12T10:30:56+08:00","created_at":"2025-12-11T16:00:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 15 Plus","merge","reseller-attack-on-titan"],"price":110000,"price_min":110000,"price_max":110000,"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":43884442091619,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34933122138211,"product_id":7937927315555,"position":6,"created_at":"2025-12-11T16:00:11+08:00","updated_at":"2025-12-11T16:00:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012","variant_ids":[43884442091619]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版巨人 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-XU17","featured_media":{"alt":null,"id":26495493931107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884442124387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34933121679459,"product_id":7937927315555,"position":4,"created_at":"2025-12-11T16:00:09+08:00","updated_at":"2025-12-11T16:00:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010","variant_ids":[43884442124387]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129624-XU17","featured_media":{"alt":null,"id":26495493505123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fb3fd5dc2dc46e12ea4918fa866c12ec9bc047.webp?v=1765440009","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416818b57d527407fe0652be010c562050f622e1.webp?v=1765440010","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63bf7d139d96945d6112faab5f898a3cfff4c2d1.webp?v=1765440010","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f68bcaa51c317f3c1baa185e4bbba1a0543cd7e6.webp?v=1765440012","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfd1b6373a6e134016844ee228886d357a3b124.webp?v=1765440013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a66625f0b3012e864b52d7594900013af25b6e2.webp?v=1765440014","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a838be7ea641683b801e825d4bb3e8cd2ddc25.webp?v=1765440014"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fb3fd5dc2dc46e12ea4918fa866c12ec9bc047.webp?v=1765440009","options":["color"],"media":[{"alt":null,"id":26495492816995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fb3fd5dc2dc46e12ea4918fa866c12ec9bc047.webp?v=1765440009"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fb3fd5dc2dc46e12ea4918fa866c12ec9bc047.webp?v=1765440009","width":2000},{"alt":null,"id":26495493046371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416818b57d527407fe0652be010c562050f622e1.webp?v=1765440010"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416818b57d527407fe0652be010c562050f622e1.webp?v=1765440010","width":2000},{"alt":null,"id":26495493275747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63bf7d139d96945d6112faab5f898a3cfff4c2d1.webp?v=1765440010"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63bf7d139d96945d6112faab5f898a3cfff4c2d1.webp?v=1765440010","width":2000},{"alt":null,"id":26495493505123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010","width":2000},{"alt":null,"id":26495493734499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f68bcaa51c317f3c1baa185e4bbba1a0543cd7e6.webp?v=1765440012"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f68bcaa51c317f3c1baa185e4bbba1a0543cd7e6.webp?v=1765440012","width":2000},{"alt":null,"id":26495493931107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012","width":2000},{"alt":null,"id":26495494094947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfd1b6373a6e134016844ee228886d357a3b124.webp?v=1765440013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfd1b6373a6e134016844ee228886d357a3b124.webp?v=1765440013","width":2000},{"alt":null,"id":26495494226019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a66625f0b3012e864b52d7594900013af25b6e2.webp?v=1765440014"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a66625f0b3012e864b52d7594900013af25b6e2.webp?v=1765440014","width":2000},{"alt":null,"id":26495494291555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a838be7ea641683b801e825d4bb3e8cd2ddc25.webp?v=1765440014"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a838be7ea641683b801e825d4bb3e8cd2ddc25.webp?v=1765440014","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43884442091619,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34933122138211,"product_id":7937927315555,"position":6,"created_at":"2025-12-11T16:00:11+08:00","updated_at":"2025-12-11T16:00:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012","variant_ids":[43884442091619]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版巨人 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-XU17","featured_media":{"alt":null,"id":26495493931107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884442124387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34933121679459,"product_id":7937927315555,"position":4,"created_at":"2025-12-11T16:00:09+08:00","updated_at":"2025-12-11T16:00:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010","variant_ids":[43884442124387]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129624-XU17","featured_media":{"alt":null,"id":26495493505123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9460fffc16c7e3a29a4bc3195f39351b9e8ae04.webp?v=1765440010"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43884442091619,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":34933122138211,"product_id":7937927315555,"position":6,"created_at":"2025-12-11T16:00:11+08:00","updated_at":"2025-12-11T16:00:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012","variant_ids":[43884442091619]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版巨人 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-XU17","featured_media":{"alt":null,"id":26495493931107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d5f4766f99c78932502ea5836f325650d8c5b63.webp?v=1765440012"}},"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: "停產"
}