Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看
$product = {"id":7408399024227,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看","handle":"iphone-12-mini-mod-nx-printable-af05","description":null,"published_at":"2024-06-11T16:36:10+08:00","created_at":"2024-05-03T15:18:50+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":41885040214115,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472164733027,"product_id":7408399024227,"position":10,"created_at":"2024-05-03T15:19:14+08:00","updated_at":"2024-05-03T15:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754","variant_ids":[41885040214115]},"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-AF05","featured_media":{"alt":null,"id":23877080383587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfa14f19c3293e1bd98b1e4b334f6be74082ccb6_7178443d-23f8-4de1-b47c-2c323285ef14.webp?v=1714720733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c229a56e3498741e6547341c0fdd8b61952ec8fe_4cf0cb47-e5c9-4a2a-9275-42c90713daa6.webp?v=1714720735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff20b5cfc89c669d3fb081da77418d8281298722_d1595c1c-42ae-41ff-b77c-4c457f3ec5f8.webp?v=1714720738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9818538c551d0118879bb86224358d1e04c0146_eaa75782-789e-4234-8b00-93a98b4fa10b.webp?v=1714720740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb0aff14c36b1b5bb5087d0d893e448c98efefc0_e3a1cf0c-a5b5-4463-b211-0785b61b58cc.webp?v=1714720742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36716e6308db2a0a2849da352638c540e7c74a2f_4bb42d85-ffb6-419e-9c51-7e7a6bd447e2.webp?v=1714720745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8bc7b61ca8ccd5a2ddd5b645db12eb398fb6f7e_f004d1eb-90b1-412c-9e9e-b49271e464cf.webp?v=1714720747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf903acba600c4922db438fc10a6feb136cfb082_259e08ff-39e9-4df1-90a3-65e09999ce3b.webp?v=1714720749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5630c91efa173cb7b6fad0b7238b1d3cff865c25_23e6535b-ee0c-46d7-af26-2eb4aa957ae0.webp?v=1714720752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/953a39a7af30341969a71f1e849f8733e992c43c_a89eaa14-a274-483d-ba02-a70f4b20f394.webp?v=1714720757"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfa14f19c3293e1bd98b1e4b334f6be74082ccb6_7178443d-23f8-4de1-b47c-2c323285ef14.webp?v=1714720733","options":["color"],"media":[{"alt":null,"id":23877074583651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfa14f19c3293e1bd98b1e4b334f6be74082ccb6_7178443d-23f8-4de1-b47c-2c323285ef14.webp?v=1714720733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfa14f19c3293e1bd98b1e4b334f6be74082ccb6_7178443d-23f8-4de1-b47c-2c323285ef14.webp?v=1714720733","width":2000},{"alt":null,"id":23877075107939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c229a56e3498741e6547341c0fdd8b61952ec8fe_4cf0cb47-e5c9-4a2a-9275-42c90713daa6.webp?v=1714720735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c229a56e3498741e6547341c0fdd8b61952ec8fe_4cf0cb47-e5c9-4a2a-9275-42c90713daa6.webp?v=1714720735","width":2000},{"alt":null,"id":23877075763299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff20b5cfc89c669d3fb081da77418d8281298722_d1595c1c-42ae-41ff-b77c-4c457f3ec5f8.webp?v=1714720738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff20b5cfc89c669d3fb081da77418d8281298722_d1595c1c-42ae-41ff-b77c-4c457f3ec5f8.webp?v=1714720738","width":2000},{"alt":null,"id":23877076222051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9818538c551d0118879bb86224358d1e04c0146_eaa75782-789e-4234-8b00-93a98b4fa10b.webp?v=1714720740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9818538c551d0118879bb86224358d1e04c0146_eaa75782-789e-4234-8b00-93a98b4fa10b.webp?v=1714720740","width":2000},{"alt":null,"id":23877077008483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb0aff14c36b1b5bb5087d0d893e448c98efefc0_e3a1cf0c-a5b5-4463-b211-0785b61b58cc.webp?v=1714720742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb0aff14c36b1b5bb5087d0d893e448c98efefc0_e3a1cf0c-a5b5-4463-b211-0785b61b58cc.webp?v=1714720742","width":2000},{"alt":null,"id":23877077827683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36716e6308db2a0a2849da352638c540e7c74a2f_4bb42d85-ffb6-419e-9c51-7e7a6bd447e2.webp?v=1714720745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36716e6308db2a0a2849da352638c540e7c74a2f_4bb42d85-ffb6-419e-9c51-7e7a6bd447e2.webp?v=1714720745","width":2000},{"alt":null,"id":23877078450275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8bc7b61ca8ccd5a2ddd5b645db12eb398fb6f7e_f004d1eb-90b1-412c-9e9e-b49271e464cf.webp?v=1714720747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8bc7b61ca8ccd5a2ddd5b645db12eb398fb6f7e_f004d1eb-90b1-412c-9e9e-b49271e464cf.webp?v=1714720747","width":2000},{"alt":null,"id":23877079040099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf903acba600c4922db438fc10a6feb136cfb082_259e08ff-39e9-4df1-90a3-65e09999ce3b.webp?v=1714720749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf903acba600c4922db438fc10a6feb136cfb082_259e08ff-39e9-4df1-90a3-65e09999ce3b.webp?v=1714720749","width":2000},{"alt":null,"id":23877079826531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5630c91efa173cb7b6fad0b7238b1d3cff865c25_23e6535b-ee0c-46d7-af26-2eb4aa957ae0.webp?v=1714720752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5630c91efa173cb7b6fad0b7238b1d3cff865c25_23e6535b-ee0c-46d7-af26-2eb4aa957ae0.webp?v=1714720752","width":2000},{"alt":null,"id":23877080383587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754","width":2000},{"alt":null,"id":23877080809571,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/953a39a7af30341969a71f1e849f8733e992c43c_a89eaa14-a274-483d-ba02-a70f4b20f394.webp?v=1714720757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/953a39a7af30341969a71f1e849f8733e992c43c_a89eaa14-a274-483d-ba02-a70f4b20f394.webp?v=1714720757","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885040214115,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472164733027,"product_id":7408399024227,"position":10,"created_at":"2024-05-03T15:19:14+08:00","updated_at":"2024-05-03T15:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754","variant_ids":[41885040214115]},"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-AF05","featured_media":{"alt":null,"id":23877080383587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885040214115,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472164733027,"product_id":7408399024227,"position":10,"created_at":"2024-05-03T15:19:14+08:00","updated_at":"2024-05-03T15:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754","variant_ids":[41885040214115]},"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-AF05","featured_media":{"alt":null,"id":23877080383587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c12780d8c9897e505f31b34254aff921a1d3c24_a7973c2d-8a6f-4158-9920-fe1eb618de4c.webp?v=1714720754"}},"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: "停產"
}