Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 北極冰川在看
$product = {"id":7415079698531,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 人在做 北極冰川在看","handle":"iphone-12-mini-mod-nx-magsafe-printable-af05","description":null,"published_at":"2024-06-11T17:57:25+08:00","created_at":"2024-05-05T20:18:53+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":41911652909155,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31488106299491,"product_id":7415079698531,"position":7,"created_at":"2024-05-05T20:19:11+08:00","updated_at":"2024-05-05T20:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551","variant_ids":[41911652909155]},"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-AF05","featured_media":{"alt":null,"id":23893450817635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/653b7bcba6b0a66e4ec23ee7a0f2e05bbeb0cb01_4cfc6497-96c5-48a2-9cd7-37a9b9796c7f.webp?v=1714911536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110c5cd1d24f91976df17004e09a6af4e5aa1538_d5c65ad6-3086-48a6-aea1-7cdf3f345719.webp?v=1714911538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5070e2a8a79ff53aad1c8855b96ba60aff8907ba_1831edf0-a4e6-4f73-b3a0-4ada80b342c2.webp?v=1714911541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bfa90ae0b74eac61897f53ca4364b93099ef63a_668b1234-19fb-4a62-a361-c2ad5408bfea.webp?v=1714911543","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd2b8e50956093c00754c7f8911436648268dab_f68ba440-0971-4cec-963e-7aad8904a45f.webp?v=1714911546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58dc539b3f51689348b243bfb85c4e1be5ae49ee_4fea2ceb-a191-49fe-9167-de51d234c676.webp?v=1714911548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcabca1e926aaee5add0c67d49da767ecf65776_1a062820-b77a-4538-8558-73675e5b3991.webp?v=1714911553","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93d7500b76153f4ca754f953ad93d8110a18357_9f31187b-1b89-49f5-a8f7-9150b3c53c9d.webp?v=1714911556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5adcf10cbe808f1fd66af5a2dc510d289339be0a_2c6511a4-a202-4b29-9b48-553154f98147.webp?v=1714911558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa10c9f140d9d0fcaf63858d9e20cfed4812c9c_86262849-4cf1-48d9-8b02-d143e8798a7a.webp?v=1714911560"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/653b7bcba6b0a66e4ec23ee7a0f2e05bbeb0cb01_4cfc6497-96c5-48a2-9cd7-37a9b9796c7f.webp?v=1714911536","options":["color"],"media":[{"alt":null,"id":23893447082083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/653b7bcba6b0a66e4ec23ee7a0f2e05bbeb0cb01_4cfc6497-96c5-48a2-9cd7-37a9b9796c7f.webp?v=1714911536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/653b7bcba6b0a66e4ec23ee7a0f2e05bbeb0cb01_4cfc6497-96c5-48a2-9cd7-37a9b9796c7f.webp?v=1714911536","width":2000},{"alt":null,"id":23893447508067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110c5cd1d24f91976df17004e09a6af4e5aa1538_d5c65ad6-3086-48a6-aea1-7cdf3f345719.webp?v=1714911538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110c5cd1d24f91976df17004e09a6af4e5aa1538_d5c65ad6-3086-48a6-aea1-7cdf3f345719.webp?v=1714911538","width":2000},{"alt":null,"id":23893447966819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5070e2a8a79ff53aad1c8855b96ba60aff8907ba_1831edf0-a4e6-4f73-b3a0-4ada80b342c2.webp?v=1714911541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5070e2a8a79ff53aad1c8855b96ba60aff8907ba_1831edf0-a4e6-4f73-b3a0-4ada80b342c2.webp?v=1714911541","width":2000},{"alt":null,"id":23893449244771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bfa90ae0b74eac61897f53ca4364b93099ef63a_668b1234-19fb-4a62-a361-c2ad5408bfea.webp?v=1714911543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bfa90ae0b74eac61897f53ca4364b93099ef63a_668b1234-19fb-4a62-a361-c2ad5408bfea.webp?v=1714911543","width":2000},{"alt":null,"id":23893449703523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd2b8e50956093c00754c7f8911436648268dab_f68ba440-0971-4cec-963e-7aad8904a45f.webp?v=1714911546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd2b8e50956093c00754c7f8911436648268dab_f68ba440-0971-4cec-963e-7aad8904a45f.webp?v=1714911546","width":2000},{"alt":null,"id":23893450260579,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58dc539b3f51689348b243bfb85c4e1be5ae49ee_4fea2ceb-a191-49fe-9167-de51d234c676.webp?v=1714911548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58dc539b3f51689348b243bfb85c4e1be5ae49ee_4fea2ceb-a191-49fe-9167-de51d234c676.webp?v=1714911548","width":2000},{"alt":null,"id":23893450817635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551","width":2000},{"alt":null,"id":23893451505763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcabca1e926aaee5add0c67d49da767ecf65776_1a062820-b77a-4538-8558-73675e5b3991.webp?v=1714911553"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fcabca1e926aaee5add0c67d49da767ecf65776_1a062820-b77a-4538-8558-73675e5b3991.webp?v=1714911553","width":2000},{"alt":null,"id":23893451997283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93d7500b76153f4ca754f953ad93d8110a18357_9f31187b-1b89-49f5-a8f7-9150b3c53c9d.webp?v=1714911556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93d7500b76153f4ca754f953ad93d8110a18357_9f31187b-1b89-49f5-a8f7-9150b3c53c9d.webp?v=1714911556","width":2000},{"alt":null,"id":23893452718179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5adcf10cbe808f1fd66af5a2dc510d289339be0a_2c6511a4-a202-4b29-9b48-553154f98147.webp?v=1714911558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5adcf10cbe808f1fd66af5a2dc510d289339be0a_2c6511a4-a202-4b29-9b48-553154f98147.webp?v=1714911558","width":2000},{"alt":null,"id":23893453439075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa10c9f140d9d0fcaf63858d9e20cfed4812c9c_86262849-4cf1-48d9-8b02-d143e8798a7a.webp?v=1714911560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa10c9f140d9d0fcaf63858d9e20cfed4812c9c_86262849-4cf1-48d9-8b02-d143e8798a7a.webp?v=1714911560","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911652909155,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31488106299491,"product_id":7415079698531,"position":7,"created_at":"2024-05-05T20:19:11+08:00","updated_at":"2024-05-05T20:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551","variant_ids":[41911652909155]},"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-AF05","featured_media":{"alt":null,"id":23893450817635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911652909155,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31488106299491,"product_id":7415079698531,"position":7,"created_at":"2024-05-05T20:19:11+08:00","updated_at":"2024-05-05T20:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551","variant_ids":[41911652909155]},"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-AF05","featured_media":{"alt":null,"id":23893450817635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b826676b01e81df9e5da98fe6ccc59a3007d707_1b22eb27-bb4c-44ab-91a8-cddebad6cc3b.webp?v=1714911551"}},"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: "停產"
}