$product = {"id":7937829109859,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人","handle":"iphone-13-mini-mod-nx-magsafe-xu08","description":null,"published_at":"2025-12-12T10:52:07+08:00","created_at":"2025-12-11T15:36:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 13 Mini","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":43884060016739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932710604899,"product_id":7937829109859,"position":10,"created_at":"2025-12-11T15:36:59+08:00","updated_at":"2025-12-11T15:37:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621","variant_ids":[43884060016739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XU08","featured_media":{"alt":null,"id":26495082463331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884060082275,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932709785699,"product_id":7937829109859,"position":6,"created_at":"2025-12-11T15:36:57+08:00","updated_at":"2025-12-11T15:36:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619","variant_ids":[43884060082275]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-XU08","featured_media":{"alt":null,"id":26495081644131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884060115043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932710015075,"product_id":7937829109859,"position":7,"created_at":"2025-12-11T15:36:57+08:00","updated_at":"2025-12-11T15:36:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619","variant_ids":[43884060115043]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-XU08","featured_media":{"alt":null,"id":26495081873507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae68f3623aafc4cdead792a4bbb6b8ee4e95cdf5.webp?v=1765438616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3457dadae68ebe03a91e3fa2f31c47e144af4e16.webp?v=1765438617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c270372f9d0596cd38c9eed504896c5da4e0130a.webp?v=1765438617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ad753076ef377552fb32de2063204d91aef31.webp?v=1765438618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea377517463604edeecb6d83a28df2e81683707.webp?v=1765438618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92a4cca97cb5b36edbd6dcf0c8b6caad62b00ea0.webp?v=1765438620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0328928bcd5a7f5f0bcbf0ad69e0845f07b14978.webp?v=1765438620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae68f3623aafc4cdead792a4bbb6b8ee4e95cdf5.webp?v=1765438616","options":["color"],"media":[{"alt":null,"id":26495080661091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae68f3623aafc4cdead792a4bbb6b8ee4e95cdf5.webp?v=1765438616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae68f3623aafc4cdead792a4bbb6b8ee4e95cdf5.webp?v=1765438616","width":2000},{"alt":null,"id":26495080857699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3457dadae68ebe03a91e3fa2f31c47e144af4e16.webp?v=1765438617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3457dadae68ebe03a91e3fa2f31c47e144af4e16.webp?v=1765438617","width":2000},{"alt":null,"id":26495081021539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c270372f9d0596cd38c9eed504896c5da4e0130a.webp?v=1765438617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c270372f9d0596cd38c9eed504896c5da4e0130a.webp?v=1765438617","width":2000},{"alt":null,"id":26495081218147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ad753076ef377552fb32de2063204d91aef31.webp?v=1765438618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ad753076ef377552fb32de2063204d91aef31.webp?v=1765438618","width":2000},{"alt":null,"id":26495081447523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea377517463604edeecb6d83a28df2e81683707.webp?v=1765438618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea377517463604edeecb6d83a28df2e81683707.webp?v=1765438618","width":2000},{"alt":null,"id":26495081644131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619","width":2000},{"alt":null,"id":26495081873507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619","width":2000},{"alt":null,"id":26495082037347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92a4cca97cb5b36edbd6dcf0c8b6caad62b00ea0.webp?v=1765438620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92a4cca97cb5b36edbd6dcf0c8b6caad62b00ea0.webp?v=1765438620","width":2000},{"alt":null,"id":26495082299491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0328928bcd5a7f5f0bcbf0ad69e0845f07b14978.webp?v=1765438620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0328928bcd5a7f5f0bcbf0ad69e0845f07b14978.webp?v=1765438620","width":2000},{"alt":null,"id":26495082463331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43884060016739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932710604899,"product_id":7937829109859,"position":10,"created_at":"2025-12-11T15:36:59+08:00","updated_at":"2025-12-11T15:37:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621","variant_ids":[43884060016739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XU08","featured_media":{"alt":null,"id":26495082463331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884060082275,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932709785699,"product_id":7937829109859,"position":6,"created_at":"2025-12-11T15:36:57+08:00","updated_at":"2025-12-11T15:36:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619","variant_ids":[43884060082275]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-XU08","featured_media":{"alt":null,"id":26495081644131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a80cbd522d2275d12dd82409de0dc65374d0a4.webp?v=1765438619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884060115043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932710015075,"product_id":7937829109859,"position":7,"created_at":"2025-12-11T15:36:57+08:00","updated_at":"2025-12-11T15:36:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619","variant_ids":[43884060115043]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-XU08","featured_media":{"alt":null,"id":26495081873507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79fe778035aaafc6998157a1b1f45036ec802569.webp?v=1765438619"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43884060016739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34932710604899,"product_id":7937829109859,"position":10,"created_at":"2025-12-11T15:36:59+08:00","updated_at":"2025-12-11T15:37:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621","variant_ids":[43884060016739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XU08","featured_media":{"alt":null,"id":26495082463331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6be8968d9923bb377d77b39617fe70abb5f869.webp?v=1765438621"}},"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: "停產"
}