Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 小丑女與小丑
$product = {"id":7408475308131,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Batman - 小丑女與小丑","handle":"iphone-12-mini-mod-nx-printable-sb18","description":null,"published_at":"2024-06-11T16:38:16+08:00","created_at":"2024-05-03T15:33:54+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":41885903814755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31472374743139,"product_id":7408475308131,"position":10,"created_at":"2024-05-03T15:34:19+08:00","updated_at":"2024-05-03T15:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659","variant_ids":[41885903814755]},"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-SB18","featured_media":{"alt":null,"id":23877291704419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8930267ae1be912ac5f32129dffd78123570c8d_f57897fc-5043-4860-9f3d-aa44edca3ace.webp?v=1714721637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a895b006e458bdcb65f3bedffabcd2c1585fb5fe_91607895-b010-409c-bdf8-bad2c5961699.webp?v=1714721639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034b56bc739fea4b459fd8b06eadf120369b78ee_c5596057-5103-4df1-ae9c-f671af7bd47e.webp?v=1714721642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd28b2880d499b2c61365d0564af5788e88f08f2_cf51e18a-8f60-4457-bda5-0464f6849b57.webp?v=1714721644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/127bcb220bec5b63db001657bfe0a75897059853_7a553fc1-a0e9-4620-a9ac-db2b670ced8d.webp?v=1714721646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78b07060fe7af24705cdb9a63a34cd639c505e_8bcbcddd-8d5e-4a13-9260-272fdd9c72ce.webp?v=1714721649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e59a5bf31c760d188e80096f730cbfb8b4b626_80ec2fc6-c62d-4371-999a-a9d1a61fbaa9.webp?v=1714721651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3c45b3428fd6a24665c8a81bd6bab53d99fe8f9_50435c85-adae-4718-b6ea-3440a966fa11.webp?v=1714721654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29c54b088552fab69051e3515f5fc6c03347a73_a7f503eb-e801-4f0f-830e-f6bd395484f6.webp?v=1714721656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75867cae892761e9f796ae6416528ccab28e76ea_3844c217-fda3-4583-9e40-0b6aa6de4bb6.webp?v=1714721661"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8930267ae1be912ac5f32129dffd78123570c8d_f57897fc-5043-4860-9f3d-aa44edca3ace.webp?v=1714721637","options":["color"],"media":[{"alt":null,"id":23877287116899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8930267ae1be912ac5f32129dffd78123570c8d_f57897fc-5043-4860-9f3d-aa44edca3ace.webp?v=1714721637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8930267ae1be912ac5f32129dffd78123570c8d_f57897fc-5043-4860-9f3d-aa44edca3ace.webp?v=1714721637","width":2000},{"alt":null,"id":23877287575651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a895b006e458bdcb65f3bedffabcd2c1585fb5fe_91607895-b010-409c-bdf8-bad2c5961699.webp?v=1714721639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a895b006e458bdcb65f3bedffabcd2c1585fb5fe_91607895-b010-409c-bdf8-bad2c5961699.webp?v=1714721639","width":2000},{"alt":null,"id":23877288099939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034b56bc739fea4b459fd8b06eadf120369b78ee_c5596057-5103-4df1-ae9c-f671af7bd47e.webp?v=1714721642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/034b56bc739fea4b459fd8b06eadf120369b78ee_c5596057-5103-4df1-ae9c-f671af7bd47e.webp?v=1714721642","width":2000},{"alt":null,"id":23877288656995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd28b2880d499b2c61365d0564af5788e88f08f2_cf51e18a-8f60-4457-bda5-0464f6849b57.webp?v=1714721644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd28b2880d499b2c61365d0564af5788e88f08f2_cf51e18a-8f60-4457-bda5-0464f6849b57.webp?v=1714721644","width":2000},{"alt":null,"id":23877289050211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/127bcb220bec5b63db001657bfe0a75897059853_7a553fc1-a0e9-4620-a9ac-db2b670ced8d.webp?v=1714721646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/127bcb220bec5b63db001657bfe0a75897059853_7a553fc1-a0e9-4620-a9ac-db2b670ced8d.webp?v=1714721646","width":2000},{"alt":null,"id":23877289574499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78b07060fe7af24705cdb9a63a34cd639c505e_8bcbcddd-8d5e-4a13-9260-272fdd9c72ce.webp?v=1714721649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc78b07060fe7af24705cdb9a63a34cd639c505e_8bcbcddd-8d5e-4a13-9260-272fdd9c72ce.webp?v=1714721649","width":2000},{"alt":null,"id":23877290033251,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e59a5bf31c760d188e80096f730cbfb8b4b626_80ec2fc6-c62d-4371-999a-a9d1a61fbaa9.webp?v=1714721651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e59a5bf31c760d188e80096f730cbfb8b4b626_80ec2fc6-c62d-4371-999a-a9d1a61fbaa9.webp?v=1714721651","width":2000},{"alt":null,"id":23877290655843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3c45b3428fd6a24665c8a81bd6bab53d99fe8f9_50435c85-adae-4718-b6ea-3440a966fa11.webp?v=1714721654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3c45b3428fd6a24665c8a81bd6bab53d99fe8f9_50435c85-adae-4718-b6ea-3440a966fa11.webp?v=1714721654","width":2000},{"alt":null,"id":23877291081827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29c54b088552fab69051e3515f5fc6c03347a73_a7f503eb-e801-4f0f-830e-f6bd395484f6.webp?v=1714721656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29c54b088552fab69051e3515f5fc6c03347a73_a7f503eb-e801-4f0f-830e-f6bd395484f6.webp?v=1714721656","width":2000},{"alt":null,"id":23877291704419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659","width":2000},{"alt":null,"id":23877292130403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75867cae892761e9f796ae6416528ccab28e76ea_3844c217-fda3-4583-9e40-0b6aa6de4bb6.webp?v=1714721661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75867cae892761e9f796ae6416528ccab28e76ea_3844c217-fda3-4583-9e40-0b6aa6de4bb6.webp?v=1714721661","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885903814755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31472374743139,"product_id":7408475308131,"position":10,"created_at":"2024-05-03T15:34:19+08:00","updated_at":"2024-05-03T15:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659","variant_ids":[41885903814755]},"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-SB18","featured_media":{"alt":null,"id":23877291704419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885903814755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-SB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31472374743139,"product_id":7408475308131,"position":10,"created_at":"2024-05-03T15:34:19+08:00","updated_at":"2024-05-03T15:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659","variant_ids":[41885903814755]},"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-SB18","featured_media":{"alt":null,"id":23877291704419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd17c3c3a599d7ae6bebcc73d99f78bde2ff8dc_f4f3ec2c-b61c-438e-b642-818de3708d76.webp?v=1714721659"}},"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: "停產"
}