$product = {"id":7407984148579,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 哥譚市","handle":"iphone-14-pro-mod-nx-printable-sb19","description":null,"published_at":"2024-06-11T16:28:19+08:00","created_at":"2024-05-03T11:28: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 14 Pro","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":41881382551651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470871707747,"product_id":7407984148579,"position":2,"created_at":"2024-05-03T11:28:43+08:00","updated_at":"2024-05-03T11:28:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923","variant_ids":[41881382551651]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126224-SB19","featured_media":{"alt":null,"id":23875776348259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881382617187,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470874755171,"product_id":7407984148579,"position":6,"created_at":"2024-05-03T11:28:52+08:00","updated_at":"2024-05-03T11:28:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932","variant_ids":[41881382617187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126204-SB19","featured_media":{"alt":null,"id":23875779362915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881382846563,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470874394723,"product_id":7407984148579,"position":5,"created_at":"2024-05-03T11:28:50+08:00","updated_at":"2024-05-03T11:28:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930","variant_ids":[41881382846563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB01262J5-SB19","featured_media":{"alt":null,"id":23875778117731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e142907e84847308babeb7503b37b0871c678253_d9c01815-7e79-40bd-921f-f686ced0e6ea.webp?v=1714706921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c527c06b549956beb1387146460dc0fa15a79d70_60beee36-f99d-4d85-b8df-97689e2ddc81.webp?v=1714706925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18170e48673927f3bc05eb04c8b87a77ca22a9f0_f46413cb-f215-43e4-a2e9-707bb1d7ad37.webp?v=1714706927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983d5d29071e10d5f38a120307b078ced6422bd_a6b6366e-8d53-4ee2-bd09-6dee712065c9.webp?v=1714706934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08c94540371394dd2a96496944c22e1c71c0afab_2e19979e-ae07-4cc5-b35f-de134600f979.webp?v=1714706937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/075d64e3fcd61b5a70e46175a0e2dfe154a8c7b4_09c752b8-e0f6-48ab-98d4-d0e47af8e377.webp?v=1714706939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1986840da72c7d8827f55585ff6460ee534173_70e5b30e-939c-4a19-b042-8f63a4934690.webp?v=1714706941"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e142907e84847308babeb7503b37b0871c678253_d9c01815-7e79-40bd-921f-f686ced0e6ea.webp?v=1714706921","options":["color"],"media":[{"alt":null,"id":23875775889507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e142907e84847308babeb7503b37b0871c678253_d9c01815-7e79-40bd-921f-f686ced0e6ea.webp?v=1714706921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e142907e84847308babeb7503b37b0871c678253_d9c01815-7e79-40bd-921f-f686ced0e6ea.webp?v=1714706921","width":2000},{"alt":null,"id":23875776348259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923","width":2000},{"alt":null,"id":23875776807011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c527c06b549956beb1387146460dc0fa15a79d70_60beee36-f99d-4d85-b8df-97689e2ddc81.webp?v=1714706925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c527c06b549956beb1387146460dc0fa15a79d70_60beee36-f99d-4d85-b8df-97689e2ddc81.webp?v=1714706925","width":2000},{"alt":null,"id":23875777265763,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18170e48673927f3bc05eb04c8b87a77ca22a9f0_f46413cb-f215-43e4-a2e9-707bb1d7ad37.webp?v=1714706927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18170e48673927f3bc05eb04c8b87a77ca22a9f0_f46413cb-f215-43e4-a2e9-707bb1d7ad37.webp?v=1714706927","width":2000},{"alt":null,"id":23875778117731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930","width":2000},{"alt":null,"id":23875779362915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932","width":2000},{"alt":null,"id":23875779952739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983d5d29071e10d5f38a120307b078ced6422bd_a6b6366e-8d53-4ee2-bd09-6dee712065c9.webp?v=1714706934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983d5d29071e10d5f38a120307b078ced6422bd_a6b6366e-8d53-4ee2-bd09-6dee712065c9.webp?v=1714706934","width":2000},{"alt":null,"id":23875780378723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08c94540371394dd2a96496944c22e1c71c0afab_2e19979e-ae07-4cc5-b35f-de134600f979.webp?v=1714706937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08c94540371394dd2a96496944c22e1c71c0afab_2e19979e-ae07-4cc5-b35f-de134600f979.webp?v=1714706937","width":2000},{"alt":null,"id":23875780837475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/075d64e3fcd61b5a70e46175a0e2dfe154a8c7b4_09c752b8-e0f6-48ab-98d4-d0e47af8e377.webp?v=1714706939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/075d64e3fcd61b5a70e46175a0e2dfe154a8c7b4_09c752b8-e0f6-48ab-98d4-d0e47af8e377.webp?v=1714706939","width":2000},{"alt":null,"id":23875781263459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1986840da72c7d8827f55585ff6460ee534173_70e5b30e-939c-4a19-b042-8f63a4934690.webp?v=1714706941"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1986840da72c7d8827f55585ff6460ee534173_70e5b30e-939c-4a19-b042-8f63a4934690.webp?v=1714706941","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881382551651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470871707747,"product_id":7407984148579,"position":2,"created_at":"2024-05-03T11:28:43+08:00","updated_at":"2024-05-03T11:28:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923","variant_ids":[41881382551651]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126224-SB19","featured_media":{"alt":null,"id":23875776348259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881382617187,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470874755171,"product_id":7407984148579,"position":6,"created_at":"2024-05-03T11:28:52+08:00","updated_at":"2024-05-03T11:28:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932","variant_ids":[41881382617187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126204-SB19","featured_media":{"alt":null,"id":23875779362915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6976326752df609803c4cd0fdc9ed7fca767a85d_ee87ea46-63ce-4126-b041-05d0583c29ce.webp?v=1714706932"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881382846563,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470874394723,"product_id":7407984148579,"position":5,"created_at":"2024-05-03T11:28:50+08:00","updated_at":"2024-05-03T11:28:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930","variant_ids":[41881382846563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB01262J5-SB19","featured_media":{"alt":null,"id":23875778117731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4deb8e1cfe183fdeaa137f590df8677593aae372_e51f12c2-ec51-440b-b5a3-49bea520d9a1.webp?v=1714706930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881382551651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31470871707747,"product_id":7407984148579,"position":2,"created_at":"2024-05-03T11:28:43+08:00","updated_at":"2024-05-03T11:28:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923","variant_ids":[41881382551651]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126224-SB19","featured_media":{"alt":null,"id":23875776348259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34088f807e57f70368f4aaed2e384f9e1154c765_3a575a51-83cf-4da5-b34f-3ead2e794ef7.webp?v=1714706923"}},"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: "停產"
}