Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 復古漫畫插圖
$product = {"id":7408400433251,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 復古漫畫插圖","handle":"iphone-12-mini-mod-nx-printable-sb08","description":null,"published_at":"2024-06-11T16:36:13+08:00","created_at":"2024-05-03T15:19:16+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":41885066068067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472165814371,"product_id":7408400433251,"position":2,"created_at":"2024-05-03T15:19:20+08:00","updated_at":"2024-05-03T15:19:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760","variant_ids":[41885066068067]},"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-SB08","featured_media":{"alt":null,"id":23877081432163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9be9b2af28f4026553d008c860ce648d25c8ebc0_d57b81ea-3f11-41f5-906b-d6211d9190ce.webp?v=1714720758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8960a0de70d1125d2458a0422871e484c6b116b_0d0adfe6-c482-4fe4-a535-87a8852a65b3.webp?v=1714720763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac6ea86b4f1f290f58240474c116fdfe3392f45e_c8821b8d-c274-4eb7-ac4c-9cd019d7145a.webp?v=1714720765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/984befe499daa9a6415da6c696122f5f248eb2af_09e56754-ba24-45d7-898c-22bb6a46af2b.webp?v=1714720767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a1bed02506cc51b7e236bb06ae6189ea6096302_c30d054d-0b49-48ad-a496-30e2d19ac3ad.webp?v=1714720770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d41c90072cf128095aa4dcf9476562f237442620_5d5e7e4c-7e95-4b4f-99b9-e05e6c333b8e.webp?v=1714720772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afb2b023c341e5f4b369dfd30c666f962c4c9cc_ed306863-b6bc-4493-9991-8c08c94926ec.webp?v=1714720774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18bcdd186e560f44523cbb551794a548813cab9a_0e3407c7-6c51-4608-b60a-48f99a8fde4c.webp?v=1714720776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a536eab31e205a932a840e9fe324c10361a91e9_5ec2919c-cc3f-44eb-bdb8-87bf2abdbf6f.webp?v=1714720779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bb427bb3b0f0f427c54246fbd20b8f848a564e_36b76eae-1e41-465f-b215-d25e01f10965.webp?v=1714720781"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9be9b2af28f4026553d008c860ce648d25c8ebc0_d57b81ea-3f11-41f5-906b-d6211d9190ce.webp?v=1714720758","options":["color"],"media":[{"alt":null,"id":23877081170019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9be9b2af28f4026553d008c860ce648d25c8ebc0_d57b81ea-3f11-41f5-906b-d6211d9190ce.webp?v=1714720758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9be9b2af28f4026553d008c860ce648d25c8ebc0_d57b81ea-3f11-41f5-906b-d6211d9190ce.webp?v=1714720758","width":2000},{"alt":null,"id":23877081432163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760","width":2000},{"alt":null,"id":23877081989219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8960a0de70d1125d2458a0422871e484c6b116b_0d0adfe6-c482-4fe4-a535-87a8852a65b3.webp?v=1714720763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8960a0de70d1125d2458a0422871e484c6b116b_0d0adfe6-c482-4fe4-a535-87a8852a65b3.webp?v=1714720763","width":2000},{"alt":null,"id":23877082349667,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac6ea86b4f1f290f58240474c116fdfe3392f45e_c8821b8d-c274-4eb7-ac4c-9cd019d7145a.webp?v=1714720765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac6ea86b4f1f290f58240474c116fdfe3392f45e_c8821b8d-c274-4eb7-ac4c-9cd019d7145a.webp?v=1714720765","width":2000},{"alt":null,"id":23877082808419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/984befe499daa9a6415da6c696122f5f248eb2af_09e56754-ba24-45d7-898c-22bb6a46af2b.webp?v=1714720767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/984befe499daa9a6415da6c696122f5f248eb2af_09e56754-ba24-45d7-898c-22bb6a46af2b.webp?v=1714720767","width":2000},{"alt":null,"id":23877083299939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a1bed02506cc51b7e236bb06ae6189ea6096302_c30d054d-0b49-48ad-a496-30e2d19ac3ad.webp?v=1714720770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a1bed02506cc51b7e236bb06ae6189ea6096302_c30d054d-0b49-48ad-a496-30e2d19ac3ad.webp?v=1714720770","width":2000},{"alt":null,"id":23877084020835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d41c90072cf128095aa4dcf9476562f237442620_5d5e7e4c-7e95-4b4f-99b9-e05e6c333b8e.webp?v=1714720772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d41c90072cf128095aa4dcf9476562f237442620_5d5e7e4c-7e95-4b4f-99b9-e05e6c333b8e.webp?v=1714720772","width":2000},{"alt":null,"id":23877084348515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afb2b023c341e5f4b369dfd30c666f962c4c9cc_ed306863-b6bc-4493-9991-8c08c94926ec.webp?v=1714720774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afb2b023c341e5f4b369dfd30c666f962c4c9cc_ed306863-b6bc-4493-9991-8c08c94926ec.webp?v=1714720774","width":2000},{"alt":null,"id":23877084872803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18bcdd186e560f44523cbb551794a548813cab9a_0e3407c7-6c51-4608-b60a-48f99a8fde4c.webp?v=1714720776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18bcdd186e560f44523cbb551794a548813cab9a_0e3407c7-6c51-4608-b60a-48f99a8fde4c.webp?v=1714720776","width":2000},{"alt":null,"id":23877085233251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a536eab31e205a932a840e9fe324c10361a91e9_5ec2919c-cc3f-44eb-bdb8-87bf2abdbf6f.webp?v=1714720779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a536eab31e205a932a840e9fe324c10361a91e9_5ec2919c-cc3f-44eb-bdb8-87bf2abdbf6f.webp?v=1714720779","width":2000},{"alt":null,"id":23877085921379,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bb427bb3b0f0f427c54246fbd20b8f848a564e_36b76eae-1e41-465f-b215-d25e01f10965.webp?v=1714720781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01bb427bb3b0f0f427c54246fbd20b8f848a564e_36b76eae-1e41-465f-b215-d25e01f10965.webp?v=1714720781","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885066068067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472165814371,"product_id":7408400433251,"position":2,"created_at":"2024-05-03T15:19:20+08:00","updated_at":"2024-05-03T15:19:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760","variant_ids":[41885066068067]},"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-SB08","featured_media":{"alt":null,"id":23877081432163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885066068067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472165814371,"product_id":7408400433251,"position":2,"created_at":"2024-05-03T15:19:20+08:00","updated_at":"2024-05-03T15:19:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760","variant_ids":[41885066068067]},"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-SB08","featured_media":{"alt":null,"id":23877081432163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b958474286492d6d33d91b898dc0a3f4212b014d_d045a331-45ab-4633-b098-52c11070eb13.webp?v=1714720760"}},"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: "停產"
}