Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 小丑女圖騰
$product = {"id":7408453320803,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 小丑女圖騰","handle":"iphone-12-mini-mod-nx-printable-sb17","description":null,"published_at":"2024-06-11T16:37:39+08:00","created_at":"2024-05-03T15:29: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":41885647208547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31472316252259,"product_id":7408453320803,"position":2,"created_at":"2024-05-03T15:29:33+08:00","updated_at":"2024-05-03T15:29:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373","variant_ids":[41885647208547]},"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-SB17","featured_media":{"alt":null,"id":23877232656483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c92ed4b5419d22d144993db73dee3bdb9498309c_8420bb6d-d303-4673-b6ff-93768c494b37.webp?v=1714721370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf68385d885c64e54718fe7668db4067a2ba94b3_0885e40f-b072-44df-9aea-e9e33e0041b3.webp?v=1714721376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2743e7631131cfce95e324ba1a38b188399fa07c_f12554d7-a565-4a8e-862e-5bb223198d9d.webp?v=1714721378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed308f80a9f0e625940de1a4cfc9aae23212e65_36de53a4-6b29-4c38-bccb-66d9d4923a85.webp?v=1714721381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9364cd236f34df5b0b59451241921e843cb80e82_a9c152d5-a38d-492a-a405-5d58061416c6.webp?v=1714721383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c47c536d1a39009c831cc1af640a422715879d_43c62bdc-b1fc-486f-9334-312ff6f61029.webp?v=1714721385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe8a3bef1def9e8a7ad780058f50d5bdf075d8a_d999c30d-18d5-45ef-ac04-e2402ad25d5a.webp?v=1714721388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3d9999930226ba6362fd8e14cc00bdb3211322c_46528cfe-eca3-4401-be09-3c2680954305.webp?v=1714721390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df5254c2813caec4d664ea6bd7a7f2786287b772_d95f40dc-c3a7-44aa-841a-43d014e4954a.webp?v=1714721393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e726a3b9747e3954afb9f7f633811cf9f35db0_86246d4f-16ad-4123-911b-d3c711acfe6f.webp?v=1714721395"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c92ed4b5419d22d144993db73dee3bdb9498309c_8420bb6d-d303-4673-b6ff-93768c494b37.webp?v=1714721370","options":["color"],"media":[{"alt":null,"id":23877232066659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c92ed4b5419d22d144993db73dee3bdb9498309c_8420bb6d-d303-4673-b6ff-93768c494b37.webp?v=1714721370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c92ed4b5419d22d144993db73dee3bdb9498309c_8420bb6d-d303-4673-b6ff-93768c494b37.webp?v=1714721370","width":2000},{"alt":null,"id":23877232656483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373","width":2000},{"alt":null,"id":23877233279075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf68385d885c64e54718fe7668db4067a2ba94b3_0885e40f-b072-44df-9aea-e9e33e0041b3.webp?v=1714721376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf68385d885c64e54718fe7668db4067a2ba94b3_0885e40f-b072-44df-9aea-e9e33e0041b3.webp?v=1714721376","width":2000},{"alt":null,"id":23877233737827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2743e7631131cfce95e324ba1a38b188399fa07c_f12554d7-a565-4a8e-862e-5bb223198d9d.webp?v=1714721378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2743e7631131cfce95e324ba1a38b188399fa07c_f12554d7-a565-4a8e-862e-5bb223198d9d.webp?v=1714721378","width":2000},{"alt":null,"id":23877234491491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed308f80a9f0e625940de1a4cfc9aae23212e65_36de53a4-6b29-4c38-bccb-66d9d4923a85.webp?v=1714721381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed308f80a9f0e625940de1a4cfc9aae23212e65_36de53a4-6b29-4c38-bccb-66d9d4923a85.webp?v=1714721381","width":2000},{"alt":null,"id":23877234851939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9364cd236f34df5b0b59451241921e843cb80e82_a9c152d5-a38d-492a-a405-5d58061416c6.webp?v=1714721383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9364cd236f34df5b0b59451241921e843cb80e82_a9c152d5-a38d-492a-a405-5d58061416c6.webp?v=1714721383","width":2000},{"alt":null,"id":23877235605603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c47c536d1a39009c831cc1af640a422715879d_43c62bdc-b1fc-486f-9334-312ff6f61029.webp?v=1714721385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c47c536d1a39009c831cc1af640a422715879d_43c62bdc-b1fc-486f-9334-312ff6f61029.webp?v=1714721385","width":2000},{"alt":null,"id":23877235966051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe8a3bef1def9e8a7ad780058f50d5bdf075d8a_d999c30d-18d5-45ef-ac04-e2402ad25d5a.webp?v=1714721388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe8a3bef1def9e8a7ad780058f50d5bdf075d8a_d999c30d-18d5-45ef-ac04-e2402ad25d5a.webp?v=1714721388","width":2000},{"alt":null,"id":23877236457571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3d9999930226ba6362fd8e14cc00bdb3211322c_46528cfe-eca3-4401-be09-3c2680954305.webp?v=1714721390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3d9999930226ba6362fd8e14cc00bdb3211322c_46528cfe-eca3-4401-be09-3c2680954305.webp?v=1714721390","width":2000},{"alt":null,"id":23877236883555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df5254c2813caec4d664ea6bd7a7f2786287b772_d95f40dc-c3a7-44aa-841a-43d014e4954a.webp?v=1714721393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df5254c2813caec4d664ea6bd7a7f2786287b772_d95f40dc-c3a7-44aa-841a-43d014e4954a.webp?v=1714721393","width":2000},{"alt":null,"id":23877237407843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e726a3b9747e3954afb9f7f633811cf9f35db0_86246d4f-16ad-4123-911b-d3c711acfe6f.webp?v=1714721395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e726a3b9747e3954afb9f7f633811cf9f35db0_86246d4f-16ad-4123-911b-d3c711acfe6f.webp?v=1714721395","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885647208547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31472316252259,"product_id":7408453320803,"position":2,"created_at":"2024-05-03T15:29:33+08:00","updated_at":"2024-05-03T15:29:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373","variant_ids":[41885647208547]},"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-SB17","featured_media":{"alt":null,"id":23877232656483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885647208547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31472316252259,"product_id":7408453320803,"position":2,"created_at":"2024-05-03T15:29:33+08:00","updated_at":"2024-05-03T15:29:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373","variant_ids":[41885647208547]},"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-SB17","featured_media":{"alt":null,"id":23877232656483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b188ede64a6ceae866d4d4e1e9abaacfe9bf82_ccd81df0-3fe3-4a6f-9f3f-64d917bb4606.webp?v=1714721373"}},"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: "停產"
}