Home
›
iPhone 12 mini Mod NX Nyangsongi Nyangsongi 的一天
$product = {"id":7942053003363,"title":"iPhone 12 mini Mod NX Nyangsongi Nyangsongi 的一天","handle":"iphone-12-mini-mod-nx-nya01","description":null,"published_at":"2025-12-23T10:06:16+08:00","created_at":"2025-12-22T11:27:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 12 Mini","merge","reseller-nyangsongi"],"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":43903247384675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985869967459,"product_id":7942053003363,"position":10,"created_at":"2025-12-22T11:28:36+08:00","updated_at":"2025-12-22T11:28:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118","variant_ids":[43903247384675]},"available":true,"name":"iPhone 12 mini Mod NX Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26546946539619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad767dec616ac7ceb2406be1ec5752e7187d9202.webp?v=1766374114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5f700881e2718cded94f2d90b88e13d8f79a1e3.webp?v=1766374114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2eea1409ade428eb3b2cfa52638695ee9d5058e3.webp?v=1766374115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b49115580acf96ae7cad93947ebe438a35802b0.webp?v=1766374115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84a11a8b46be9ffdac503f51deed6b8b03869d62.webp?v=1766374116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afe6496a4aa8bdf19db8b4b4bccd5cb1e9a0a896.webp?v=1766374116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d2d45f6af345ee96cd7ffd9d24f593a29a4cbe.webp?v=1766374117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88d02698ebfcbd6dbd7d0bdd7f82490fe8926d78.webp?v=1766374117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/161fe5d30bdd9bd773157b6a7cb37aaf1451f32f.webp?v=1766374118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9eb429f5b2971cb88bbd149f86a102022bbabdd.webp?v=1766374119"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad767dec616ac7ceb2406be1ec5752e7187d9202.webp?v=1766374114","options":["color"],"media":[{"alt":null,"id":26546945818723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad767dec616ac7ceb2406be1ec5752e7187d9202.webp?v=1766374114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad767dec616ac7ceb2406be1ec5752e7187d9202.webp?v=1766374114","width":2000},{"alt":null,"id":26546945917027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5f700881e2718cded94f2d90b88e13d8f79a1e3.webp?v=1766374114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5f700881e2718cded94f2d90b88e13d8f79a1e3.webp?v=1766374114","width":2000},{"alt":null,"id":26546946015331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2eea1409ade428eb3b2cfa52638695ee9d5058e3.webp?v=1766374115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2eea1409ade428eb3b2cfa52638695ee9d5058e3.webp?v=1766374115","width":2000},{"alt":null,"id":26546946113635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b49115580acf96ae7cad93947ebe438a35802b0.webp?v=1766374115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b49115580acf96ae7cad93947ebe438a35802b0.webp?v=1766374115","width":2000},{"alt":null,"id":26546946211939,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84a11a8b46be9ffdac503f51deed6b8b03869d62.webp?v=1766374116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84a11a8b46be9ffdac503f51deed6b8b03869d62.webp?v=1766374116","width":2000},{"alt":null,"id":26546946310243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afe6496a4aa8bdf19db8b4b4bccd5cb1e9a0a896.webp?v=1766374116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afe6496a4aa8bdf19db8b4b4bccd5cb1e9a0a896.webp?v=1766374116","width":2000},{"alt":null,"id":26546946375779,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d2d45f6af345ee96cd7ffd9d24f593a29a4cbe.webp?v=1766374117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d2d45f6af345ee96cd7ffd9d24f593a29a4cbe.webp?v=1766374117","width":2000},{"alt":null,"id":26546946441315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88d02698ebfcbd6dbd7d0bdd7f82490fe8926d78.webp?v=1766374117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88d02698ebfcbd6dbd7d0bdd7f82490fe8926d78.webp?v=1766374117","width":2000},{"alt":null,"id":26546946474083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/161fe5d30bdd9bd773157b6a7cb37aaf1451f32f.webp?v=1766374118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/161fe5d30bdd9bd773157b6a7cb37aaf1451f32f.webp?v=1766374118","width":2000},{"alt":null,"id":26546946539619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118","width":2000},{"alt":null,"id":26546946605155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9eb429f5b2971cb88bbd149f86a102022bbabdd.webp?v=1766374119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9eb429f5b2971cb88bbd149f86a102022bbabdd.webp?v=1766374119","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43903247384675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985869967459,"product_id":7942053003363,"position":10,"created_at":"2025-12-22T11:28:36+08:00","updated_at":"2025-12-22T11:28:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118","variant_ids":[43903247384675]},"available":true,"name":"iPhone 12 mini Mod NX Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26546946539619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43903247384675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118424-NYA01","requires_shipping":true,"taxable":true,"featured_image":{"id":34985869967459,"product_id":7942053003363,"position":10,"created_at":"2025-12-22T11:28:36+08:00","updated_at":"2025-12-22T11:28:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118","variant_ids":[43903247384675]},"available":true,"name":"iPhone 12 mini Mod NX Nyangsongi Nyangsongi 的一天 - 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-NYA01","featured_media":{"alt":null,"id":26546946539619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4e17915e34ca4f43a87a78750c2ae2858beae62.webp?v=1766374118"}},"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: "停產"
}