Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 【獨家設計款】 - 兔子電腦
$product = {"id":7414927753315,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 【獨家設計款】 - 兔子電腦","handle":"iphone-12-mini-mod-nx-magsafe-printable-mw06","description":null,"published_at":"2024-06-11T17:53:18+08:00","created_at":"2024-05-05T19:50:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 12 mini","discountable-item","member","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller","reseller-modnx-magsafe-chi-po-lin-series","Top50","type-Mod NX Printable MagSafe Printable"],"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":41910027059299,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31487704563811,"product_id":7414927753315,"position":4,"created_at":"2024-05-05T19:50:43+08:00","updated_at":"2024-05-05T19:50:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843","variant_ids":[41910027059299]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 【獨家設計款】 - 兔子電腦 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-MW06","featured_media":{"alt":null,"id":23893048459363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b0f88df339ee5c9dfbfdcb0a58a19f172ca995_85518dae-c716-40be-89f8-58beaf54eae2.webp?v=1714909836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96007c4771539dfbc691c6886fc115ce0e02c4ea_c5bcff74-cfa0-4ce3-8410-8f9c7e60a448.webp?v=1714909839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ade9b80ddb8fa16fb5b79151ed39f453352a3ee7_adfc831f-4384-461b-8c29-f38a77b3903f.webp?v=1714909841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7dbd7c9efde7bc73bc7d158029b96d20ff848b_88ecb81f-86d8-404b-8981-e19be959cccc.webp?v=1714909846","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe9a951c7bc36b5e210a7bec57b4444ec210e82_c3a50014-f3ef-472f-ad69-8518bdc366b1.webp?v=1714909848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2319f2b7d9f1daa30adcd9aeb2a566a50457fe4a_08cca808-e733-4fe1-a252-87e389b907ba.webp?v=1714909850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98c071e8d4d9ad72ab7cded0d79d605f3cde5bcb_6db863a6-a299-441e-85a8-3c817f40606a.webp?v=1714909853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b0d97dd5ec81a6be17bbfbe597fc5f5c9e0c3_148d6dfd-42d7-4c06-a7c2-dde689cfff9e.webp?v=1714909855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fdc0f737d1387359ddb779b722ccbf79758112_539f0110-5f38-443c-9268-3762ddfae26e.webp?v=1714909857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd85b6755c2708450a04274ee728752b06770cac_a93775e1-e849-496b-848b-fce12322a960.webp?v=1714909859"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b0f88df339ee5c9dfbfdcb0a58a19f172ca995_85518dae-c716-40be-89f8-58beaf54eae2.webp?v=1714909836","options":["color"],"media":[{"alt":null,"id":23893046394979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b0f88df339ee5c9dfbfdcb0a58a19f172ca995_85518dae-c716-40be-89f8-58beaf54eae2.webp?v=1714909836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b0f88df339ee5c9dfbfdcb0a58a19f172ca995_85518dae-c716-40be-89f8-58beaf54eae2.webp?v=1714909836","width":2000},{"alt":null,"id":23893046886499,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96007c4771539dfbc691c6886fc115ce0e02c4ea_c5bcff74-cfa0-4ce3-8410-8f9c7e60a448.webp?v=1714909839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96007c4771539dfbc691c6886fc115ce0e02c4ea_c5bcff74-cfa0-4ce3-8410-8f9c7e60a448.webp?v=1714909839","width":2000},{"alt":null,"id":23893047410787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ade9b80ddb8fa16fb5b79151ed39f453352a3ee7_adfc831f-4384-461b-8c29-f38a77b3903f.webp?v=1714909841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ade9b80ddb8fa16fb5b79151ed39f453352a3ee7_adfc831f-4384-461b-8c29-f38a77b3903f.webp?v=1714909841","width":2000},{"alt":null,"id":23893048459363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843","width":2000},{"alt":null,"id":23893048819811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7dbd7c9efde7bc73bc7d158029b96d20ff848b_88ecb81f-86d8-404b-8981-e19be959cccc.webp?v=1714909846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f7dbd7c9efde7bc73bc7d158029b96d20ff848b_88ecb81f-86d8-404b-8981-e19be959cccc.webp?v=1714909846","width":2000},{"alt":null,"id":23893049278563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe9a951c7bc36b5e210a7bec57b4444ec210e82_c3a50014-f3ef-472f-ad69-8518bdc366b1.webp?v=1714909848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fe9a951c7bc36b5e210a7bec57b4444ec210e82_c3a50014-f3ef-472f-ad69-8518bdc366b1.webp?v=1714909848","width":2000},{"alt":null,"id":23893049573475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2319f2b7d9f1daa30adcd9aeb2a566a50457fe4a_08cca808-e733-4fe1-a252-87e389b907ba.webp?v=1714909850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2319f2b7d9f1daa30adcd9aeb2a566a50457fe4a_08cca808-e733-4fe1-a252-87e389b907ba.webp?v=1714909850","width":2000},{"alt":null,"id":23893050327139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98c071e8d4d9ad72ab7cded0d79d605f3cde5bcb_6db863a6-a299-441e-85a8-3c817f40606a.webp?v=1714909853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98c071e8d4d9ad72ab7cded0d79d605f3cde5bcb_6db863a6-a299-441e-85a8-3c817f40606a.webp?v=1714909853","width":2000},{"alt":null,"id":23893050654819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b0d97dd5ec81a6be17bbfbe597fc5f5c9e0c3_148d6dfd-42d7-4c06-a7c2-dde689cfff9e.webp?v=1714909855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b0d97dd5ec81a6be17bbfbe597fc5f5c9e0c3_148d6dfd-42d7-4c06-a7c2-dde689cfff9e.webp?v=1714909855","width":2000},{"alt":null,"id":23893051310179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fdc0f737d1387359ddb779b722ccbf79758112_539f0110-5f38-443c-9268-3762ddfae26e.webp?v=1714909857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fdc0f737d1387359ddb779b722ccbf79758112_539f0110-5f38-443c-9268-3762ddfae26e.webp?v=1714909857","width":2000},{"alt":null,"id":23893051637859,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd85b6755c2708450a04274ee728752b06770cac_a93775e1-e849-496b-848b-fce12322a960.webp?v=1714909859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd85b6755c2708450a04274ee728752b06770cac_a93775e1-e849-496b-848b-fce12322a960.webp?v=1714909859","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910027059299,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31487704563811,"product_id":7414927753315,"position":4,"created_at":"2024-05-05T19:50:43+08:00","updated_at":"2024-05-05T19:50:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843","variant_ids":[41910027059299]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 【獨家設計款】 - 兔子電腦 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-MW06","featured_media":{"alt":null,"id":23893048459363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910027059299,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31487704563811,"product_id":7414927753315,"position":4,"created_at":"2024-05-05T19:50:43+08:00","updated_at":"2024-05-05T19:50:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843","variant_ids":[41910027059299]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 【獨家設計款】 - 兔子電腦 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-MW06","featured_media":{"alt":null,"id":23893048459363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab17c254259b2c89c4409f974b95786e58074edd_34dada02-28e9-42bd-b824-bc8e93174fec.webp?v=1714909843"}},"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: "停產"
}