$product = {"id":7408216637539,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo","handle":"iphone-13-mini-mod-nx-printable-sb11","description":null,"published_at":"2024-06-11T16:34:30+08:00","created_at":"2024-05-03T12:22: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 13 mini","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":41883964080227,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471500329059,"product_id":7408216637539,"position":6,"created_at":"2024-05-03T12:23:03+08:00","updated_at":"2024-05-03T12:23:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183","variant_ids":[41883964080227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB0122824-SB11","featured_media":{"alt":null,"id":23876406771811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883964145763,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471498592355,"product_id":7408216637539,"position":2,"created_at":"2024-05-03T12:22:54+08:00","updated_at":"2024-05-03T12:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174","variant_ids":[41883964145763]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB0122804-SB11","featured_media":{"alt":null,"id":23876405035107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883964375139,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471499935843,"product_id":7408216637539,"position":5,"created_at":"2024-05-03T12:23:01+08:00","updated_at":"2024-05-03T12:23:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181","variant_ids":[41883964375139]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB01228J5-SB11","featured_media":{"alt":null,"id":23876406411363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0baef6ad0da36c96a95cee1ca5084a28c23d43c9_546a2661-fa38-4b18-81c2-dda267767182.webp?v=1714710172","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f9107ff01cdfca593dcb1c3423f58d39db0e98f_28caeeba-f797-4874-a3e6-2d50e523f86c.webp?v=1714710176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38d4d492c65a6eed0d2ee4f1ab74abad4dbb60d_7180d041-ebef-4f3b-84c3-42f99282fa8e.webp?v=1714710178","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d805348cee1c6d379fa64949cee6aa29f539960_049363bd-e66a-4d36-a411-53ef6521f51d.webp?v=1714710185","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f78db877088cf03394a0512869a75953fdf1021_c6e0c060-f9f3-44fd-aa52-386f11e7d5a4.webp?v=1714710188","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca27443994ae2412e8b3f6d550332876efbccf4_2e364b7a-5dea-4eb7-89ff-c526c21f029e.webp?v=1714710190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f714522854b582714c78bb5f639e436a8e74b4_71ef7243-7d40-41c4-bf9e-99992605f265.webp?v=1714710193"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0baef6ad0da36c96a95cee1ca5084a28c23d43c9_546a2661-fa38-4b18-81c2-dda267767182.webp?v=1714710172","options":["color"],"media":[{"alt":null,"id":23876404641891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0baef6ad0da36c96a95cee1ca5084a28c23d43c9_546a2661-fa38-4b18-81c2-dda267767182.webp?v=1714710172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0baef6ad0da36c96a95cee1ca5084a28c23d43c9_546a2661-fa38-4b18-81c2-dda267767182.webp?v=1714710172","width":2000},{"alt":null,"id":23876405035107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174","width":2000},{"alt":null,"id":23876405428323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f9107ff01cdfca593dcb1c3423f58d39db0e98f_28caeeba-f797-4874-a3e6-2d50e523f86c.webp?v=1714710176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f9107ff01cdfca593dcb1c3423f58d39db0e98f_28caeeba-f797-4874-a3e6-2d50e523f86c.webp?v=1714710176","width":2000},{"alt":null,"id":23876405985379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38d4d492c65a6eed0d2ee4f1ab74abad4dbb60d_7180d041-ebef-4f3b-84c3-42f99282fa8e.webp?v=1714710178"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38d4d492c65a6eed0d2ee4f1ab74abad4dbb60d_7180d041-ebef-4f3b-84c3-42f99282fa8e.webp?v=1714710178","width":2000},{"alt":null,"id":23876406411363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181","width":2000},{"alt":null,"id":23876406771811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183","width":2000},{"alt":null,"id":23876407197795,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d805348cee1c6d379fa64949cee6aa29f539960_049363bd-e66a-4d36-a411-53ef6521f51d.webp?v=1714710185"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d805348cee1c6d379fa64949cee6aa29f539960_049363bd-e66a-4d36-a411-53ef6521f51d.webp?v=1714710185","width":2000},{"alt":null,"id":23876407853155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f78db877088cf03394a0512869a75953fdf1021_c6e0c060-f9f3-44fd-aa52-386f11e7d5a4.webp?v=1714710188"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f78db877088cf03394a0512869a75953fdf1021_c6e0c060-f9f3-44fd-aa52-386f11e7d5a4.webp?v=1714710188","width":2000},{"alt":null,"id":23876408213603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca27443994ae2412e8b3f6d550332876efbccf4_2e364b7a-5dea-4eb7-89ff-c526c21f029e.webp?v=1714710190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca27443994ae2412e8b3f6d550332876efbccf4_2e364b7a-5dea-4eb7-89ff-c526c21f029e.webp?v=1714710190","width":2000},{"alt":null,"id":23876408770659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f714522854b582714c78bb5f639e436a8e74b4_71ef7243-7d40-41c4-bf9e-99992605f265.webp?v=1714710193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86f714522854b582714c78bb5f639e436a8e74b4_71ef7243-7d40-41c4-bf9e-99992605f265.webp?v=1714710193","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41883964080227,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471500329059,"product_id":7408216637539,"position":6,"created_at":"2024-05-03T12:23:03+08:00","updated_at":"2024-05-03T12:23:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183","variant_ids":[41883964080227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB0122824-SB11","featured_media":{"alt":null,"id":23876406771811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883964145763,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471498592355,"product_id":7408216637539,"position":2,"created_at":"2024-05-03T12:22:54+08:00","updated_at":"2024-05-03T12:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174","variant_ids":[41883964145763]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB0122804-SB11","featured_media":{"alt":null,"id":23876405035107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d8160ce4b837379662d1bdf4f64994f8269546_79ce9677-fea9-4ee6-b05d-b59285718f9a.webp?v=1714710174"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883964375139,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471499935843,"product_id":7408216637539,"position":5,"created_at":"2024-05-03T12:23:01+08:00","updated_at":"2024-05-03T12:23:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181","variant_ids":[41883964375139]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB01228J5-SB11","featured_media":{"alt":null,"id":23876406411363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3bde70afbef39687677acda1c631157bfebe63_6e69f4fb-9268-474b-8ef2-9b00227873d9.webp?v=1714710181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883964080227,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471500329059,"product_id":7408216637539,"position":6,"created_at":"2024-05-03T12:23:03+08:00","updated_at":"2024-05-03T12:23:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183","variant_ids":[41883964080227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 經典Logo - 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":"NPB0122824-SB11","featured_media":{"alt":null,"id":23876406771811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5873dc11abc59d441dc91837cd2f6442764ef6_111b6e09-933e-4e99-a017-6497052246f8.webp?v=1714710183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}