Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑拳擊學院
$product = {"id":7415877828707,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 小丑拳擊學院","handle":"iphone-xs-max-mod-nx-printable-sb07","description":null,"published_at":"2024-06-11T16:46:50+08:00","created_at":"2024-05-06T12:16:38+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 XS Max","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":41915115012195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490637889635,"product_id":7415877828707,"position":7,"created_at":"2024-05-06T12:16:57+08:00","updated_at":"2024-05-06T12:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017","variant_ids":[41915115012195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-SB07","featured_media":{"alt":null,"id":23896044372067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1505783df2c504c4b3b091a4911c0631c5cca761_c0f09c9d-ff83-4ea5-b975-7b21243def28.webp?v=1714969001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ac807eb45a97ad08d79bc0f10c94b006d5421ed_b62b54aa-7bf8-4aa3-bf09-7a7c079485b1.webp?v=1714969003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2404571c4e698a095aa5fab739c33f54a0bb7_1f2131ad-a477-4b06-a3b9-b471e117d697.webp?v=1714969008","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d28cfb394c85d6ac82d13d33ec13267f8009d_a29778ca-b0f6-445e-840a-23489fe3e064.webp?v=1714969011","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e07e429a16df4e6077b38c761cae2f45888d17c_8ae8ac7a-1f9c-418f-b3bf-41d18cc97365.webp?v=1714969013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1c64ffb5fb1e8de572e07f8f9a7d851c1e58fcf_98a7f3b7-0f56-495b-bafa-123cb4e5cdc7.webp?v=1714969015","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee5d7efc94192347fda9c976b45a245cdb0ccbd_e9342679-cee0-441d-9d20-774bb645cf46.webp?v=1714969020","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f5c3132bf8f8f449e962894465e0a15cb7689c_4ea5636d-3a4e-4768-abd2-b14d965e25fd.webp?v=1714969022"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1505783df2c504c4b3b091a4911c0631c5cca761_c0f09c9d-ff83-4ea5-b975-7b21243def28.webp?v=1714969001","options":["color"],"media":[{"alt":null,"id":23896041685091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1505783df2c504c4b3b091a4911c0631c5cca761_c0f09c9d-ff83-4ea5-b975-7b21243def28.webp?v=1714969001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1505783df2c504c4b3b091a4911c0631c5cca761_c0f09c9d-ff83-4ea5-b975-7b21243def28.webp?v=1714969001","width":2000},{"alt":null,"id":23896042143843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ac807eb45a97ad08d79bc0f10c94b006d5421ed_b62b54aa-7bf8-4aa3-bf09-7a7c079485b1.webp?v=1714969003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ac807eb45a97ad08d79bc0f10c94b006d5421ed_b62b54aa-7bf8-4aa3-bf09-7a7c079485b1.webp?v=1714969003","width":2000},{"alt":null,"id":23896042963043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2404571c4e698a095aa5fab739c33f54a0bb7_1f2131ad-a477-4b06-a3b9-b471e117d697.webp?v=1714969008"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2404571c4e698a095aa5fab739c33f54a0bb7_1f2131ad-a477-4b06-a3b9-b471e117d697.webp?v=1714969008","width":2000},{"alt":null,"id":23896043389027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d28cfb394c85d6ac82d13d33ec13267f8009d_a29778ca-b0f6-445e-840a-23489fe3e064.webp?v=1714969011"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d28cfb394c85d6ac82d13d33ec13267f8009d_a29778ca-b0f6-445e-840a-23489fe3e064.webp?v=1714969011","width":2000},{"alt":null,"id":23896043651171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e07e429a16df4e6077b38c761cae2f45888d17c_8ae8ac7a-1f9c-418f-b3bf-41d18cc97365.webp?v=1714969013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e07e429a16df4e6077b38c761cae2f45888d17c_8ae8ac7a-1f9c-418f-b3bf-41d18cc97365.webp?v=1714969013","width":2000},{"alt":null,"id":23896044077155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1c64ffb5fb1e8de572e07f8f9a7d851c1e58fcf_98a7f3b7-0f56-495b-bafa-123cb4e5cdc7.webp?v=1714969015"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1c64ffb5fb1e8de572e07f8f9a7d851c1e58fcf_98a7f3b7-0f56-495b-bafa-123cb4e5cdc7.webp?v=1714969015","width":2000},{"alt":null,"id":23896044372067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017","width":2000},{"alt":null,"id":23896044830819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee5d7efc94192347fda9c976b45a245cdb0ccbd_e9342679-cee0-441d-9d20-774bb645cf46.webp?v=1714969020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee5d7efc94192347fda9c976b45a245cdb0ccbd_e9342679-cee0-441d-9d20-774bb645cf46.webp?v=1714969020","width":2000},{"alt":null,"id":23896045092963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f5c3132bf8f8f449e962894465e0a15cb7689c_4ea5636d-3a4e-4768-abd2-b14d965e25fd.webp?v=1714969022"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79f5c3132bf8f8f449e962894465e0a15cb7689c_4ea5636d-3a4e-4768-abd2-b14d965e25fd.webp?v=1714969022","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915115012195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490637889635,"product_id":7415877828707,"position":7,"created_at":"2024-05-06T12:16:57+08:00","updated_at":"2024-05-06T12:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017","variant_ids":[41915115012195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-SB07","featured_media":{"alt":null,"id":23896044372067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915115012195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490637889635,"product_id":7415877828707,"position":7,"created_at":"2024-05-06T12:16:57+08:00","updated_at":"2024-05-06T12:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017","variant_ids":[41915115012195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-SB07","featured_media":{"alt":null,"id":23896044372067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb293edac6f4e8d7d12bf093671f6684a6f8992d_a4bb1d60-70cd-4ce8-bae3-14c5ca19f42b.webp?v=1714969017"}},"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: "停產"
}