Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 黑白畫風-小丑
$product = {"id":7414958653539,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 黑白畫風-小丑","handle":"iphone-12-mini-mod-nx-magsafe-printable-sb13","description":null,"published_at":"2024-06-11T17:54:09+08:00","created_at":"2024-05-05T19:55:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","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":41910355460195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31487781896291,"product_id":7414958653539,"position":9,"created_at":"2024-05-05T19:56:18+08:00","updated_at":"2024-05-05T19:56:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178","variant_ids":[41910355460195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23893125922915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/146be3339672b4f9a06cb3d1612dda1675ca3070_1e52013f-ab28-4fe6-9d80-fa37fa10040a.webp?v=1714910159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d699dcaf72484bf54d865d638f74cfa130814853_b65587ac-453a-405e-b925-66480ada32ea.webp?v=1714910162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7f93f681cba8c2b1c87ce61784b75cffe67ad75_6a68c91d-d6cd-43e6-b091-98cac8f70362.webp?v=1714910164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7db0aa28504b1dea967cc94c53bb05860b170e7_c0d0ea17-4f81-4618-8633-7328933a7235.webp?v=1714910167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87c1df39bc760813a8314ba0d936eac047a5b95f_87e4d666-71d9-43ca-bed8-b23928e51c82.webp?v=1714910169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51fdf1cd0aea3558a09a0ebf2d758c44139954cb_6cd14f6a-481b-4250-93ce-dfd7cb6678d0.webp?v=1714910171","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b352fbdd6c2a16b78407850386967d47e4eb6cc4_ffc047fb-af69-43fa-b0cd-2d00c267aff6.webp?v=1714910174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ccf640b08f96fd65ec6049fc4da9331f08657d_5d8b3d9d-fc23-4650-9835-cf8354a8099b.webp?v=1714910176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28424f17dbe1bbe88e24ad98f9f72a35e0a455c0_61fcde88-bf36-4432-b51d-7e9f652e8372.webp?v=1714910181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26da90b3a34cced84dcf9459b1183a5743f433e5_f42ffa6c-f3b6-4660-8516-fa3b009f4a29.webp?v=1714910183"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/146be3339672b4f9a06cb3d1612dda1675ca3070_1e52013f-ab28-4fe6-9d80-fa37fa10040a.webp?v=1714910159","options":["color"],"media":[{"alt":null,"id":23893121171555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/146be3339672b4f9a06cb3d1612dda1675ca3070_1e52013f-ab28-4fe6-9d80-fa37fa10040a.webp?v=1714910159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/146be3339672b4f9a06cb3d1612dda1675ca3070_1e52013f-ab28-4fe6-9d80-fa37fa10040a.webp?v=1714910159","width":2000},{"alt":null,"id":23893121957987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d699dcaf72484bf54d865d638f74cfa130814853_b65587ac-453a-405e-b925-66480ada32ea.webp?v=1714910162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d699dcaf72484bf54d865d638f74cfa130814853_b65587ac-453a-405e-b925-66480ada32ea.webp?v=1714910162","width":2000},{"alt":null,"id":23893122449507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7f93f681cba8c2b1c87ce61784b75cffe67ad75_6a68c91d-d6cd-43e6-b091-98cac8f70362.webp?v=1714910164"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7f93f681cba8c2b1c87ce61784b75cffe67ad75_6a68c91d-d6cd-43e6-b091-98cac8f70362.webp?v=1714910164","width":2000},{"alt":null,"id":23893123039331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7db0aa28504b1dea967cc94c53bb05860b170e7_c0d0ea17-4f81-4618-8633-7328933a7235.webp?v=1714910167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7db0aa28504b1dea967cc94c53bb05860b170e7_c0d0ea17-4f81-4618-8633-7328933a7235.webp?v=1714910167","width":2000},{"alt":null,"id":23893123727459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87c1df39bc760813a8314ba0d936eac047a5b95f_87e4d666-71d9-43ca-bed8-b23928e51c82.webp?v=1714910169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87c1df39bc760813a8314ba0d936eac047a5b95f_87e4d666-71d9-43ca-bed8-b23928e51c82.webp?v=1714910169","width":2000},{"alt":null,"id":23893124251747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51fdf1cd0aea3558a09a0ebf2d758c44139954cb_6cd14f6a-481b-4250-93ce-dfd7cb6678d0.webp?v=1714910171"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51fdf1cd0aea3558a09a0ebf2d758c44139954cb_6cd14f6a-481b-4250-93ce-dfd7cb6678d0.webp?v=1714910171","width":2000},{"alt":null,"id":23893124710499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b352fbdd6c2a16b78407850386967d47e4eb6cc4_ffc047fb-af69-43fa-b0cd-2d00c267aff6.webp?v=1714910174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b352fbdd6c2a16b78407850386967d47e4eb6cc4_ffc047fb-af69-43fa-b0cd-2d00c267aff6.webp?v=1714910174","width":2000},{"alt":null,"id":23893125103715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ccf640b08f96fd65ec6049fc4da9331f08657d_5d8b3d9d-fc23-4650-9835-cf8354a8099b.webp?v=1714910176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ccf640b08f96fd65ec6049fc4da9331f08657d_5d8b3d9d-fc23-4650-9835-cf8354a8099b.webp?v=1714910176","width":2000},{"alt":null,"id":23893125922915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178","width":2000},{"alt":null,"id":23893126643811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28424f17dbe1bbe88e24ad98f9f72a35e0a455c0_61fcde88-bf36-4432-b51d-7e9f652e8372.webp?v=1714910181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28424f17dbe1bbe88e24ad98f9f72a35e0a455c0_61fcde88-bf36-4432-b51d-7e9f652e8372.webp?v=1714910181","width":2000},{"alt":null,"id":23893127102563,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26da90b3a34cced84dcf9459b1183a5743f433e5_f42ffa6c-f3b6-4660-8516-fa3b009f4a29.webp?v=1714910183"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26da90b3a34cced84dcf9459b1183a5743f433e5_f42ffa6c-f3b6-4660-8516-fa3b009f4a29.webp?v=1714910183","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910355460195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31487781896291,"product_id":7414958653539,"position":9,"created_at":"2024-05-05T19:56:18+08:00","updated_at":"2024-05-05T19:56:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178","variant_ids":[41910355460195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23893125922915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910355460195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31487781896291,"product_id":7414958653539,"position":9,"created_at":"2024-05-05T19:56:18+08:00","updated_at":"2024-05-05T19:56:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178","variant_ids":[41910355460195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23893125922915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/429647e904f1b201d43b784250eb57008266f1fd_e021056c-b149-49ea-b9ed-0d35b0964afe.webp?v=1714910178"}},"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: "停產"
}