Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 在幹嘛
$product = {"id":7414982934627,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 在幹嘛","handle":"iphone-12-mini-mod-nx-magsafe-printable-iv06","description":null,"published_at":"2024-06-11T17:54:49+08:00","created_at":"2024-05-05T20:00:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-1chun","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":41910611148899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31487843205219,"product_id":7414982934627,"position":2,"created_at":"2024-05-05T20:00:39+08:00","updated_at":"2024-05-05T20:00:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439","variant_ids":[41910611148899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-IV06","featured_media":{"alt":null,"id":23893187231843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c659e0fa6c908995e359b310ff664698d96ddf_adfbeb37-324e-4378-b78e-2e8eab16ba51.webp?v=1714910437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425030f0c4b715cb62134ce15299736f72d756fd_a76ab2ad-ab1e-4e19-842c-a131816cf9b6.webp?v=1714910441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73436ffbfdf7177a8bc8c0bdb7b93a5d3477d73_8ccd5ca7-1b56-4731-854c-3d44a4afdf2e.webp?v=1714910444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b104a4f60c302c5001afef4ef23e7a57967513e8_64b9b8f5-7ed9-4c3e-9b6a-f1ca29c69b71.webp?v=1714910447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab6d53b0cd89c83dc6932b6b85f293f558e346d_b1eabd53-05f4-4389-8927-810c20bdd8ca.webp?v=1714910450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e793c20b7963186b9b22a1491f746f237dbfddbd_a267120b-61af-4f3a-8b42-0a6a7ccb0ee3.webp?v=1714910452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fbe58de6193b5d6420c9a8916a004aeca56535d_96d37a98-5861-40a0-998c-310c8aaad53f.webp?v=1714910454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9fb1c0181a50d13a049319b2fa61ddd5d21d67_92a2d149-5cf5-4470-ac33-53ec0c3432ba.webp?v=1714910457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9229a2b47be87d0806d295cc658848e2600797f_45961c17-b5c9-4fb2-98fa-754fc1950e37.webp?v=1714910459","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c8286662dfa4b6a2f1cee86aef8bfaab3490c10_432c9edd-b746-4cf3-b5de-0ac869291e0e.webp?v=1714910462"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c659e0fa6c908995e359b310ff664698d96ddf_adfbeb37-324e-4378-b78e-2e8eab16ba51.webp?v=1714910437","options":["color"],"media":[{"alt":null,"id":23893186707555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c659e0fa6c908995e359b310ff664698d96ddf_adfbeb37-324e-4378-b78e-2e8eab16ba51.webp?v=1714910437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5c659e0fa6c908995e359b310ff664698d96ddf_adfbeb37-324e-4378-b78e-2e8eab16ba51.webp?v=1714910437","width":2000},{"alt":null,"id":23893187231843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439","width":2000},{"alt":null,"id":23893187985507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425030f0c4b715cb62134ce15299736f72d756fd_a76ab2ad-ab1e-4e19-842c-a131816cf9b6.webp?v=1714910441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/425030f0c4b715cb62134ce15299736f72d756fd_a76ab2ad-ab1e-4e19-842c-a131816cf9b6.webp?v=1714910441","width":2000},{"alt":null,"id":23893188608099,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73436ffbfdf7177a8bc8c0bdb7b93a5d3477d73_8ccd5ca7-1b56-4731-854c-3d44a4afdf2e.webp?v=1714910444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73436ffbfdf7177a8bc8c0bdb7b93a5d3477d73_8ccd5ca7-1b56-4731-854c-3d44a4afdf2e.webp?v=1714910444","width":2000},{"alt":null,"id":23893189394531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b104a4f60c302c5001afef4ef23e7a57967513e8_64b9b8f5-7ed9-4c3e-9b6a-f1ca29c69b71.webp?v=1714910447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b104a4f60c302c5001afef4ef23e7a57967513e8_64b9b8f5-7ed9-4c3e-9b6a-f1ca29c69b71.webp?v=1714910447","width":2000},{"alt":null,"id":23893190213731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab6d53b0cd89c83dc6932b6b85f293f558e346d_b1eabd53-05f4-4389-8927-810c20bdd8ca.webp?v=1714910450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab6d53b0cd89c83dc6932b6b85f293f558e346d_b1eabd53-05f4-4389-8927-810c20bdd8ca.webp?v=1714910450","width":2000},{"alt":null,"id":23893190770787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e793c20b7963186b9b22a1491f746f237dbfddbd_a267120b-61af-4f3a-8b42-0a6a7ccb0ee3.webp?v=1714910452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e793c20b7963186b9b22a1491f746f237dbfddbd_a267120b-61af-4f3a-8b42-0a6a7ccb0ee3.webp?v=1714910452","width":2000},{"alt":null,"id":23893191360611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fbe58de6193b5d6420c9a8916a004aeca56535d_96d37a98-5861-40a0-998c-310c8aaad53f.webp?v=1714910454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fbe58de6193b5d6420c9a8916a004aeca56535d_96d37a98-5861-40a0-998c-310c8aaad53f.webp?v=1714910454","width":2000},{"alt":null,"id":23893191917667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9fb1c0181a50d13a049319b2fa61ddd5d21d67_92a2d149-5cf5-4470-ac33-53ec0c3432ba.webp?v=1714910457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9fb1c0181a50d13a049319b2fa61ddd5d21d67_92a2d149-5cf5-4470-ac33-53ec0c3432ba.webp?v=1714910457","width":2000},{"alt":null,"id":23893192867939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9229a2b47be87d0806d295cc658848e2600797f_45961c17-b5c9-4fb2-98fa-754fc1950e37.webp?v=1714910459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9229a2b47be87d0806d295cc658848e2600797f_45961c17-b5c9-4fb2-98fa-754fc1950e37.webp?v=1714910459","width":2000},{"alt":null,"id":23893193523299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c8286662dfa4b6a2f1cee86aef8bfaab3490c10_432c9edd-b746-4cf3-b5de-0ac869291e0e.webp?v=1714910462"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c8286662dfa4b6a2f1cee86aef8bfaab3490c10_432c9edd-b746-4cf3-b5de-0ac869291e0e.webp?v=1714910462","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910611148899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31487843205219,"product_id":7414982934627,"position":2,"created_at":"2024-05-05T20:00:39+08:00","updated_at":"2024-05-05T20:00:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439","variant_ids":[41910611148899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-IV06","featured_media":{"alt":null,"id":23893187231843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910611148899,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31487843205219,"product_id":7414982934627,"position":2,"created_at":"2024-05-05T20:00:39+08:00","updated_at":"2024-05-05T20:00:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439","variant_ids":[41910611148899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-IV06","featured_media":{"alt":null,"id":23893187231843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cf8eb3fe82da3c8504243ed8ea95be879199d_81d266c1-9095-4fd8-8011-39b3e49a6e86.webp?v=1714910439"}},"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: "停產"
}