Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 抱一個
$product = {"id":7414970613859,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 1G - 抱一個","handle":"iphone-12-mini-mod-nx-magsafe-printable-iv03","description":null,"published_at":"2024-06-11T17:54:28+08:00","created_at":"2024-05-05T19:58:03+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":41910479781987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31487808471139,"product_id":7414970613859,"position":3,"created_at":"2024-05-05T19:58:11+08:00","updated_at":"2024-05-05T19:58:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291","variant_ids":[41910479781987]},"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-IV03","featured_media":{"alt":null,"id":23893152530531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4540cc84b57bfa80a991b0835ce3c88d6353a4_71da737d-bd35-4078-807b-c844509ceb95.webp?v=1714910286","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40df9ed720d7e249175977d3392d83b84780c972_60cf1c53-d2fe-4f39-b8a8-1543574f1893.webp?v=1714910288","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0336d68c49014bd07ddf6f115b7326655c066e99_e4db58c6-952f-4f4b-8f21-d73192d031d8.webp?v=1714910293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184a671dfd881c1dcb72c6f73b457b17594c10e8_30fa1d0d-1249-4912-b75e-7f53f7443ffe.webp?v=1714910295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f5edcc64f97cbb02bc5936b374d92d924c24165_0a6f0d32-720c-4421-a4ce-866d724a4d99.webp?v=1714910297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb5335fbfed08dd52b2c2879d9f1caac9e1f4221_df3146cd-6bae-4f0a-b699-f144c3b20533.webp?v=1714910300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd1d235d3aaa7260cd9bdf888e144e746aa727a_060b388e-46e6-4539-846d-75ab14e85382.webp?v=1714910303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b1c0db5f7507be83020676e8a52ae15883469b3_4e93c4bb-b822-4469-b243-1e15586f6b42.webp?v=1714910305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d43ccd5f4761451958363853ae6f04270cfbfc8e_e8e32cc0-28c0-43b5-8880-467e8d6c6a51.webp?v=1714910307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7242b6a83e98e5a42f4a1eb34e7d20de35419c98_c94fdbf2-0ec1-4ee3-bef2-706eebf151a2.webp?v=1714910310"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4540cc84b57bfa80a991b0835ce3c88d6353a4_71da737d-bd35-4078-807b-c844509ceb95.webp?v=1714910286","options":["color"],"media":[{"alt":null,"id":23893151088739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4540cc84b57bfa80a991b0835ce3c88d6353a4_71da737d-bd35-4078-807b-c844509ceb95.webp?v=1714910286"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4540cc84b57bfa80a991b0835ce3c88d6353a4_71da737d-bd35-4078-807b-c844509ceb95.webp?v=1714910286","width":2000},{"alt":null,"id":23893151645795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40df9ed720d7e249175977d3392d83b84780c972_60cf1c53-d2fe-4f39-b8a8-1543574f1893.webp?v=1714910288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40df9ed720d7e249175977d3392d83b84780c972_60cf1c53-d2fe-4f39-b8a8-1543574f1893.webp?v=1714910288","width":2000},{"alt":null,"id":23893152530531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291","width":2000},{"alt":null,"id":23893153022051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0336d68c49014bd07ddf6f115b7326655c066e99_e4db58c6-952f-4f4b-8f21-d73192d031d8.webp?v=1714910293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0336d68c49014bd07ddf6f115b7326655c066e99_e4db58c6-952f-4f4b-8f21-d73192d031d8.webp?v=1714910293","width":2000},{"alt":null,"id":23893153972323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184a671dfd881c1dcb72c6f73b457b17594c10e8_30fa1d0d-1249-4912-b75e-7f53f7443ffe.webp?v=1714910295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184a671dfd881c1dcb72c6f73b457b17594c10e8_30fa1d0d-1249-4912-b75e-7f53f7443ffe.webp?v=1714910295","width":2000},{"alt":null,"id":23893154529379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f5edcc64f97cbb02bc5936b374d92d924c24165_0a6f0d32-720c-4421-a4ce-866d724a4d99.webp?v=1714910297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f5edcc64f97cbb02bc5936b374d92d924c24165_0a6f0d32-720c-4421-a4ce-866d724a4d99.webp?v=1714910297","width":2000},{"alt":null,"id":23893155053667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb5335fbfed08dd52b2c2879d9f1caac9e1f4221_df3146cd-6bae-4f0a-b699-f144c3b20533.webp?v=1714910300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb5335fbfed08dd52b2c2879d9f1caac9e1f4221_df3146cd-6bae-4f0a-b699-f144c3b20533.webp?v=1714910300","width":2000},{"alt":null,"id":23893155512419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd1d235d3aaa7260cd9bdf888e144e746aa727a_060b388e-46e6-4539-846d-75ab14e85382.webp?v=1714910303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd1d235d3aaa7260cd9bdf888e144e746aa727a_060b388e-46e6-4539-846d-75ab14e85382.webp?v=1714910303","width":2000},{"alt":null,"id":23893155905635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b1c0db5f7507be83020676e8a52ae15883469b3_4e93c4bb-b822-4469-b243-1e15586f6b42.webp?v=1714910305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b1c0db5f7507be83020676e8a52ae15883469b3_4e93c4bb-b822-4469-b243-1e15586f6b42.webp?v=1714910305","width":2000},{"alt":null,"id":23893156659299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d43ccd5f4761451958363853ae6f04270cfbfc8e_e8e32cc0-28c0-43b5-8880-467e8d6c6a51.webp?v=1714910307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d43ccd5f4761451958363853ae6f04270cfbfc8e_e8e32cc0-28c0-43b5-8880-467e8d6c6a51.webp?v=1714910307","width":2000},{"alt":null,"id":23893157019747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7242b6a83e98e5a42f4a1eb34e7d20de35419c98_c94fdbf2-0ec1-4ee3-bef2-706eebf151a2.webp?v=1714910310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7242b6a83e98e5a42f4a1eb34e7d20de35419c98_c94fdbf2-0ec1-4ee3-bef2-706eebf151a2.webp?v=1714910310","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910479781987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31487808471139,"product_id":7414970613859,"position":3,"created_at":"2024-05-05T19:58:11+08:00","updated_at":"2024-05-05T19:58:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291","variant_ids":[41910479781987]},"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-IV03","featured_media":{"alt":null,"id":23893152530531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910479781987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31487808471139,"product_id":7414970613859,"position":3,"created_at":"2024-05-05T19:58:11+08:00","updated_at":"2024-05-05T19:58:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291","variant_ids":[41910479781987]},"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-IV03","featured_media":{"alt":null,"id":23893152530531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294d1b40f5ac148e43e49588e9fa9c352ec54d4d_2c2d343d-08cc-4932-bdc2-eb87e5f8d4c0.webp?v=1714910291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}