$product = {"id":7407810969699,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 復古版","handle":"iphone-14-pro-mod-nx-printable-sb01","description":null,"published_at":"2024-06-11T16:23:29+08:00","created_at":"2024-05-03T10:54:00+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":41879099703395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470417444963,"product_id":7407810969699,"position":1,"created_at":"2024-05-03T10:54:02+08:00","updated_at":"2024-05-03T10:54:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842","variant_ids":[41879099703395]},"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-SB01","featured_media":{"alt":null,"id":23875320774755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879099768931,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470424424547,"product_id":7407810969699,"position":4,"created_at":"2024-05-03T10:54:10+08:00","updated_at":"2024-05-03T10:54:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850","variant_ids":[41879099768931]},"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-SB01","featured_media":{"alt":null,"id":23875321823331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879100031075,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470418755683,"product_id":7407810969699,"position":3,"created_at":"2024-05-03T10:54:08+08:00","updated_at":"2024-05-03T10:54:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848","variant_ids":[41879100031075]},"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-SB01","featured_media":{"alt":null,"id":23875321462883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4010e31a2ef157556918b99a3b8b9d211b8cee2_10eb7efd-7db6-4033-bb52-2acd49986d07.webp?v=1714704845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2588973b414cf4926c6ee2091da2b02b0443538c_b554760f-bd3a-4c24-bb42-03be61ffbaab.webp?v=1714704852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1017062ff05a6d6a4cac1a6f59098d4651425414_fce1d42d-368f-4479-b72d-24193f57b4ef.webp?v=1714704854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9fd089be4f04bba4511b8c314b97d4cfc0b74b_9e05e7a1-8079-4286-bce6-ee5ef2a1aa78.webp?v=1714704857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02c1f80fe3b11de87049e19515a794079eb6388a_02f7e2ca-2ff6-4b1e-908d-aaa1c10230f8.webp?v=1714704859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f0131a5cb5048933927abdbb33e835415997a5_f7765357-b8ee-4c3a-9221-5560e53163d7.webp?v=1714704861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa533a3dc38547748823d31e7a148dd95d0fa1eb_e494e789-417d-4139-af09-bdb72303f09c.webp?v=1714704865"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842","options":["color"],"media":[{"alt":null,"id":23875320774755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842","width":2000},{"alt":null,"id":23875321004131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4010e31a2ef157556918b99a3b8b9d211b8cee2_10eb7efd-7db6-4033-bb52-2acd49986d07.webp?v=1714704845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4010e31a2ef157556918b99a3b8b9d211b8cee2_10eb7efd-7db6-4033-bb52-2acd49986d07.webp?v=1714704845","width":2000},{"alt":null,"id":23875321462883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848","width":2000},{"alt":null,"id":23875321823331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850","width":2000},{"alt":null,"id":23875327918179,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2588973b414cf4926c6ee2091da2b02b0443538c_b554760f-bd3a-4c24-bb42-03be61ffbaab.webp?v=1714704852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2588973b414cf4926c6ee2091da2b02b0443538c_b554760f-bd3a-4c24-bb42-03be61ffbaab.webp?v=1714704852","width":2000},{"alt":null,"id":23875328573539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1017062ff05a6d6a4cac1a6f59098d4651425414_fce1d42d-368f-4479-b72d-24193f57b4ef.webp?v=1714704854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1017062ff05a6d6a4cac1a6f59098d4651425414_fce1d42d-368f-4479-b72d-24193f57b4ef.webp?v=1714704854","width":2000},{"alt":null,"id":23875328933987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9fd089be4f04bba4511b8c314b97d4cfc0b74b_9e05e7a1-8079-4286-bce6-ee5ef2a1aa78.webp?v=1714704857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9fd089be4f04bba4511b8c314b97d4cfc0b74b_9e05e7a1-8079-4286-bce6-ee5ef2a1aa78.webp?v=1714704857","width":2000},{"alt":null,"id":23875329294435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02c1f80fe3b11de87049e19515a794079eb6388a_02f7e2ca-2ff6-4b1e-908d-aaa1c10230f8.webp?v=1714704859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02c1f80fe3b11de87049e19515a794079eb6388a_02f7e2ca-2ff6-4b1e-908d-aaa1c10230f8.webp?v=1714704859","width":2000},{"alt":null,"id":23875329720419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f0131a5cb5048933927abdbb33e835415997a5_f7765357-b8ee-4c3a-9221-5560e53163d7.webp?v=1714704861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f0131a5cb5048933927abdbb33e835415997a5_f7765357-b8ee-4c3a-9221-5560e53163d7.webp?v=1714704861","width":2000},{"alt":null,"id":23875330343011,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa533a3dc38547748823d31e7a148dd95d0fa1eb_e494e789-417d-4139-af09-bdb72303f09c.webp?v=1714704865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa533a3dc38547748823d31e7a148dd95d0fa1eb_e494e789-417d-4139-af09-bdb72303f09c.webp?v=1714704865","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879099703395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470417444963,"product_id":7407810969699,"position":1,"created_at":"2024-05-03T10:54:02+08:00","updated_at":"2024-05-03T10:54:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842","variant_ids":[41879099703395]},"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-SB01","featured_media":{"alt":null,"id":23875320774755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879099768931,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470424424547,"product_id":7407810969699,"position":4,"created_at":"2024-05-03T10:54:10+08:00","updated_at":"2024-05-03T10:54:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850","variant_ids":[41879099768931]},"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-SB01","featured_media":{"alt":null,"id":23875321823331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfae2838f68bcc6f3ec4b9f7c7d1d7577ff29a3d_e65ab47b-f39f-4454-a6b3-f1850fbef0e7.webp?v=1714704850"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879100031075,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470418755683,"product_id":7407810969699,"position":3,"created_at":"2024-05-03T10:54:08+08:00","updated_at":"2024-05-03T10:54:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848","variant_ids":[41879100031075]},"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-SB01","featured_media":{"alt":null,"id":23875321462883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82beff7907e270e441108e3e3260bbf7a170a5e9_802ff0cb-d4f7-45e0-afb8-8da1c9d9ab05.webp?v=1714704848"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879099703395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470417444963,"product_id":7407810969699,"position":1,"created_at":"2024-05-03T10:54:02+08:00","updated_at":"2024-05-03T10:54:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842","variant_ids":[41879099703395]},"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-SB01","featured_media":{"alt":null,"id":23875320774755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad049095c30e76d972a6f5844be9d921048ba9d9_0a2e0397-166b-490f-8089-29bca62d3e01.webp?v=1714704842"}},"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: "停產"
}