$product = {"id":7414938894435,"title":"iPhone 12 mini Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌","handle":"iphone-12-mini-mod-nx-magsafe-printable-oz32","description":null,"published_at":"2024-06-11T17:53:36+08:00","created_at":"2024-05-05T19:52:28+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":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":41910119694435,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31487728844899,"product_id":7414938894435,"position":1,"created_at":"2024-05-05T19:52:31+08:00","updated_at":"2024-05-05T19:52:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951","variant_ids":[41910119694435]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-OZ32","featured_media":{"alt":null,"id":23893072740451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850168270947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832869589091,"product_id":7414938894435,"position":8,"created_at":"2025-11-24T11:19:47+08:00","updated_at":"2025-11-24T11:19:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388","variant_ids":[43850168270947]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-OZ32","featured_media":{"alt":null,"id":26397687611491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25615c7681dfc000c4d5b534b39e1778f7e102f9.webp?v=1763954385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e645b58fb6bea578c3605d93649705fcddcc61.webp?v=1763954386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f0373c4790f991865e09253e49325456ddb80f.webp?v=1763954387","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706d7db1dc5711d0c62238d01e3b7d9a8a4d7093.webp?v=1763954387","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7692dbf13e77acc0324ebe2bcaab3d2633c40571.webp?v=1763954388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb71d6d951af7b2f06fbb530cf9e7d9a8cc6e9c.webp?v=1763954388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1961edfb08cc91792f27e3a06e6708153e7b6eb7.webp?v=1763954389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffbadf59a143db8c10a0825810766427230c91d2.webp?v=1763954389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85ceceb5bb9fe4da980f485f68d58b33565753f5.webp?v=1763954390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77b69bc9b243eff746a91052b0087e5e8327d22.webp?v=1763954390"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951","options":["color"],"media":[{"alt":null,"id":23893072740451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951","width":2000},{"alt":null,"id":26397686497379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25615c7681dfc000c4d5b534b39e1778f7e102f9.webp?v=1763954385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25615c7681dfc000c4d5b534b39e1778f7e102f9.webp?v=1763954385","width":2000},{"alt":null,"id":26397686857827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e645b58fb6bea578c3605d93649705fcddcc61.webp?v=1763954386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e645b58fb6bea578c3605d93649705fcddcc61.webp?v=1763954386","width":2000},{"alt":null,"id":26397686988899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f0373c4790f991865e09253e49325456ddb80f.webp?v=1763954387"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f0373c4790f991865e09253e49325456ddb80f.webp?v=1763954387","width":2000},{"alt":null,"id":26397687087203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706d7db1dc5711d0c62238d01e3b7d9a8a4d7093.webp?v=1763954387"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/706d7db1dc5711d0c62238d01e3b7d9a8a4d7093.webp?v=1763954387","width":2000},{"alt":null,"id":26397687283811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7692dbf13e77acc0324ebe2bcaab3d2633c40571.webp?v=1763954388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7692dbf13e77acc0324ebe2bcaab3d2633c40571.webp?v=1763954388","width":2000},{"alt":null,"id":26397687414883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb71d6d951af7b2f06fbb530cf9e7d9a8cc6e9c.webp?v=1763954388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb71d6d951af7b2f06fbb530cf9e7d9a8cc6e9c.webp?v=1763954388","width":2000},{"alt":null,"id":26397687611491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388","width":2000},{"alt":null,"id":26397687808099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1961edfb08cc91792f27e3a06e6708153e7b6eb7.webp?v=1763954389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1961edfb08cc91792f27e3a06e6708153e7b6eb7.webp?v=1763954389","width":2000},{"alt":null,"id":26397688004707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffbadf59a143db8c10a0825810766427230c91d2.webp?v=1763954389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffbadf59a143db8c10a0825810766427230c91d2.webp?v=1763954389","width":2000},{"alt":null,"id":26397688201315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85ceceb5bb9fe4da980f485f68d58b33565753f5.webp?v=1763954390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85ceceb5bb9fe4da980f485f68d58b33565753f5.webp?v=1763954390","width":2000},{"alt":null,"id":26397688528995,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77b69bc9b243eff746a91052b0087e5e8327d22.webp?v=1763954390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77b69bc9b243eff746a91052b0087e5e8327d22.webp?v=1763954390","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910119694435,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31487728844899,"product_id":7414938894435,"position":1,"created_at":"2024-05-05T19:52:31+08:00","updated_at":"2024-05-05T19:52:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951","variant_ids":[41910119694435]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-OZ32","featured_media":{"alt":null,"id":23893072740451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850168270947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832869589091,"product_id":7414938894435,"position":8,"created_at":"2025-11-24T11:19:47+08:00","updated_at":"2025-11-24T11:19:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388","variant_ids":[43850168270947]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-OZ32","featured_media":{"alt":null,"id":26397687611491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03aa8e7f146201d80b41e2c29d386d0aa750a132.webp?v=1763954388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910119694435,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31487728844899,"product_id":7414938894435,"position":1,"created_at":"2024-05-05T19:52:31+08:00","updated_at":"2024-05-05T19:52:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951","variant_ids":[41910119694435]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-OZ32","featured_media":{"alt":null,"id":23893072740451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MagSafeModNX-26-184-OZ32_82bb178c-938e-42a0-a69f-1428c31311db.png?v=1714909951"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}