$product = {"id":7408449716323,"title":"iPhone 12 mini Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌","handle":"iphone-12-mini-mod-nx-printable-oz32","description":null,"published_at":"2024-06-11T16:37:32+08:00","created_at":"2024-05-03T15:28:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-marvel","device-iPhone 12 Mini","merge","reseller-marvel"],"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":41885585932387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31472306323555,"product_id":7408449716323,"position":1,"created_at":"2024-05-03T15:28:45+08:00","updated_at":"2024-05-03T15:28:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325","variant_ids":[41885585932387]},"available":true,"name":"iPhone 12 mini Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-OZ32","featured_media":{"alt":null,"id":23877222727779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850163978339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832856973411,"product_id":7408449716323,"position":12,"created_at":"2025-11-24T11:19:13+08:00","updated_at":"2025-11-24T11:19:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355","variant_ids":[43850163978339]},"available":true,"name":"iPhone 12 mini Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-OZ32","featured_media":{"alt":null,"id":26397674995811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24cf8f1ce515d3420ae885a0ec1fa31a6736c529.webp?v=1763954350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81adca65cca91895e01f8bdc80be791c5b910ec8.webp?v=1763954350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a212cafe02e555798f1c7878ae44ad5136ebddcb.webp?v=1763954351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c0bdfb906c672b49bad0d0144f7a6eadc1f623.webp?v=1763954351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a3e9bec104c447a97b1d122f868c77cb7f9793.webp?v=1763954352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adbec80705a7fd411c830b336734f8daa53ca5db.webp?v=1763954352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2979540b7965f4896fe2be39e068b5dfb6a2ce.webp?v=1763954353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1b7ff01057aaf83eb59efb347b132bd6f0444b.webp?v=1763954353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd3a46febb8ab5fdf63ddad7f1ce897aea2114b6.webp?v=1763954354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdc4ad539f0f8d1f606af68421185273f6c47f2.webp?v=1763954354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325","options":["color"],"media":[{"alt":null,"id":23877222727779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325","width":2000},{"alt":null,"id":26397673128035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24cf8f1ce515d3420ae885a0ec1fa31a6736c529.webp?v=1763954350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24cf8f1ce515d3420ae885a0ec1fa31a6736c529.webp?v=1763954350","width":2000},{"alt":null,"id":26397673357411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81adca65cca91895e01f8bdc80be791c5b910ec8.webp?v=1763954350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81adca65cca91895e01f8bdc80be791c5b910ec8.webp?v=1763954350","width":2000},{"alt":null,"id":26397673521251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a212cafe02e555798f1c7878ae44ad5136ebddcb.webp?v=1763954351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a212cafe02e555798f1c7878ae44ad5136ebddcb.webp?v=1763954351","width":2000},{"alt":null,"id":26397673750627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c0bdfb906c672b49bad0d0144f7a6eadc1f623.webp?v=1763954351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c0bdfb906c672b49bad0d0144f7a6eadc1f623.webp?v=1763954351","width":2000},{"alt":null,"id":26397674012771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a3e9bec104c447a97b1d122f868c77cb7f9793.webp?v=1763954352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a3e9bec104c447a97b1d122f868c77cb7f9793.webp?v=1763954352","width":2000},{"alt":null,"id":26397674209379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adbec80705a7fd411c830b336734f8daa53ca5db.webp?v=1763954352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adbec80705a7fd411c830b336734f8daa53ca5db.webp?v=1763954352","width":2000},{"alt":null,"id":26397674307683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2979540b7965f4896fe2be39e068b5dfb6a2ce.webp?v=1763954353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d2979540b7965f4896fe2be39e068b5dfb6a2ce.webp?v=1763954353","width":2000},{"alt":null,"id":26397674537059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1b7ff01057aaf83eb59efb347b132bd6f0444b.webp?v=1763954353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1b7ff01057aaf83eb59efb347b132bd6f0444b.webp?v=1763954353","width":2000},{"alt":null,"id":26397674700899,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd3a46febb8ab5fdf63ddad7f1ce897aea2114b6.webp?v=1763954354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd3a46febb8ab5fdf63ddad7f1ce897aea2114b6.webp?v=1763954354","width":2000},{"alt":null,"id":26397674930275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdc4ad539f0f8d1f606af68421185273f6c47f2.webp?v=1763954354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdc4ad539f0f8d1f606af68421185273f6c47f2.webp?v=1763954354","width":2000},{"alt":null,"id":26397674995811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885585932387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31472306323555,"product_id":7408449716323,"position":1,"created_at":"2024-05-03T15:28:45+08:00","updated_at":"2024-05-03T15:28:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325","variant_ids":[41885585932387]},"available":true,"name":"iPhone 12 mini Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-OZ32","featured_media":{"alt":null,"id":23877222727779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850163978339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832856973411,"product_id":7408449716323,"position":12,"created_at":"2025-11-24T11:19:13+08:00","updated_at":"2025-11-24T11:19:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355","variant_ids":[43850163978339]},"available":true,"name":"iPhone 12 mini Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-OZ32","featured_media":{"alt":null,"id":26397674995811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e64ea88e4e487cfb769b8b535d7b14f14e4bdaf.webp?v=1763954355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885585932387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31472306323555,"product_id":7408449716323,"position":1,"created_at":"2024-05-03T15:28:45+08:00","updated_at":"2024-05-03T15:28:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325","variant_ids":[41885585932387]},"available":true,"name":"iPhone 12 mini Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-OZ32","featured_media":{"alt":null,"id":23877222727779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-184-OZ32_1b93d6ee-3104-4b5f-a3d4-1edcb1ff3baf.png?v=1714721325"}},"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: "停產"
}