Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 1G - J個好
$product = {"id":7408475570275,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 1G - J個好","handle":"iphone-12-mini-mod-nx-printable-iv08","description":null,"published_at":"2024-06-11T16:38:17+08:00","created_at":"2024-05-03T15:33:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","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":41885905420387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472374644835,"product_id":7408475570275,"position":9,"created_at":"2024-05-03T15:34:18+08:00","updated_at":"2024-05-03T15:34:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658","variant_ids":[41885905420387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23877291540579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0829c3322745a9c252fdc629edff99e69a9c27c_595013dc-03b8-4e16-b0ae-7194bbb16020.webp?v=1714721639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7f1f3bf4edb18d28789aab08f6a8ea761ed4665_83d98dd0-0c81-448f-b242-1aa550a8237d.webp?v=1714721641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bda56371326ef3c5371787b489a53e7556d4c2_cd2863c0-db0d-41be-986c-b520aaddcf46.webp?v=1714721644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403822189b8fd2c3a203eac93122bb742825a5db_2ef8754c-9ca0-4ed5-a4da-da92ddbfb235.webp?v=1714721646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2747b0004b3f5e030203d99cd6337b844a17c0_5700bf3c-8c1a-4a07-8408-037f6ea50545.webp?v=1714721649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e31b094bd1dfd14d7148433fa42ca412dd456038_23221fb9-b186-49f2-b99e-bd557e37ce0c.webp?v=1714721651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018f0a70a003277dfcd75cb9316787c7e0dd2fed_71fc6c5c-77c2-48a5-b0bc-5d1addf56b50.webp?v=1714721653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e12c0f09215800ec88c8f9c5ebf488991199fed3_72be6761-1d25-4d4e-a78a-fac58cb15c67.webp?v=1714721656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e16af2bf0ecdd9339ea2f5e2f5540a9486a6d0a_b4fdceb2-2c45-4422-a037-2246a66458bb.webp?v=1714721660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f28c0160ef6e2f09e4d6291e0ac71329815284_f21c0fce-ad1f-483e-9452-ce30230ae3a4.webp?v=1714721662"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0829c3322745a9c252fdc629edff99e69a9c27c_595013dc-03b8-4e16-b0ae-7194bbb16020.webp?v=1714721639","options":["color"],"media":[{"alt":null,"id":23877287608419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0829c3322745a9c252fdc629edff99e69a9c27c_595013dc-03b8-4e16-b0ae-7194bbb16020.webp?v=1714721639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0829c3322745a9c252fdc629edff99e69a9c27c_595013dc-03b8-4e16-b0ae-7194bbb16020.webp?v=1714721639","width":2000},{"alt":null,"id":23877287903331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7f1f3bf4edb18d28789aab08f6a8ea761ed4665_83d98dd0-0c81-448f-b242-1aa550a8237d.webp?v=1714721641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7f1f3bf4edb18d28789aab08f6a8ea761ed4665_83d98dd0-0c81-448f-b242-1aa550a8237d.webp?v=1714721641","width":2000},{"alt":null,"id":23877288558691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bda56371326ef3c5371787b489a53e7556d4c2_cd2863c0-db0d-41be-986c-b520aaddcf46.webp?v=1714721644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bda56371326ef3c5371787b489a53e7556d4c2_cd2863c0-db0d-41be-986c-b520aaddcf46.webp?v=1714721644","width":2000},{"alt":null,"id":23877288919139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403822189b8fd2c3a203eac93122bb742825a5db_2ef8754c-9ca0-4ed5-a4da-da92ddbfb235.webp?v=1714721646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403822189b8fd2c3a203eac93122bb742825a5db_2ef8754c-9ca0-4ed5-a4da-da92ddbfb235.webp?v=1714721646","width":2000},{"alt":null,"id":23877289541731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2747b0004b3f5e030203d99cd6337b844a17c0_5700bf3c-8c1a-4a07-8408-037f6ea50545.webp?v=1714721649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2747b0004b3f5e030203d99cd6337b844a17c0_5700bf3c-8c1a-4a07-8408-037f6ea50545.webp?v=1714721649","width":2000},{"alt":null,"id":23877289967715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e31b094bd1dfd14d7148433fa42ca412dd456038_23221fb9-b186-49f2-b99e-bd557e37ce0c.webp?v=1714721651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e31b094bd1dfd14d7148433fa42ca412dd456038_23221fb9-b186-49f2-b99e-bd557e37ce0c.webp?v=1714721651","width":2000},{"alt":null,"id":23877290524771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018f0a70a003277dfcd75cb9316787c7e0dd2fed_71fc6c5c-77c2-48a5-b0bc-5d1addf56b50.webp?v=1714721653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018f0a70a003277dfcd75cb9316787c7e0dd2fed_71fc6c5c-77c2-48a5-b0bc-5d1addf56b50.webp?v=1714721653","width":2000},{"alt":null,"id":23877290950755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e12c0f09215800ec88c8f9c5ebf488991199fed3_72be6761-1d25-4d4e-a78a-fac58cb15c67.webp?v=1714721656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e12c0f09215800ec88c8f9c5ebf488991199fed3_72be6761-1d25-4d4e-a78a-fac58cb15c67.webp?v=1714721656","width":2000},{"alt":null,"id":23877291540579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658","width":2000},{"alt":null,"id":23877291933795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e16af2bf0ecdd9339ea2f5e2f5540a9486a6d0a_b4fdceb2-2c45-4422-a037-2246a66458bb.webp?v=1714721660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e16af2bf0ecdd9339ea2f5e2f5540a9486a6d0a_b4fdceb2-2c45-4422-a037-2246a66458bb.webp?v=1714721660","width":2000},{"alt":null,"id":23877292359779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f28c0160ef6e2f09e4d6291e0ac71329815284_f21c0fce-ad1f-483e-9452-ce30230ae3a4.webp?v=1714721662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f28c0160ef6e2f09e4d6291e0ac71329815284_f21c0fce-ad1f-483e-9452-ce30230ae3a4.webp?v=1714721662","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885905420387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472374644835,"product_id":7408475570275,"position":9,"created_at":"2024-05-03T15:34:18+08:00","updated_at":"2024-05-03T15:34:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658","variant_ids":[41885905420387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23877291540579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885905420387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472374644835,"product_id":7408475570275,"position":9,"created_at":"2024-05-03T15:34:18+08:00","updated_at":"2024-05-03T15:34:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658","variant_ids":[41885905420387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23877291540579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6cf422ae7b25541e27e35d91b66704d99da8ba_083f43df-37c9-40d1-b317-6fe25dfdac25.webp?v=1714721658"}},"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: "停產"
}