$product = {"id":7407934144611,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 蝙蝠車","handle":"iphone-14-pro-mod-nx-printable-sb05","description":null,"published_at":"2024-06-11T16:26:57+08:00","created_at":"2024-05-03T11:18:49+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":41880722407523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739816547,"product_id":7407934144611,"position":9,"created_at":"2024-05-03T11:19:10+08:00","updated_at":"2024-05-03T11:19:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350","variant_ids":[41880722407523]},"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-SB05","featured_media":{"alt":null,"id":23875643965539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880722538595,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470736441443,"product_id":7407934144611,"position":3,"created_at":"2024-05-03T11:18:56+08:00","updated_at":"2024-05-03T11:18:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336","variant_ids":[41880722538595]},"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-SB05","featured_media":{"alt":null,"id":23875640492131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880722800739,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739423331,"product_id":7407934144611,"position":8,"created_at":"2024-05-03T11:19:08+08:00","updated_at":"2024-05-03T11:19:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348","variant_ids":[41880722800739]},"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-SB05","featured_media":{"alt":null,"id":23875643605091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0ad40c9ff12e2c68fa097aa5aa0a1d706c1e41_2af770ac-45dd-473c-8df8-4a1951a07403.webp?v=1714706331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e36fbbe5412591096b90db9ade5fa5b0d276d63_5420973f-6d6b-4257-a84f-d460e1ef2f01.webp?v=1714706334","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2acadf457cf30a7e942f85a9cf8d3b19553ef4f5_1ee05dc5-e13b-49a7-bcda-0c83629412e6.webp?v=1714706338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc2942300f40d6bbb2875445aed1eccf8228b034_0b6a0557-205a-4e58-9aa1-495cc3846fff.webp?v=1714706341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425c245f39b94b70bde185b6822b913688337c31_913a2da3-d6d0-476f-bcd3-f85d53d25e9e.webp?v=1714706343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dff711e608d3ada56cc0ce5abaa81b13e3bc872_4c71470c-1aff-4473-b4de-90abed42088c.webp?v=1714706346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4fb0ced6b8f50639f5e99085f00fd422130067b_93f2caa9-5df1-4069-b9a1-d4a1ed080db0.webp?v=1714706352"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0ad40c9ff12e2c68fa097aa5aa0a1d706c1e41_2af770ac-45dd-473c-8df8-4a1951a07403.webp?v=1714706331","options":["color"],"media":[{"alt":null,"id":23875639574627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0ad40c9ff12e2c68fa097aa5aa0a1d706c1e41_2af770ac-45dd-473c-8df8-4a1951a07403.webp?v=1714706331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0ad40c9ff12e2c68fa097aa5aa0a1d706c1e41_2af770ac-45dd-473c-8df8-4a1951a07403.webp?v=1714706331","width":2000},{"alt":null,"id":23875640033379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e36fbbe5412591096b90db9ade5fa5b0d276d63_5420973f-6d6b-4257-a84f-d460e1ef2f01.webp?v=1714706334"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e36fbbe5412591096b90db9ade5fa5b0d276d63_5420973f-6d6b-4257-a84f-d460e1ef2f01.webp?v=1714706334","width":2000},{"alt":null,"id":23875640492131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336","width":2000},{"alt":null,"id":23875641081955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2acadf457cf30a7e942f85a9cf8d3b19553ef4f5_1ee05dc5-e13b-49a7-bcda-0c83629412e6.webp?v=1714706338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2acadf457cf30a7e942f85a9cf8d3b19553ef4f5_1ee05dc5-e13b-49a7-bcda-0c83629412e6.webp?v=1714706338","width":2000},{"alt":null,"id":23875641737315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc2942300f40d6bbb2875445aed1eccf8228b034_0b6a0557-205a-4e58-9aa1-495cc3846fff.webp?v=1714706341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc2942300f40d6bbb2875445aed1eccf8228b034_0b6a0557-205a-4e58-9aa1-495cc3846fff.webp?v=1714706341","width":2000},{"alt":null,"id":23875642327139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425c245f39b94b70bde185b6822b913688337c31_913a2da3-d6d0-476f-bcd3-f85d53d25e9e.webp?v=1714706343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425c245f39b94b70bde185b6822b913688337c31_913a2da3-d6d0-476f-bcd3-f85d53d25e9e.webp?v=1714706343","width":2000},{"alt":null,"id":23875642884195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dff711e608d3ada56cc0ce5abaa81b13e3bc872_4c71470c-1aff-4473-b4de-90abed42088c.webp?v=1714706346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dff711e608d3ada56cc0ce5abaa81b13e3bc872_4c71470c-1aff-4473-b4de-90abed42088c.webp?v=1714706346","width":2000},{"alt":null,"id":23875643605091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348","width":2000},{"alt":null,"id":23875643965539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350","width":2000},{"alt":null,"id":23875644489827,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4fb0ced6b8f50639f5e99085f00fd422130067b_93f2caa9-5df1-4069-b9a1-d4a1ed080db0.webp?v=1714706352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4fb0ced6b8f50639f5e99085f00fd422130067b_93f2caa9-5df1-4069-b9a1-d4a1ed080db0.webp?v=1714706352","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41880722407523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739816547,"product_id":7407934144611,"position":9,"created_at":"2024-05-03T11:19:10+08:00","updated_at":"2024-05-03T11:19:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350","variant_ids":[41880722407523]},"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-SB05","featured_media":{"alt":null,"id":23875643965539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880722538595,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470736441443,"product_id":7407934144611,"position":3,"created_at":"2024-05-03T11:18:56+08:00","updated_at":"2024-05-03T11:18:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336","variant_ids":[41880722538595]},"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-SB05","featured_media":{"alt":null,"id":23875640492131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d531851f1802aeb73aef597c02982852547ed49_08615577-f4ce-48f0-8f54-a3146a32d1b0.webp?v=1714706336"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880722800739,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739423331,"product_id":7407934144611,"position":8,"created_at":"2024-05-03T11:19:08+08:00","updated_at":"2024-05-03T11:19:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348","variant_ids":[41880722800739]},"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-SB05","featured_media":{"alt":null,"id":23875643605091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d7ca0875435ac7f7a96ddebbe36d5f842ca897_53ec51c3-8500-4ade-bfc9-e44ca204a00e.webp?v=1714706348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41880722407523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470739816547,"product_id":7407934144611,"position":9,"created_at":"2024-05-03T11:19:10+08:00","updated_at":"2024-05-03T11:19:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350","variant_ids":[41880722407523]},"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-SB05","featured_media":{"alt":null,"id":23875643965539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6a4547c09b48f42c37e08e49df1a2f110f29b26_69113175-e07e-4c38-8aaa-13a969a7f144.webp?v=1714706350"}},"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: "停產"
}