Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑女與小丑
$product = {"id":7416028168291,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑女與小丑","handle":"iphone-xs-max-mod-nx-printable-sb18","description":null,"published_at":"2024-06-11T16:50:48+08:00","created_at":"2024-05-06T12:44:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-batman","Top50","type-Mod NX Printable"],"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":41916661104739,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31491022651491,"product_id":7416028168291,"position":2,"created_at":"2024-05-06T12:44:56+08:00","updated_at":"2024-05-06T12:44:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696","variant_ids":[41916661104739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑女與小丑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-SB18","featured_media":{"alt":null,"id":23896429658211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79aeec7fcb7b4532bb4871ddf981c082bff1fe8f_909a963f-566a-4217-9af5-993057543e36.webp?v=1714970694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e70cf5c85fac5319486eb375c8f045608d069da_90a12a83-8783-4922-915a-b039bca1ecb5.webp?v=1714970698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9201eea5ca7471d63bdcb0d583f8b85cf05c0fad_70a8abeb-657b-477e-b91e-36c577798631.webp?v=1714970701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8396c5b6649a19c23496eb5b5b9ccfdaf9203e0_cbd32139-b131-4440-ab0a-9f361a527409.webp?v=1714970703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42892e6109bf179fbf8ca6cdab3d016fb3082a7_d0828313-0ef8-48dd-b135-ce5ddbd6b00d.webp?v=1714970705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da00586edc8ddc6e7d17c529369c89ba19176179_6406dc87-2fe9-4273-9164-c094bd894513.webp?v=1714970708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc48c4b43faff89ff57e320cb1d420d9bac5e207_dfe5ba74-5a05-447a-b2ea-67e80e9b8c93.webp?v=1714970710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4f3cf52c623df227d7c3cab4e9e2b35e6dd33a_7c18e35d-aa7b-47a7-ab0b-776b4ef89e6d.webp?v=1714970715"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79aeec7fcb7b4532bb4871ddf981c082bff1fe8f_909a963f-566a-4217-9af5-993057543e36.webp?v=1714970694","options":["color"],"media":[{"alt":null,"id":23896429166691,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79aeec7fcb7b4532bb4871ddf981c082bff1fe8f_909a963f-566a-4217-9af5-993057543e36.webp?v=1714970694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79aeec7fcb7b4532bb4871ddf981c082bff1fe8f_909a963f-566a-4217-9af5-993057543e36.webp?v=1714970694","width":2000},{"alt":null,"id":23896429658211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696","width":2000},{"alt":null,"id":23896430444643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e70cf5c85fac5319486eb375c8f045608d069da_90a12a83-8783-4922-915a-b039bca1ecb5.webp?v=1714970698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e70cf5c85fac5319486eb375c8f045608d069da_90a12a83-8783-4922-915a-b039bca1ecb5.webp?v=1714970698","width":2000},{"alt":null,"id":23896430968931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9201eea5ca7471d63bdcb0d583f8b85cf05c0fad_70a8abeb-657b-477e-b91e-36c577798631.webp?v=1714970701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9201eea5ca7471d63bdcb0d583f8b85cf05c0fad_70a8abeb-657b-477e-b91e-36c577798631.webp?v=1714970701","width":2000},{"alt":null,"id":23896431591523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8396c5b6649a19c23496eb5b5b9ccfdaf9203e0_cbd32139-b131-4440-ab0a-9f361a527409.webp?v=1714970703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8396c5b6649a19c23496eb5b5b9ccfdaf9203e0_cbd32139-b131-4440-ab0a-9f361a527409.webp?v=1714970703","width":2000},{"alt":null,"id":23896432214115,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42892e6109bf179fbf8ca6cdab3d016fb3082a7_d0828313-0ef8-48dd-b135-ce5ddbd6b00d.webp?v=1714970705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c42892e6109bf179fbf8ca6cdab3d016fb3082a7_d0828313-0ef8-48dd-b135-ce5ddbd6b00d.webp?v=1714970705","width":2000},{"alt":null,"id":23896432836707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da00586edc8ddc6e7d17c529369c89ba19176179_6406dc87-2fe9-4273-9164-c094bd894513.webp?v=1714970708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da00586edc8ddc6e7d17c529369c89ba19176179_6406dc87-2fe9-4273-9164-c094bd894513.webp?v=1714970708","width":2000},{"alt":null,"id":23896433262691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc48c4b43faff89ff57e320cb1d420d9bac5e207_dfe5ba74-5a05-447a-b2ea-67e80e9b8c93.webp?v=1714970710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc48c4b43faff89ff57e320cb1d420d9bac5e207_dfe5ba74-5a05-447a-b2ea-67e80e9b8c93.webp?v=1714970710","width":2000},{"alt":null,"id":23896434573411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4f3cf52c623df227d7c3cab4e9e2b35e6dd33a_7c18e35d-aa7b-47a7-ab0b-776b4ef89e6d.webp?v=1714970715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4f3cf52c623df227d7c3cab4e9e2b35e6dd33a_7c18e35d-aa7b-47a7-ab0b-776b4ef89e6d.webp?v=1714970715","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916661104739,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31491022651491,"product_id":7416028168291,"position":2,"created_at":"2024-05-06T12:44:56+08:00","updated_at":"2024-05-06T12:44:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696","variant_ids":[41916661104739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑女與小丑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-SB18","featured_media":{"alt":null,"id":23896429658211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916661104739,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31491022651491,"product_id":7416028168291,"position":2,"created_at":"2024-05-06T12:44:56+08:00","updated_at":"2024-05-06T12:44:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696","variant_ids":[41916661104739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑女與小丑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-SB18","featured_media":{"alt":null,"id":23896429658211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa3f2de67dd1ee41e80540faa6cba61f52523c1_bd14f424-9942-4540-bc9e-e9a3039a7db4.webp?v=1714970696"}},"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: "停產"
}