Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 小丑女 瘋狂的愛
$product = {"id":7408529047651,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 小丑女 瘋狂的愛","handle":"iphone-12-mini-mod-nx-printable-sb09","description":null,"published_at":"2024-06-11T16:39:48+08:00","created_at":"2024-05-03T15:44:26+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":41886527389795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31472509583459,"product_id":7408529047651,"position":5,"created_at":"2024-05-03T15:44:38+08:00","updated_at":"2024-05-03T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278","variant_ids":[41886527389795]},"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-SB09","featured_media":{"alt":null,"id":23877426905187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e4e40407f8ed531eee6eec4bf91b6638fa73cd_e608d413-9908-48f6-bfcf-b7e39bfd2c11.webp?v=1714722268","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1534463f8533c8cb2f0ff5a66e1e3d037256429a_cd7b1012-242f-40ad-b0a1-e8945091e57b.webp?v=1714722270","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e5e6bf5bbcd37e30d13b7cdef507752d0e678e_2832df00-6cde-4373-bfa9-e4a8f4603d60.webp?v=1714722273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e38ad7a2467082502bed18e50b6f5341f5a2db1c_46e60cc4-bf40-440a-becc-1374ac2bec8b.webp?v=1714722275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3075b9e7de08d789e9ab0cb83c599e0c75821d85_a07d54e0-1565-4bcf-9cb0-ae27234195b7.webp?v=1714722280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5e23025b5d7c179156b193b6859e36569242ad0_5eac2f83-4b84-46f2-8709-03029af623e5.webp?v=1714722282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e0dd377278c46a323fbb90af07e1814ed82d937_146955db-57d1-4163-b52a-1f0b5b2da0a8.webp?v=1714722285","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b42079a80ac45aad99d893c31c4d1e53c6480b6_a1aa93d7-b85e-499d-9b17-39182dcd8a35.webp?v=1714722287","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc177c63eb34d2f6b305d95f3a3dd13a43326117_4c1180b6-3995-4c1d-992d-6bc0217132e9.webp?v=1714722290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a6d437d025dbdf9d8227284b8f439212df9be0d_f6e11ff7-cadf-4655-9ab1-667891369e44.webp?v=1714722292"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e4e40407f8ed531eee6eec4bf91b6638fa73cd_e608d413-9908-48f6-bfcf-b7e39bfd2c11.webp?v=1714722268","options":["color"],"media":[{"alt":null,"id":23877425135715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e4e40407f8ed531eee6eec4bf91b6638fa73cd_e608d413-9908-48f6-bfcf-b7e39bfd2c11.webp?v=1714722268"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e4e40407f8ed531eee6eec4bf91b6638fa73cd_e608d413-9908-48f6-bfcf-b7e39bfd2c11.webp?v=1714722268","width":2000},{"alt":null,"id":23877425594467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1534463f8533c8cb2f0ff5a66e1e3d037256429a_cd7b1012-242f-40ad-b0a1-e8945091e57b.webp?v=1714722270"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1534463f8533c8cb2f0ff5a66e1e3d037256429a_cd7b1012-242f-40ad-b0a1-e8945091e57b.webp?v=1714722270","width":2000},{"alt":null,"id":23877425922147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e5e6bf5bbcd37e30d13b7cdef507752d0e678e_2832df00-6cde-4373-bfa9-e4a8f4603d60.webp?v=1714722273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e5e6bf5bbcd37e30d13b7cdef507752d0e678e_2832df00-6cde-4373-bfa9-e4a8f4603d60.webp?v=1714722273","width":2000},{"alt":null,"id":23877426413667,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e38ad7a2467082502bed18e50b6f5341f5a2db1c_46e60cc4-bf40-440a-becc-1374ac2bec8b.webp?v=1714722275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e38ad7a2467082502bed18e50b6f5341f5a2db1c_46e60cc4-bf40-440a-becc-1374ac2bec8b.webp?v=1714722275","width":2000},{"alt":null,"id":23877426905187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278","width":2000},{"alt":null,"id":23877427363939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3075b9e7de08d789e9ab0cb83c599e0c75821d85_a07d54e0-1565-4bcf-9cb0-ae27234195b7.webp?v=1714722280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3075b9e7de08d789e9ab0cb83c599e0c75821d85_a07d54e0-1565-4bcf-9cb0-ae27234195b7.webp?v=1714722280","width":2000},{"alt":null,"id":23877428052067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5e23025b5d7c179156b193b6859e36569242ad0_5eac2f83-4b84-46f2-8709-03029af623e5.webp?v=1714722282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5e23025b5d7c179156b193b6859e36569242ad0_5eac2f83-4b84-46f2-8709-03029af623e5.webp?v=1714722282","width":2000},{"alt":null,"id":23877428543587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e0dd377278c46a323fbb90af07e1814ed82d937_146955db-57d1-4163-b52a-1f0b5b2da0a8.webp?v=1714722285"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e0dd377278c46a323fbb90af07e1814ed82d937_146955db-57d1-4163-b52a-1f0b5b2da0a8.webp?v=1714722285","width":2000},{"alt":null,"id":23877429035107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b42079a80ac45aad99d893c31c4d1e53c6480b6_a1aa93d7-b85e-499d-9b17-39182dcd8a35.webp?v=1714722287"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b42079a80ac45aad99d893c31c4d1e53c6480b6_a1aa93d7-b85e-499d-9b17-39182dcd8a35.webp?v=1714722287","width":2000},{"alt":null,"id":23877429592163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc177c63eb34d2f6b305d95f3a3dd13a43326117_4c1180b6-3995-4c1d-992d-6bc0217132e9.webp?v=1714722290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc177c63eb34d2f6b305d95f3a3dd13a43326117_4c1180b6-3995-4c1d-992d-6bc0217132e9.webp?v=1714722290","width":2000},{"alt":null,"id":23877430018147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a6d437d025dbdf9d8227284b8f439212df9be0d_f6e11ff7-cadf-4655-9ab1-667891369e44.webp?v=1714722292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a6d437d025dbdf9d8227284b8f439212df9be0d_f6e11ff7-cadf-4655-9ab1-667891369e44.webp?v=1714722292","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886527389795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31472509583459,"product_id":7408529047651,"position":5,"created_at":"2024-05-03T15:44:38+08:00","updated_at":"2024-05-03T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278","variant_ids":[41886527389795]},"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-SB09","featured_media":{"alt":null,"id":23877426905187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886527389795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31472509583459,"product_id":7408529047651,"position":5,"created_at":"2024-05-03T15:44:38+08:00","updated_at":"2024-05-03T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278","variant_ids":[41886527389795]},"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-SB09","featured_media":{"alt":null,"id":23877426905187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ca1d570c2201e8f0fa25ffbf2c39cb43353fba_9ce69644-57cb-44ab-81fd-32b4f975c600.webp?v=1714722278"}},"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: "停產"
}