$product = {"id":7942065389667,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天","handle":"iphone-13-mini-mod-nx-magsafe-nya01","description":null,"published_at":"2025-12-23T10:04:09+08:00","created_at":"2025-12-22T11:43:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 13 Mini","merge","reseller-nyangsongi"],"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":43903315411043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950478435,"product_id":7942065389667,"position":7,"created_at":"2025-12-22T11:44:37+08:00","updated_at":"2025-12-22T11:44:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079","variant_ids":[43903315411043]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547026034787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903315509347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950019683,"product_id":7942065389667,"position":4,"created_at":"2025-12-22T11:44:35+08:00","updated_at":"2025-12-22T11:44:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077","variant_ids":[43903315509347]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547025510499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903316230243,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950150755,"product_id":7942065389667,"position":5,"created_at":"2025-12-22T11:44:36+08:00","updated_at":"2025-12-22T11:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078","variant_ids":[43903316230243]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547025707107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07ab70f64d3b7a0766b814b6c1ec1c32433e8460.webp?v=1766375076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d29f356383cf0279e4e26196a8baf7ddcdba85cb.webp?v=1766375077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c30ecdd467596a2bbe12837a4a800a3dbc573118.webp?v=1766375077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3e045610b7fe555b10b0005b9807c62759946b6.webp?v=1766375079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/481c9111392feac9cd69899ee49c5af361cd8532.webp?v=1766375080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bcdeee8baea0f82f348df8a6735d24bf58feb95.webp?v=1766375080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5004ab7967429f3956d615ce1cfbb04eb8034f22.webp?v=1766375081"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07ab70f64d3b7a0766b814b6c1ec1c32433e8460.webp?v=1766375076","options":["color"],"media":[{"alt":null,"id":26547025215587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07ab70f64d3b7a0766b814b6c1ec1c32433e8460.webp?v=1766375076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07ab70f64d3b7a0766b814b6c1ec1c32433e8460.webp?v=1766375076","width":2000},{"alt":null,"id":26547025313891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d29f356383cf0279e4e26196a8baf7ddcdba85cb.webp?v=1766375077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d29f356383cf0279e4e26196a8baf7ddcdba85cb.webp?v=1766375077","width":2000},{"alt":null,"id":26547025412195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c30ecdd467596a2bbe12837a4a800a3dbc573118.webp?v=1766375077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c30ecdd467596a2bbe12837a4a800a3dbc573118.webp?v=1766375077","width":2000},{"alt":null,"id":26547025510499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077","width":2000},{"alt":null,"id":26547025707107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078","width":2000},{"alt":null,"id":26547025870947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3e045610b7fe555b10b0005b9807c62759946b6.webp?v=1766375079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3e045610b7fe555b10b0005b9807c62759946b6.webp?v=1766375079","width":2000},{"alt":null,"id":26547026034787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079","width":2000},{"alt":null,"id":26547026231395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/481c9111392feac9cd69899ee49c5af361cd8532.webp?v=1766375080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/481c9111392feac9cd69899ee49c5af361cd8532.webp?v=1766375080","width":2000},{"alt":null,"id":26547026362467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bcdeee8baea0f82f348df8a6735d24bf58feb95.webp?v=1766375080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bcdeee8baea0f82f348df8a6735d24bf58feb95.webp?v=1766375080","width":2000},{"alt":null,"id":26547026526307,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5004ab7967429f3956d615ce1cfbb04eb8034f22.webp?v=1766375081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5004ab7967429f3956d615ce1cfbb04eb8034f22.webp?v=1766375081","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43903315411043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950478435,"product_id":7942065389667,"position":7,"created_at":"2025-12-22T11:44:37+08:00","updated_at":"2025-12-22T11:44:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079","variant_ids":[43903315411043]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547026034787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903315509347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950019683,"product_id":7942065389667,"position":4,"created_at":"2025-12-22T11:44:35+08:00","updated_at":"2025-12-22T11:44:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077","variant_ids":[43903315509347]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547025510499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b26b60f4272654eaf36f98b494ee6d9aff7d6e3.webp?v=1766375077"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903316230243,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950150755,"product_id":7942065389667,"position":5,"created_at":"2025-12-22T11:44:36+08:00","updated_at":"2025-12-22T11:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078","variant_ids":[43903316230243]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547025707107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c3b5a1069434a3df84b380c22a7b9160af876c.webp?v=1766375078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43903315411043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985950478435,"product_id":7942065389667,"position":7,"created_at":"2025-12-22T11:44:37+08:00","updated_at":"2025-12-22T11:44:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079","variant_ids":[43903315411043]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26547026034787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5814c361be147712f4e308aaae3b59fa2d55c3.webp?v=1766375079"}},"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: "停產"
}