Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 黑白畫風-小丑
$product = {"id":7408399286371,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 黑白畫風-小丑","handle":"iphone-12-mini-mod-nx-printable-sb13","description":null,"published_at":"2024-06-11T16:36:11+08:00","created_at":"2024-05-03T15:18:55+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":41885045293155,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472162242659,"product_id":7408399286371,"position":4,"created_at":"2024-05-03T15:19:05+08:00","updated_at":"2024-05-03T15:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745","variant_ids":[41885045293155]},"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-SB13","featured_media":{"alt":null,"id":23877077893219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c2af3173e09f9c94e7d35c332ec46a939a9437_7ea69211-d38b-4536-ac05-b8fbbb40906d.webp?v=1714720737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baff3551d83310ca4cb2a60c1c260516ac160ac0_985575c4-8264-458a-9aa2-06a4bac72882.webp?v=1714720740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01c6a717ab6ecad215632616e63d18ce4bbf49ab_a559a70b-bd71-4ece-b330-134dd4abdadb.webp?v=1714720742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dcc4ff6f2789ac44101aed04342a57920769c01_d0404269-5760-4329-a932-dffe9d4f8167.webp?v=1714720747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64cb4ed88eb0801c7410bc5ac9f5bf6daa78d4c7_7d6cd3f5-b641-4761-bdcf-9e72ab689f79.webp?v=1714720750","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676d3405926b72c9c8b3d7534e97b81659837f75_d6eb6cbc-3da0-4f62-9b2f-01d87d55c030.webp?v=1714720752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db1231327147f4234da23fde065606f8da2a681_b1d64eda-9a91-4e4c-8bb5-ff8927176223.webp?v=1714720754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b65c422c865f2b6c34456fb3e7e810b0fabeaa_f79a818f-667c-4316-b203-0a8c00337df0.webp?v=1714720757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b2ffff137b592ac6f0d4d6dc207b65c8e3c6e47_c4c8f843-7a01-4da4-871a-45b94b3c3673.webp?v=1714720759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/242b7cd1e81856c70d7ce5ccc98c8e8fd8cb7011_fe6873c6-2d59-4333-b2d2-b43b51f9cf58.webp?v=1714720761"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c2af3173e09f9c94e7d35c332ec46a939a9437_7ea69211-d38b-4536-ac05-b8fbbb40906d.webp?v=1714720737","options":["color"],"media":[{"alt":null,"id":23877075697763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c2af3173e09f9c94e7d35c332ec46a939a9437_7ea69211-d38b-4536-ac05-b8fbbb40906d.webp?v=1714720737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c2af3173e09f9c94e7d35c332ec46a939a9437_7ea69211-d38b-4536-ac05-b8fbbb40906d.webp?v=1714720737","width":2000},{"alt":null,"id":23877076254819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baff3551d83310ca4cb2a60c1c260516ac160ac0_985575c4-8264-458a-9aa2-06a4bac72882.webp?v=1714720740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baff3551d83310ca4cb2a60c1c260516ac160ac0_985575c4-8264-458a-9aa2-06a4bac72882.webp?v=1714720740","width":2000},{"alt":null,"id":23877076910179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01c6a717ab6ecad215632616e63d18ce4bbf49ab_a559a70b-bd71-4ece-b330-134dd4abdadb.webp?v=1714720742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01c6a717ab6ecad215632616e63d18ce4bbf49ab_a559a70b-bd71-4ece-b330-134dd4abdadb.webp?v=1714720742","width":2000},{"alt":null,"id":23877077893219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745","width":2000},{"alt":null,"id":23877078515811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dcc4ff6f2789ac44101aed04342a57920769c01_d0404269-5760-4329-a932-dffe9d4f8167.webp?v=1714720747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dcc4ff6f2789ac44101aed04342a57920769c01_d0404269-5760-4329-a932-dffe9d4f8167.webp?v=1714720747","width":2000},{"alt":null,"id":23877079400547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64cb4ed88eb0801c7410bc5ac9f5bf6daa78d4c7_7d6cd3f5-b641-4761-bdcf-9e72ab689f79.webp?v=1714720750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64cb4ed88eb0801c7410bc5ac9f5bf6daa78d4c7_7d6cd3f5-b641-4761-bdcf-9e72ab689f79.webp?v=1714720750","width":2000},{"alt":null,"id":23877079859299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676d3405926b72c9c8b3d7534e97b81659837f75_d6eb6cbc-3da0-4f62-9b2f-01d87d55c030.webp?v=1714720752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676d3405926b72c9c8b3d7534e97b81659837f75_d6eb6cbc-3da0-4f62-9b2f-01d87d55c030.webp?v=1714720752","width":2000},{"alt":null,"id":23877080416355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db1231327147f4234da23fde065606f8da2a681_b1d64eda-9a91-4e4c-8bb5-ff8927176223.webp?v=1714720754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2db1231327147f4234da23fde065606f8da2a681_b1d64eda-9a91-4e4c-8bb5-ff8927176223.webp?v=1714720754","width":2000},{"alt":null,"id":23877080776803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b65c422c865f2b6c34456fb3e7e810b0fabeaa_f79a818f-667c-4316-b203-0a8c00337df0.webp?v=1714720757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b65c422c865f2b6c34456fb3e7e810b0fabeaa_f79a818f-667c-4316-b203-0a8c00337df0.webp?v=1714720757","width":2000},{"alt":null,"id":23877081301091,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b2ffff137b592ac6f0d4d6dc207b65c8e3c6e47_c4c8f843-7a01-4da4-871a-45b94b3c3673.webp?v=1714720759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b2ffff137b592ac6f0d4d6dc207b65c8e3c6e47_c4c8f843-7a01-4da4-871a-45b94b3c3673.webp?v=1714720759","width":2000},{"alt":null,"id":23877081727075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/242b7cd1e81856c70d7ce5ccc98c8e8fd8cb7011_fe6873c6-2d59-4333-b2d2-b43b51f9cf58.webp?v=1714720761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/242b7cd1e81856c70d7ce5ccc98c8e8fd8cb7011_fe6873c6-2d59-4333-b2d2-b43b51f9cf58.webp?v=1714720761","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885045293155,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472162242659,"product_id":7408399286371,"position":4,"created_at":"2024-05-03T15:19:05+08:00","updated_at":"2024-05-03T15:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745","variant_ids":[41885045293155]},"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-SB13","featured_media":{"alt":null,"id":23877077893219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885045293155,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472162242659,"product_id":7408399286371,"position":4,"created_at":"2024-05-03T15:19:05+08:00","updated_at":"2024-05-03T15:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745","variant_ids":[41885045293155]},"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-SB13","featured_media":{"alt":null,"id":23877077893219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89da649333fb84acd8aa9f5509455d8174687a15_9d496a33-5020-4f12-9b91-444368864eaa.webp?v=1714720745"}},"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: "停產"
}