Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 蝙蝠車
$product = {"id":7408478224483,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 蝙蝠車","handle":"iphone-12-mini-mod-nx-printable-sb05","description":null,"published_at":"2024-06-11T16:38:21+08:00","created_at":"2024-05-03T15:34:28+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 12 mini","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":41885936255075,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472377495651,"product_id":7408478224483,"position":2,"created_at":"2024-05-03T15:34:33+08:00","updated_at":"2024-05-03T15:34:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673","variant_ids":[41885936255075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 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":"NPB0118424-SB05","featured_media":{"alt":null,"id":23877294391395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dd48bf75614b6b9bee037caa4e03148df5711a_60952ff0-8705-4d12-b222-8f60f2546498.webp?v=1714721670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75e783cb8f71d68dbc3d03f1feadb9ea1125dda0_de476135-9651-44c8-a930-bfc799d71d3f.webp?v=1714721676","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa95119a983c0a96e10b0a8634b5d7cab75506aa_06fa74dc-237a-4d04-a426-5fe1bbfe91f9.webp?v=1714721681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/171fc54d3ba277eaed5fc621797adbc03b194e62_709a963d-b113-44b4-af55-4aa4f62a8153.webp?v=1714721684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f3ebc57bbd33cb13a5bdc594caf91bf6b68429f_68b7e5d0-2ab6-4206-822f-37c54a5971c7.webp?v=1714721687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f77df01f77ad150178589616d88d4171b5867d02_e0e4c298-9fb6-4714-8ad8-b1ed1d9a7ba0.webp?v=1714721689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa1fa5a2b0df1373f704e8e5e771730218e04bab_ae1dc52f-4463-4152-94d5-6e0033292b64.webp?v=1714721692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a762fee8b615383a72a95d33430452925eef5d_80d61d81-c3d9-418a-b309-15cbfce479f6.webp?v=1714721694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f1a102447856672cf0ed4c540edd1453c9f7193_0630e348-c8d0-4b16-bc98-c20523775884.webp?v=1714721697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f04a51beef1d0a4cb70e7a366ee83fe70459f53_4668ad07-99ce-4886-81b2-c9d91bcb86ee.webp?v=1714721699"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dd48bf75614b6b9bee037caa4e03148df5711a_60952ff0-8705-4d12-b222-8f60f2546498.webp?v=1714721670","options":["color"],"media":[{"alt":null,"id":23877293768803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dd48bf75614b6b9bee037caa4e03148df5711a_60952ff0-8705-4d12-b222-8f60f2546498.webp?v=1714721670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09dd48bf75614b6b9bee037caa4e03148df5711a_60952ff0-8705-4d12-b222-8f60f2546498.webp?v=1714721670","width":2000},{"alt":null,"id":23877294391395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673","width":2000},{"alt":null,"id":23877294882915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75e783cb8f71d68dbc3d03f1feadb9ea1125dda0_de476135-9651-44c8-a930-bfc799d71d3f.webp?v=1714721676"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75e783cb8f71d68dbc3d03f1feadb9ea1125dda0_de476135-9651-44c8-a930-bfc799d71d3f.webp?v=1714721676","width":2000},{"alt":null,"id":23877296095331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa95119a983c0a96e10b0a8634b5d7cab75506aa_06fa74dc-237a-4d04-a426-5fe1bbfe91f9.webp?v=1714721681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa95119a983c0a96e10b0a8634b5d7cab75506aa_06fa74dc-237a-4d04-a426-5fe1bbfe91f9.webp?v=1714721681","width":2000},{"alt":null,"id":23877296848995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/171fc54d3ba277eaed5fc621797adbc03b194e62_709a963d-b113-44b4-af55-4aa4f62a8153.webp?v=1714721684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/171fc54d3ba277eaed5fc621797adbc03b194e62_709a963d-b113-44b4-af55-4aa4f62a8153.webp?v=1714721684","width":2000},{"alt":null,"id":23877297995875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f3ebc57bbd33cb13a5bdc594caf91bf6b68429f_68b7e5d0-2ab6-4206-822f-37c54a5971c7.webp?v=1714721687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f3ebc57bbd33cb13a5bdc594caf91bf6b68429f_68b7e5d0-2ab6-4206-822f-37c54a5971c7.webp?v=1714721687","width":2000},{"alt":null,"id":23877299142755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f77df01f77ad150178589616d88d4171b5867d02_e0e4c298-9fb6-4714-8ad8-b1ed1d9a7ba0.webp?v=1714721689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f77df01f77ad150178589616d88d4171b5867d02_e0e4c298-9fb6-4714-8ad8-b1ed1d9a7ba0.webp?v=1714721689","width":2000},{"alt":null,"id":23877299699811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa1fa5a2b0df1373f704e8e5e771730218e04bab_ae1dc52f-4463-4152-94d5-6e0033292b64.webp?v=1714721692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa1fa5a2b0df1373f704e8e5e771730218e04bab_ae1dc52f-4463-4152-94d5-6e0033292b64.webp?v=1714721692","width":2000},{"alt":null,"id":23877300125795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a762fee8b615383a72a95d33430452925eef5d_80d61d81-c3d9-418a-b309-15cbfce479f6.webp?v=1714721694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a762fee8b615383a72a95d33430452925eef5d_80d61d81-c3d9-418a-b309-15cbfce479f6.webp?v=1714721694","width":2000},{"alt":null,"id":23877300650083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f1a102447856672cf0ed4c540edd1453c9f7193_0630e348-c8d0-4b16-bc98-c20523775884.webp?v=1714721697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f1a102447856672cf0ed4c540edd1453c9f7193_0630e348-c8d0-4b16-bc98-c20523775884.webp?v=1714721697","width":2000},{"alt":null,"id":23877301174371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f04a51beef1d0a4cb70e7a366ee83fe70459f53_4668ad07-99ce-4886-81b2-c9d91bcb86ee.webp?v=1714721699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f04a51beef1d0a4cb70e7a366ee83fe70459f53_4668ad07-99ce-4886-81b2-c9d91bcb86ee.webp?v=1714721699","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885936255075,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472377495651,"product_id":7408478224483,"position":2,"created_at":"2024-05-03T15:34:33+08:00","updated_at":"2024-05-03T15:34:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673","variant_ids":[41885936255075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 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":"NPB0118424-SB05","featured_media":{"alt":null,"id":23877294391395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885936255075,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472377495651,"product_id":7408478224483,"position":2,"created_at":"2024-05-03T15:34:33+08:00","updated_at":"2024-05-03T15:34:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673","variant_ids":[41885936255075]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 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":"NPB0118424-SB05","featured_media":{"alt":null,"id":23877294391395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/347a73ba5f4194b6b7cc360f95d806a024a0d754_c4cd6da7-bb71-4895-814c-3c20500e0e4f.webp?v=1714721673"}},"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: "停產"
}