Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【獨家設計款】 - 火炎山
$product = {"id":7415974035555,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【獨家設計款】 - 火炎山","handle":"iphone-xs-max-mod-nx-printable-aa36","description":null,"published_at":"2024-06-11T16:49:21+08:00","created_at":"2024-05-06T12:34:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone XS Max","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx","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":41916104802403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31490875228259,"product_id":7415974035555,"position":2,"created_at":"2024-05-06T12:34:59+08:00","updated_at":"2024-05-06T12:34:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099","variant_ids":[41916104802403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【獨家設計款】 - 火炎山 - 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":"NPB0108624-AA36","featured_media":{"alt":null,"id":23896282202211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c072b45f9be99497c204ca904f30d53dd371e1f_4a266d27-411d-43c3-aa56-ded16da41f1b.webp?v=1714970096","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69181e1eeb25d009fb2b23e5f141d868c11a5dcb_f79684c9-2cab-430f-b3f6-bc6c728e3ef3.webp?v=1714970104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4880f2ce5b88da74e41aa1c6ae40d78e03b7681e_ab235549-5754-4268-9a62-2dc1128edcd8.webp?v=1714970106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae5da369341ae8dc3496c435c6a5b75065af6d74_40f5bcee-3113-40d4-8037-94f484c385f9.webp?v=1714970109","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c79bb3a0d6f994624afc86b008982d98cfe5a4_9f050d09-8925-4ac7-ad0e-c8ddda231eec.webp?v=1714970111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b4f7ad2b5e68a25fa7bfb7c0c8640db13ee37b0_8267b6a3-f34a-42b7-9ddc-0881634c5360.webp?v=1714970114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34bfcdfa1cdc7b5508f011180b04be21f48e1c1_dc607af0-9864-4e09-a82e-fde7af8bf09e.webp?v=1714970116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b483cd9da35209bdf132beada2315af7763f8fb6_1d35935a-9e9f-40ab-a87e-693226ec1b50.webp?v=1714970119"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c072b45f9be99497c204ca904f30d53dd371e1f_4a266d27-411d-43c3-aa56-ded16da41f1b.webp?v=1714970096","options":["color"],"media":[{"alt":null,"id":23896281415779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c072b45f9be99497c204ca904f30d53dd371e1f_4a266d27-411d-43c3-aa56-ded16da41f1b.webp?v=1714970096"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c072b45f9be99497c204ca904f30d53dd371e1f_4a266d27-411d-43c3-aa56-ded16da41f1b.webp?v=1714970096","width":2000},{"alt":null,"id":23896282202211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099","width":2000},{"alt":null,"id":23896283480163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69181e1eeb25d009fb2b23e5f141d868c11a5dcb_f79684c9-2cab-430f-b3f6-bc6c728e3ef3.webp?v=1714970104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69181e1eeb25d009fb2b23e5f141d868c11a5dcb_f79684c9-2cab-430f-b3f6-bc6c728e3ef3.webp?v=1714970104","width":2000},{"alt":null,"id":23896283873379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4880f2ce5b88da74e41aa1c6ae40d78e03b7681e_ab235549-5754-4268-9a62-2dc1128edcd8.webp?v=1714970106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4880f2ce5b88da74e41aa1c6ae40d78e03b7681e_ab235549-5754-4268-9a62-2dc1128edcd8.webp?v=1714970106","width":2000},{"alt":null,"id":23896284332131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae5da369341ae8dc3496c435c6a5b75065af6d74_40f5bcee-3113-40d4-8037-94f484c385f9.webp?v=1714970109"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae5da369341ae8dc3496c435c6a5b75065af6d74_40f5bcee-3113-40d4-8037-94f484c385f9.webp?v=1714970109","width":2000},{"alt":null,"id":23896285151331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c79bb3a0d6f994624afc86b008982d98cfe5a4_9f050d09-8925-4ac7-ad0e-c8ddda231eec.webp?v=1714970111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c79bb3a0d6f994624afc86b008982d98cfe5a4_9f050d09-8925-4ac7-ad0e-c8ddda231eec.webp?v=1714970111","width":2000},{"alt":null,"id":23896285610083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b4f7ad2b5e68a25fa7bfb7c0c8640db13ee37b0_8267b6a3-f34a-42b7-9ddc-0881634c5360.webp?v=1714970114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b4f7ad2b5e68a25fa7bfb7c0c8640db13ee37b0_8267b6a3-f34a-42b7-9ddc-0881634c5360.webp?v=1714970114","width":2000},{"alt":null,"id":23896285970531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34bfcdfa1cdc7b5508f011180b04be21f48e1c1_dc607af0-9864-4e09-a82e-fde7af8bf09e.webp?v=1714970116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34bfcdfa1cdc7b5508f011180b04be21f48e1c1_dc607af0-9864-4e09-a82e-fde7af8bf09e.webp?v=1714970116","width":2000},{"alt":null,"id":23896287051875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b483cd9da35209bdf132beada2315af7763f8fb6_1d35935a-9e9f-40ab-a87e-693226ec1b50.webp?v=1714970119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b483cd9da35209bdf132beada2315af7763f8fb6_1d35935a-9e9f-40ab-a87e-693226ec1b50.webp?v=1714970119","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916104802403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31490875228259,"product_id":7415974035555,"position":2,"created_at":"2024-05-06T12:34:59+08:00","updated_at":"2024-05-06T12:34:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099","variant_ids":[41916104802403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【獨家設計款】 - 火炎山 - 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":"NPB0108624-AA36","featured_media":{"alt":null,"id":23896282202211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916104802403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31490875228259,"product_id":7415974035555,"position":2,"created_at":"2024-05-06T12:34:59+08:00","updated_at":"2024-05-06T12:34:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099","variant_ids":[41916104802403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【獨家設計款】 - 火炎山 - 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":"NPB0108624-AA36","featured_media":{"alt":null,"id":23896282202211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c2271562b1d8b5482153d13ae974113ccb6a4f1_7345c7b3-e7c2-4b6f-b789-7caf179225f2.webp?v=1714970099"}},"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: "停產"
}