Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 大堡礁在看
$product = {"id":7408438542435,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 大堡礁在看","handle":"iphone-12-mini-mod-nx-printable-af07","description":null,"published_at":"2024-06-11T16:37:14+08:00","created_at":"2024-05-03T15:26:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41885486973027,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31472283287651,"product_id":7408438542435,"position":5,"created_at":"2024-05-03T15:26:50+08:00","updated_at":"2024-05-03T15:26:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210","variant_ids":[41885486973027]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 大堡礁在看 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-AF07","featured_media":{"alt":null,"id":23877199659107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e26ab879d9d0f90f6cbc64106603eb1ea26f59e_20cd2f7d-e3e8-4073-9281-ad762fb408cc.webp?v=1714721201","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e964ddf2d838bffcaa412603b23e2ffc1daa036_cb21a631-06d1-460c-8b6e-1997a8d86a99.webp?v=1714721204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774ed0c62cccf43daffb187c7bc574fc9a1890b8_86d0f1f0-eb22-431d-98e2-f077ea26da5e.webp?v=1714721206","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b5378a3dc520a0cdb214105d0d1dcf7c341fa49_5e5c20f4-e634-44a6-87d1-fcab996fbcbc.webp?v=1714721208","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02b97e9242ce066d355f89254e97000ef572135_dfdedd6c-a199-44eb-9cd2-7261a0accd6b.webp?v=1714721213","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44ce77eb6547d7d7a308467a5e9c5dc1892db399_edda2001-dc74-4b06-b4a4-9330b32086fa.webp?v=1714721216","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8654d5d63f69fecce2d85f42f289daac5fd6ae7_f1ed4c23-ca2e-44eb-b817-b059071d5a77.webp?v=1714721218","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb5f7360b552da676715aa7d75e015889df663b_8961f3f7-88f3-4029-9679-ba98a8565f9a.webp?v=1714721220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5bc5eaef2098ff4f1b5dd3ffe42e30706aa8dda_d008e241-5d38-4cc6-9d7a-f111821fffcf.webp?v=1714721223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/622d6a98168a22f6e7c4458c1ca42799ce3f19eb_7565522d-c400-4e2d-8068-be411c0eed71.webp?v=1714721225"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e26ab879d9d0f90f6cbc64106603eb1ea26f59e_20cd2f7d-e3e8-4073-9281-ad762fb408cc.webp?v=1714721201","options":["color"],"media":[{"alt":null,"id":23877195759715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e26ab879d9d0f90f6cbc64106603eb1ea26f59e_20cd2f7d-e3e8-4073-9281-ad762fb408cc.webp?v=1714721201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e26ab879d9d0f90f6cbc64106603eb1ea26f59e_20cd2f7d-e3e8-4073-9281-ad762fb408cc.webp?v=1714721201","width":2000},{"alt":null,"id":23877196972131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e964ddf2d838bffcaa412603b23e2ffc1daa036_cb21a631-06d1-460c-8b6e-1997a8d86a99.webp?v=1714721204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e964ddf2d838bffcaa412603b23e2ffc1daa036_cb21a631-06d1-460c-8b6e-1997a8d86a99.webp?v=1714721204","width":2000},{"alt":null,"id":23877197430883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774ed0c62cccf43daffb187c7bc574fc9a1890b8_86d0f1f0-eb22-431d-98e2-f077ea26da5e.webp?v=1714721206"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/774ed0c62cccf43daffb187c7bc574fc9a1890b8_86d0f1f0-eb22-431d-98e2-f077ea26da5e.webp?v=1714721206","width":2000},{"alt":null,"id":23877198381155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b5378a3dc520a0cdb214105d0d1dcf7c341fa49_5e5c20f4-e634-44a6-87d1-fcab996fbcbc.webp?v=1714721208"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b5378a3dc520a0cdb214105d0d1dcf7c341fa49_5e5c20f4-e634-44a6-87d1-fcab996fbcbc.webp?v=1714721208","width":2000},{"alt":null,"id":23877199659107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210","width":2000},{"alt":null,"id":23877200707683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02b97e9242ce066d355f89254e97000ef572135_dfdedd6c-a199-44eb-9cd2-7261a0accd6b.webp?v=1714721213"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02b97e9242ce066d355f89254e97000ef572135_dfdedd6c-a199-44eb-9cd2-7261a0accd6b.webp?v=1714721213","width":2000},{"alt":null,"id":23877201231971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44ce77eb6547d7d7a308467a5e9c5dc1892db399_edda2001-dc74-4b06-b4a4-9330b32086fa.webp?v=1714721216"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44ce77eb6547d7d7a308467a5e9c5dc1892db399_edda2001-dc74-4b06-b4a4-9330b32086fa.webp?v=1714721216","width":2000},{"alt":null,"id":23877201690723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8654d5d63f69fecce2d85f42f289daac5fd6ae7_f1ed4c23-ca2e-44eb-b817-b059071d5a77.webp?v=1714721218"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8654d5d63f69fecce2d85f42f289daac5fd6ae7_f1ed4c23-ca2e-44eb-b817-b059071d5a77.webp?v=1714721218","width":2000},{"alt":null,"id":23877202215011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb5f7360b552da676715aa7d75e015889df663b_8961f3f7-88f3-4029-9679-ba98a8565f9a.webp?v=1714721220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb5f7360b552da676715aa7d75e015889df663b_8961f3f7-88f3-4029-9679-ba98a8565f9a.webp?v=1714721220","width":2000},{"alt":null,"id":23877202509923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5bc5eaef2098ff4f1b5dd3ffe42e30706aa8dda_d008e241-5d38-4cc6-9d7a-f111821fffcf.webp?v=1714721223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5bc5eaef2098ff4f1b5dd3ffe42e30706aa8dda_d008e241-5d38-4cc6-9d7a-f111821fffcf.webp?v=1714721223","width":2000},{"alt":null,"id":23877203099747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/622d6a98168a22f6e7c4458c1ca42799ce3f19eb_7565522d-c400-4e2d-8068-be411c0eed71.webp?v=1714721225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/622d6a98168a22f6e7c4458c1ca42799ce3f19eb_7565522d-c400-4e2d-8068-be411c0eed71.webp?v=1714721225","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885486973027,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31472283287651,"product_id":7408438542435,"position":5,"created_at":"2024-05-03T15:26:50+08:00","updated_at":"2024-05-03T15:26:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210","variant_ids":[41885486973027]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 大堡礁在看 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-AF07","featured_media":{"alt":null,"id":23877199659107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885486973027,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31472283287651,"product_id":7408438542435,"position":5,"created_at":"2024-05-03T15:26:50+08:00","updated_at":"2024-05-03T15:26:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210","variant_ids":[41885486973027]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 大堡礁在看 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-AF07","featured_media":{"alt":null,"id":23877199659107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf27bd8ef2e4c84ef05d4369f31d6cf4e892df1f_f2b1bb20-eacc-4514-9479-232d9840c453.webp?v=1714721210"}},"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: "停產"
}