Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 漫畫風格
$product = {"id":7416003231843,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 漫畫風格","handle":"iphone-xs-max-mod-nx-printable-sb02","description":null,"published_at":"2024-06-11T16:50:09+08:00","created_at":"2024-05-06T12:40:29+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":41916402172003,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31490961866851,"product_id":7416003231843,"position":4,"created_at":"2024-05-06T12:40:41+08:00","updated_at":"2024-05-06T12:40:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441","variant_ids":[41916402172003]},"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-SB02","featured_media":{"alt":null,"id":23896369004643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57bd6aa9781e8a517b7f40a66f8895ce2a2750a_a8bb9955-1854-4bf2-983d-d46f64afc18a.webp?v=1714970432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14276ae690df79c3977f839a3d77fb87b34121d2_0119874d-7c50-4ee5-99e3-d2a4c215749b.webp?v=1714970434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abea017fa0555c36b914005ed68d684fefa68746_ae0b6053-a3e6-404b-8175-f98f6df04d0b.webp?v=1714970439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/177ae84df25e64bed5e55ae6a67cc7b76f7ab1bc_129c703d-bc69-4fda-8586-57aeb7ced981.webp?v=1714970443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9c1fe0752471867ad230f7e730f2bfdb62ec821_3813a12e-e755-41e4-9641-46fd60aa3490.webp?v=1714970446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b859cba26cc25e40a87a6c8f85868d8e7715dd1e_01581fde-1754-459d-b060-b0f8cee44f74.webp?v=1714970448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90cb03821b9cd48ef8ed3f011ddd59d6ca0382f2_bc960864-fad1-46fd-b28d-d6804cb57c3e.webp?v=1714970450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9db599946dadfc9bb75efa10679604bbf2a86a2_23a6b933-98a7-4dac-9b36-3da13664cc58.webp?v=1714970453"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57bd6aa9781e8a517b7f40a66f8895ce2a2750a_a8bb9955-1854-4bf2-983d-d46f64afc18a.webp?v=1714970432","options":["color"],"media":[{"alt":null,"id":23896366678115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57bd6aa9781e8a517b7f40a66f8895ce2a2750a_a8bb9955-1854-4bf2-983d-d46f64afc18a.webp?v=1714970432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57bd6aa9781e8a517b7f40a66f8895ce2a2750a_a8bb9955-1854-4bf2-983d-d46f64afc18a.webp?v=1714970432","width":2000},{"alt":null,"id":23896367300707,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14276ae690df79c3977f839a3d77fb87b34121d2_0119874d-7c50-4ee5-99e3-d2a4c215749b.webp?v=1714970434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14276ae690df79c3977f839a3d77fb87b34121d2_0119874d-7c50-4ee5-99e3-d2a4c215749b.webp?v=1714970434","width":2000},{"alt":null,"id":23896368447587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abea017fa0555c36b914005ed68d684fefa68746_ae0b6053-a3e6-404b-8175-f98f6df04d0b.webp?v=1714970439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abea017fa0555c36b914005ed68d684fefa68746_ae0b6053-a3e6-404b-8175-f98f6df04d0b.webp?v=1714970439","width":2000},{"alt":null,"id":23896369004643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441","width":2000},{"alt":null,"id":23896369856611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/177ae84df25e64bed5e55ae6a67cc7b76f7ab1bc_129c703d-bc69-4fda-8586-57aeb7ced981.webp?v=1714970443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/177ae84df25e64bed5e55ae6a67cc7b76f7ab1bc_129c703d-bc69-4fda-8586-57aeb7ced981.webp?v=1714970443","width":2000},{"alt":null,"id":23896370380899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9c1fe0752471867ad230f7e730f2bfdb62ec821_3813a12e-e755-41e4-9641-46fd60aa3490.webp?v=1714970446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9c1fe0752471867ad230f7e730f2bfdb62ec821_3813a12e-e755-41e4-9641-46fd60aa3490.webp?v=1714970446","width":2000},{"alt":null,"id":23896370937955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b859cba26cc25e40a87a6c8f85868d8e7715dd1e_01581fde-1754-459d-b060-b0f8cee44f74.webp?v=1714970448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b859cba26cc25e40a87a6c8f85868d8e7715dd1e_01581fde-1754-459d-b060-b0f8cee44f74.webp?v=1714970448","width":2000},{"alt":null,"id":23896371429475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90cb03821b9cd48ef8ed3f011ddd59d6ca0382f2_bc960864-fad1-46fd-b28d-d6804cb57c3e.webp?v=1714970450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90cb03821b9cd48ef8ed3f011ddd59d6ca0382f2_bc960864-fad1-46fd-b28d-d6804cb57c3e.webp?v=1714970450","width":2000},{"alt":null,"id":23896371888227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9db599946dadfc9bb75efa10679604bbf2a86a2_23a6b933-98a7-4dac-9b36-3da13664cc58.webp?v=1714970453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9db599946dadfc9bb75efa10679604bbf2a86a2_23a6b933-98a7-4dac-9b36-3da13664cc58.webp?v=1714970453","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916402172003,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31490961866851,"product_id":7416003231843,"position":4,"created_at":"2024-05-06T12:40:41+08:00","updated_at":"2024-05-06T12:40:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441","variant_ids":[41916402172003]},"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-SB02","featured_media":{"alt":null,"id":23896369004643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916402172003,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31490961866851,"product_id":7416003231843,"position":4,"created_at":"2024-05-06T12:40:41+08:00","updated_at":"2024-05-06T12:40:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441","variant_ids":[41916402172003]},"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-SB02","featured_media":{"alt":null,"id":23896369004643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93e3a8e0620b6519fee0d5dbbe03d80bacc1ae9c_8742a533-842c-4675-abbe-ebad7e347d63.webp?v=1714970441"}},"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: "停產"
}