Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 加納利群島在看
$product = {"id":7415027073123,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 加納利群島在看","handle":"iphone-12-mini-mod-nx-magsafe-printable-af08","description":null,"published_at":"2024-06-11T17:56:00+08:00","created_at":"2024-05-05T20:09:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-look","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":41911090610275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31487963791459,"product_id":7415027073123,"position":3,"created_at":"2024-05-05T20:09:14+08:00","updated_at":"2024-05-05T20:09:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954","variant_ids":[41911090610275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 加納利群島在看 - 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-AF08","featured_media":{"alt":null,"id":23893308080227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea8cf1556df2354231fb03dd8fc7996e386eb9_7b81aecc-6786-4861-b03d-cf6b0961c39d.webp?v=1714910949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33f64521b94419755d6f087e55202c7d7ccc428_4316b30d-4820-44e5-bda7-87d896afbd71.webp?v=1714910952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fccc9c54a362000abbaa96a02e1f3b09c1c2f82b_00e25d87-6a9a-46de-8e18-ac8c3c71be21.webp?v=1714910957","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d278c57cdfa55fa35c2696b0eb5c1b6e559d29f1_485d9158-b9eb-497f-9505-b992badf4b1a.webp?v=1714910959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/051ee77e8295a9eaf2b7e86d9c31ce6187789c44_5d80e197-a0ff-40e2-a2f8-7d11ea44e43d.webp?v=1714910962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c0285295bd8f3514d36157f6c02759f64d90a50_4a17c01d-3039-4f3e-9b44-ef85345de4f4.webp?v=1714910964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea835118eaba9085ec1c59dbbdaf3f9ee06f7315_caef87e9-8c75-4977-95c2-1fa4cd9a511f.webp?v=1714910967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4cafed99c3d6dd48bc2da87789d4df7e91f5c61_0efbcbf9-2c9d-4018-9988-1536df04b7c1.webp?v=1714910969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28bccdd56fae8d495f3058ec8c89130c04ad3de2_8c356b9e-a9ce-4932-8d18-e2a95ae57794.webp?v=1714910972","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d32f4a5e01128aec8440abd6cbef6f862203df_ceff8358-72ec-4804-adaa-dc751cdb5922.webp?v=1714910974"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea8cf1556df2354231fb03dd8fc7996e386eb9_7b81aecc-6786-4861-b03d-cf6b0961c39d.webp?v=1714910949","options":["color"],"media":[{"alt":null,"id":23893306900579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea8cf1556df2354231fb03dd8fc7996e386eb9_7b81aecc-6786-4861-b03d-cf6b0961c39d.webp?v=1714910949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea8cf1556df2354231fb03dd8fc7996e386eb9_7b81aecc-6786-4861-b03d-cf6b0961c39d.webp?v=1714910949","width":2000},{"alt":null,"id":23893307555939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33f64521b94419755d6f087e55202c7d7ccc428_4316b30d-4820-44e5-bda7-87d896afbd71.webp?v=1714910952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33f64521b94419755d6f087e55202c7d7ccc428_4316b30d-4820-44e5-bda7-87d896afbd71.webp?v=1714910952","width":2000},{"alt":null,"id":23893308080227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954","width":2000},{"alt":null,"id":23893308440675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fccc9c54a362000abbaa96a02e1f3b09c1c2f82b_00e25d87-6a9a-46de-8e18-ac8c3c71be21.webp?v=1714910957"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fccc9c54a362000abbaa96a02e1f3b09c1c2f82b_00e25d87-6a9a-46de-8e18-ac8c3c71be21.webp?v=1714910957","width":2000},{"alt":null,"id":23893308964963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d278c57cdfa55fa35c2696b0eb5c1b6e559d29f1_485d9158-b9eb-497f-9505-b992badf4b1a.webp?v=1714910959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d278c57cdfa55fa35c2696b0eb5c1b6e559d29f1_485d9158-b9eb-497f-9505-b992badf4b1a.webp?v=1714910959","width":2000},{"alt":null,"id":23893309718627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/051ee77e8295a9eaf2b7e86d9c31ce6187789c44_5d80e197-a0ff-40e2-a2f8-7d11ea44e43d.webp?v=1714910962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/051ee77e8295a9eaf2b7e86d9c31ce6187789c44_5d80e197-a0ff-40e2-a2f8-7d11ea44e43d.webp?v=1714910962","width":2000},{"alt":null,"id":23893310373987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c0285295bd8f3514d36157f6c02759f64d90a50_4a17c01d-3039-4f3e-9b44-ef85345de4f4.webp?v=1714910964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c0285295bd8f3514d36157f6c02759f64d90a50_4a17c01d-3039-4f3e-9b44-ef85345de4f4.webp?v=1714910964","width":2000},{"alt":null,"id":23893311094883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea835118eaba9085ec1c59dbbdaf3f9ee06f7315_caef87e9-8c75-4977-95c2-1fa4cd9a511f.webp?v=1714910967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea835118eaba9085ec1c59dbbdaf3f9ee06f7315_caef87e9-8c75-4977-95c2-1fa4cd9a511f.webp?v=1714910967","width":2000},{"alt":null,"id":23893311750243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4cafed99c3d6dd48bc2da87789d4df7e91f5c61_0efbcbf9-2c9d-4018-9988-1536df04b7c1.webp?v=1714910969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4cafed99c3d6dd48bc2da87789d4df7e91f5c61_0efbcbf9-2c9d-4018-9988-1536df04b7c1.webp?v=1714910969","width":2000},{"alt":null,"id":23893312208995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28bccdd56fae8d495f3058ec8c89130c04ad3de2_8c356b9e-a9ce-4932-8d18-e2a95ae57794.webp?v=1714910972"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28bccdd56fae8d495f3058ec8c89130c04ad3de2_8c356b9e-a9ce-4932-8d18-e2a95ae57794.webp?v=1714910972","width":2000},{"alt":null,"id":23893312569443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d32f4a5e01128aec8440abd6cbef6f862203df_ceff8358-72ec-4804-adaa-dc751cdb5922.webp?v=1714910974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d32f4a5e01128aec8440abd6cbef6f862203df_ceff8358-72ec-4804-adaa-dc751cdb5922.webp?v=1714910974","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911090610275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31487963791459,"product_id":7415027073123,"position":3,"created_at":"2024-05-05T20:09:14+08:00","updated_at":"2024-05-05T20:09:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954","variant_ids":[41911090610275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 加納利群島在看 - 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-AF08","featured_media":{"alt":null,"id":23893308080227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911090610275,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31487963791459,"product_id":7415027073123,"position":3,"created_at":"2024-05-05T20:09:14+08:00","updated_at":"2024-05-05T20:09:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954","variant_ids":[41911090610275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 加納利群島在看 - 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-AF08","featured_media":{"alt":null,"id":23893308080227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93adab4774bd5afac55981faed48f9545edcbc1c_13526eb1-983c-4665-a3b8-718468ef87a7.webp?v=1714910954"}},"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: "停產"
}