Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 小丑女圖騰
$product = {"id":7415084712035,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 小丑女圖騰","handle":"iphone-12-mini-mod-nx-magsafe-printable-sb17","description":null,"published_at":"2024-06-11T17:57:33+08:00","created_at":"2024-05-05T20:19:51+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 12 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":41911707500643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31488119406691,"product_id":7415084712035,"position":6,"created_at":"2024-05-05T20:20:06+08:00","updated_at":"2024-05-05T20:20:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606","variant_ids":[41911707500643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 小丑女圖騰 - 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":"MPB0118424-SB17","featured_media":{"alt":null,"id":23893464121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f4eb14e27e01f570b97e1ccb00d374188d376f6_d93461e2-a0c9-4b31-b3ae-369b9a7fbad3.webp?v=1714911594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13571dc5e461acb3cf739ba1447f324a04b2f2ef_8dbf8aa0-1c75-485f-b02b-15b9186f9495.webp?v=1714911596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff06824e7c99180759ecf33e93a132f873731256_7fc443af-7d10-4688-bf1a-bc48a7fb9437.webp?v=1714911599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184c277b201e0316c8c68c31c04cf43684a42d0a_4d302e1d-6165-4a68-895f-8db931d19dd2.webp?v=1714911601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/573e6ef60f2d2b765a5d07ee28069362f88f1f93_7ea59c5d-5fa1-4ac7-abe0-ac9897b61c20.webp?v=1714911604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1035906e24763aca17db7ef130a47210879a0e67_e5f5e602-98cb-4a52-9d74-665d2a3c54aa.webp?v=1714911609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec8c76585e813fa03c0c3b712ec960099174f9ce_b637f585-1fd7-44be-b87a-e4d644b6f5e7.webp?v=1714911611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0bbaa22e8a032a35a80774eceb2a794be876b1_aad14ee4-8520-4aff-a895-aecf1e41055b.webp?v=1714911613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75eb74ec1868de369483a1620774ac4da5b1c794_98ad843c-dece-49e7-8ab9-e4129b67347a.webp?v=1714911616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e27b66cd4811c4b0958a34319824d82c2a1e31c_581d0a4e-7ee4-4ff9-80e3-60a1653d6519.webp?v=1714911618"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f4eb14e27e01f570b97e1ccb00d374188d376f6_d93461e2-a0c9-4b31-b3ae-369b9a7fbad3.webp?v=1714911594","options":["color"],"media":[{"alt":null,"id":23893460713571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f4eb14e27e01f570b97e1ccb00d374188d376f6_d93461e2-a0c9-4b31-b3ae-369b9a7fbad3.webp?v=1714911594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f4eb14e27e01f570b97e1ccb00d374188d376f6_d93461e2-a0c9-4b31-b3ae-369b9a7fbad3.webp?v=1714911594","width":2000},{"alt":null,"id":23893461500003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13571dc5e461acb3cf739ba1447f324a04b2f2ef_8dbf8aa0-1c75-485f-b02b-15b9186f9495.webp?v=1714911596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13571dc5e461acb3cf739ba1447f324a04b2f2ef_8dbf8aa0-1c75-485f-b02b-15b9186f9495.webp?v=1714911596","width":2000},{"alt":null,"id":23893461958755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff06824e7c99180759ecf33e93a132f873731256_7fc443af-7d10-4688-bf1a-bc48a7fb9437.webp?v=1714911599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff06824e7c99180759ecf33e93a132f873731256_7fc443af-7d10-4688-bf1a-bc48a7fb9437.webp?v=1714911599","width":2000},{"alt":null,"id":23893462745187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184c277b201e0316c8c68c31c04cf43684a42d0a_4d302e1d-6165-4a68-895f-8db931d19dd2.webp?v=1714911601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184c277b201e0316c8c68c31c04cf43684a42d0a_4d302e1d-6165-4a68-895f-8db931d19dd2.webp?v=1714911601","width":2000},{"alt":null,"id":23893463695459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/573e6ef60f2d2b765a5d07ee28069362f88f1f93_7ea59c5d-5fa1-4ac7-abe0-ac9897b61c20.webp?v=1714911604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/573e6ef60f2d2b765a5d07ee28069362f88f1f93_7ea59c5d-5fa1-4ac7-abe0-ac9897b61c20.webp?v=1714911604","width":2000},{"alt":null,"id":23893464121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606","width":2000},{"alt":null,"id":23893464580195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1035906e24763aca17db7ef130a47210879a0e67_e5f5e602-98cb-4a52-9d74-665d2a3c54aa.webp?v=1714911609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1035906e24763aca17db7ef130a47210879a0e67_e5f5e602-98cb-4a52-9d74-665d2a3c54aa.webp?v=1714911609","width":2000},{"alt":null,"id":23893465137251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec8c76585e813fa03c0c3b712ec960099174f9ce_b637f585-1fd7-44be-b87a-e4d644b6f5e7.webp?v=1714911611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec8c76585e813fa03c0c3b712ec960099174f9ce_b637f585-1fd7-44be-b87a-e4d644b6f5e7.webp?v=1714911611","width":2000},{"alt":null,"id":23893465923683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0bbaa22e8a032a35a80774eceb2a794be876b1_aad14ee4-8520-4aff-a895-aecf1e41055b.webp?v=1714911613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0bbaa22e8a032a35a80774eceb2a794be876b1_aad14ee4-8520-4aff-a895-aecf1e41055b.webp?v=1714911613","width":2000},{"alt":null,"id":23893466513507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75eb74ec1868de369483a1620774ac4da5b1c794_98ad843c-dece-49e7-8ab9-e4129b67347a.webp?v=1714911616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75eb74ec1868de369483a1620774ac4da5b1c794_98ad843c-dece-49e7-8ab9-e4129b67347a.webp?v=1714911616","width":2000},{"alt":null,"id":23893467037795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e27b66cd4811c4b0958a34319824d82c2a1e31c_581d0a4e-7ee4-4ff9-80e3-60a1653d6519.webp?v=1714911618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e27b66cd4811c4b0958a34319824d82c2a1e31c_581d0a4e-7ee4-4ff9-80e3-60a1653d6519.webp?v=1714911618","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911707500643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31488119406691,"product_id":7415084712035,"position":6,"created_at":"2024-05-05T20:20:06+08:00","updated_at":"2024-05-05T20:20:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606","variant_ids":[41911707500643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 小丑女圖騰 - 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":"MPB0118424-SB17","featured_media":{"alt":null,"id":23893464121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911707500643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31488119406691,"product_id":7415084712035,"position":6,"created_at":"2024-05-05T20:20:06+08:00","updated_at":"2024-05-05T20:20:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606","variant_ids":[41911707500643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Batman - 小丑女圖騰 - 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":"MPB0118424-SB17","featured_media":{"alt":null,"id":23893464121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e31bb54a19dacd87c1c00ef5f6ed2d8ed2bf4a0_cedbb449-a6ae-47c8-8b16-2a4ec15b3547.webp?v=1714911606"}},"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: "停產"
}