$product = {"id":7414008479843,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款","handle":"iphone-13-mini-mod-nx-magsafe-printable-sb04","description":null,"published_at":"2024-06-11T17:47:34+08:00","created_at":"2024-05-05T13:59:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41903271215203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484448407651,"product_id":7414008479843,"position":7,"created_at":"2024-05-05T14:00:17+08:00","updated_at":"2024-05-05T14:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817","variant_ids":[41903271215203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-SB04","featured_media":{"alt":null,"id":23889742528611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903271280739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484445655139,"product_id":7414008479843,"position":2,"created_at":"2024-05-05T14:00:05+08:00","updated_at":"2024-05-05T14:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805","variant_ids":[41903271280739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-SB04","featured_media":{"alt":null,"id":23889739710563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903271608419,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484448931939,"product_id":7414008479843,"position":8,"created_at":"2024-05-05T14:00:20+08:00","updated_at":"2024-05-05T14:00:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820","variant_ids":[41903271608419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-SB04","featured_media":{"alt":null,"id":23889742987363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2061c234f75aa82020e76c7130603d4e8959bc51_85d1430c-9524-4c57-b6f7-22c81852585b.webp?v=1714888802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bd02d6b62234a33d3503bc5a8b017340ba74023_e9697813-4810-47d0-aa8e-09358b7c84f9.webp?v=1714888807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf1fe311ae49b483102f2da59787118a07f1ec1_6db01368-1878-485a-a7d1-53e4d5cc55b1.webp?v=1714888810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda649308550c2e8a7f3804248fb7b011016983a_d77b2ec5-684e-4e80-a6ca-50df8188212b.webp?v=1714888812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9427c3bbbe398c885ff3ccec5ba2bc1bce47ec61_1d6917e8-ce9f-4334-91b3-00d49aaec750.webp?v=1714888815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/466abda03b7d21085f238a9ed7cfe2c9bf9054e0_66418427-cc95-453c-8e6b-cb732fcc873e.webp?v=1714888823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8621f61c5092774170100eeb541f373fc52ca2d_de8c35bf-6874-4682-9b80-e4a9c071c538.webp?v=1714888825"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2061c234f75aa82020e76c7130603d4e8959bc51_85d1430c-9524-4c57-b6f7-22c81852585b.webp?v=1714888802","options":["color"],"media":[{"alt":null,"id":23889739186275,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2061c234f75aa82020e76c7130603d4e8959bc51_85d1430c-9524-4c57-b6f7-22c81852585b.webp?v=1714888802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2061c234f75aa82020e76c7130603d4e8959bc51_85d1430c-9524-4c57-b6f7-22c81852585b.webp?v=1714888802","width":2000},{"alt":null,"id":23889739710563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805","width":2000},{"alt":null,"id":23889740365923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bd02d6b62234a33d3503bc5a8b017340ba74023_e9697813-4810-47d0-aa8e-09358b7c84f9.webp?v=1714888807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bd02d6b62234a33d3503bc5a8b017340ba74023_e9697813-4810-47d0-aa8e-09358b7c84f9.webp?v=1714888807","width":2000},{"alt":null,"id":23889740824675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf1fe311ae49b483102f2da59787118a07f1ec1_6db01368-1878-485a-a7d1-53e4d5cc55b1.webp?v=1714888810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf1fe311ae49b483102f2da59787118a07f1ec1_6db01368-1878-485a-a7d1-53e4d5cc55b1.webp?v=1714888810","width":2000},{"alt":null,"id":23889741381731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda649308550c2e8a7f3804248fb7b011016983a_d77b2ec5-684e-4e80-a6ca-50df8188212b.webp?v=1714888812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda649308550c2e8a7f3804248fb7b011016983a_d77b2ec5-684e-4e80-a6ca-50df8188212b.webp?v=1714888812","width":2000},{"alt":null,"id":23889741840483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9427c3bbbe398c885ff3ccec5ba2bc1bce47ec61_1d6917e8-ce9f-4334-91b3-00d49aaec750.webp?v=1714888815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9427c3bbbe398c885ff3ccec5ba2bc1bce47ec61_1d6917e8-ce9f-4334-91b3-00d49aaec750.webp?v=1714888815","width":2000},{"alt":null,"id":23889742528611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817","width":2000},{"alt":null,"id":23889742987363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820","width":2000},{"alt":null,"id":23889743413347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/466abda03b7d21085f238a9ed7cfe2c9bf9054e0_66418427-cc95-453c-8e6b-cb732fcc873e.webp?v=1714888823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/466abda03b7d21085f238a9ed7cfe2c9bf9054e0_66418427-cc95-453c-8e6b-cb732fcc873e.webp?v=1714888823","width":2000},{"alt":null,"id":23889743839331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8621f61c5092774170100eeb541f373fc52ca2d_de8c35bf-6874-4682-9b80-e4a9c071c538.webp?v=1714888825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8621f61c5092774170100eeb541f373fc52ca2d_de8c35bf-6874-4682-9b80-e4a9c071c538.webp?v=1714888825","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41903271215203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484448407651,"product_id":7414008479843,"position":7,"created_at":"2024-05-05T14:00:17+08:00","updated_at":"2024-05-05T14:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817","variant_ids":[41903271215203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-SB04","featured_media":{"alt":null,"id":23889742528611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903271280739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484445655139,"product_id":7414008479843,"position":2,"created_at":"2024-05-05T14:00:05+08:00","updated_at":"2024-05-05T14:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805","variant_ids":[41903271280739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-SB04","featured_media":{"alt":null,"id":23889739710563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a5fbf7b8e5d0399d7014d530786f60c5becf161_40e5a83a-628d-4406-93fe-275e040e01f1.webp?v=1714888805"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903271608419,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484448931939,"product_id":7414008479843,"position":8,"created_at":"2024-05-05T14:00:20+08:00","updated_at":"2024-05-05T14:00:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820","variant_ids":[41903271608419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-SB04","featured_media":{"alt":null,"id":23889742987363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3044ab055e2342c9d588639afde62c2d2c5aba66_d3e22a55-9488-4096-bcad-dd852ff732c5.webp?v=1714888820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41903271215203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484448407651,"product_id":7414008479843,"position":7,"created_at":"2024-05-05T14:00:17+08:00","updated_at":"2024-05-05T14:00:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817","variant_ids":[41903271215203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - Logo貼紙款 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-SB04","featured_media":{"alt":null,"id":23889742528611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a64de8d166a5e1bb5d0c7bf8f76e5b33701e96d9_cc67162f-7967-4c94-94b4-8277bfda2040.webp?v=1714888817"}},"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: "停產"
}