$product = {"id":7937847165027,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 米卡莎","handle":"iphone-13-mini-mod-nx-magsafe-xu06","description":null,"published_at":"2025-12-12T10:48:17+08:00","created_at":"2025-12-11T15:41:18+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":43884127879267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932783448163,"product_id":7937847165027,"position":5,"created_at":"2025-12-11T15:41:24+08:00","updated_at":"2025-12-11T15:41:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886","variant_ids":[43884127879267]},"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-XU06","featured_media":{"alt":null,"id":26495155241059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884127944803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932785217635,"product_id":7937847165027,"position":10,"created_at":"2025-12-11T15:41:27+08:00","updated_at":"2025-12-11T15:41:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889","variant_ids":[43884127944803]},"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-XU06","featured_media":{"alt":null,"id":26495157076067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884127977571,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932782596195,"product_id":7937847165027,"position":1,"created_at":"2025-12-11T15:41:23+08:00","updated_at":"2025-12-11T15:41:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885","variant_ids":[43884127977571]},"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-XU06","featured_media":{"alt":null,"id":26495154389091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1935a198bad626a7d8f2b82be7ae7bf7c982b1.webp?v=1765438885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096f1c3baccce902e9e338d17c497240bfced459.webp?v=1765438886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c878d5a6d69fd685a5a1d241ce558a08f68a8ff1.webp?v=1765438886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c95c5a6484c43e901d20f552ec1ef81f093b703.webp?v=1765438887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d368bc9dc8b880dc2874a41d476ec04fec31ffc.webp?v=1765438887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d046aec87a810a198c0e32b3fff44f60ff5141.webp?v=1765438888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d15c73bbeb1df38eaaa704c36f723bace7dc0.webp?v=1765438888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885","options":["color"],"media":[{"alt":null,"id":26495154389091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885","width":2000},{"alt":null,"id":26495154552931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1935a198bad626a7d8f2b82be7ae7bf7c982b1.webp?v=1765438885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1935a198bad626a7d8f2b82be7ae7bf7c982b1.webp?v=1765438885","width":2000},{"alt":null,"id":26495154782307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096f1c3baccce902e9e338d17c497240bfced459.webp?v=1765438886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096f1c3baccce902e9e338d17c497240bfced459.webp?v=1765438886","width":2000},{"alt":null,"id":26495154946147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c878d5a6d69fd685a5a1d241ce558a08f68a8ff1.webp?v=1765438886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c878d5a6d69fd685a5a1d241ce558a08f68a8ff1.webp?v=1765438886","width":2000},{"alt":null,"id":26495155241059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886","width":2000},{"alt":null,"id":26495155765347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c95c5a6484c43e901d20f552ec1ef81f093b703.webp?v=1765438887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c95c5a6484c43e901d20f552ec1ef81f093b703.webp?v=1765438887","width":2000},{"alt":null,"id":26495156027491,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d368bc9dc8b880dc2874a41d476ec04fec31ffc.webp?v=1765438887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d368bc9dc8b880dc2874a41d476ec04fec31ffc.webp?v=1765438887","width":2000},{"alt":null,"id":26495156387939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d046aec87a810a198c0e32b3fff44f60ff5141.webp?v=1765438888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d046aec87a810a198c0e32b3fff44f60ff5141.webp?v=1765438888","width":2000},{"alt":null,"id":26495156813923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d15c73bbeb1df38eaaa704c36f723bace7dc0.webp?v=1765438888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8d15c73bbeb1df38eaaa704c36f723bace7dc0.webp?v=1765438888","width":2000},{"alt":null,"id":26495157076067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43884127879267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932783448163,"product_id":7937847165027,"position":5,"created_at":"2025-12-11T15:41:24+08:00","updated_at":"2025-12-11T15:41:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886","variant_ids":[43884127879267]},"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-XU06","featured_media":{"alt":null,"id":26495155241059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884127944803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932785217635,"product_id":7937847165027,"position":10,"created_at":"2025-12-11T15:41:27+08:00","updated_at":"2025-12-11T15:41:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889","variant_ids":[43884127944803]},"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-XU06","featured_media":{"alt":null,"id":26495157076067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f13cf4effb3e3bc29e78b913aaa111128d340c85.webp?v=1765438889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884127977571,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932782596195,"product_id":7937847165027,"position":1,"created_at":"2025-12-11T15:41:23+08:00","updated_at":"2025-12-11T15:41:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885","variant_ids":[43884127977571]},"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-XU06","featured_media":{"alt":null,"id":26495154389091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfb5282dee0bbcf0cbe7c13d30e954567ea4aac2.webp?v=1765438885"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43884127879267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34932783448163,"product_id":7937847165027,"position":5,"created_at":"2025-12-11T15:41:24+08:00","updated_at":"2025-12-11T15:41:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886","variant_ids":[43884127879267]},"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-XU06","featured_media":{"alt":null,"id":26495155241059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35da90aaf9844375759ddfcb70061205872c234b.webp?v=1765438886"}},"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: "停產"
}