Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 峇里島在看
$product = {"id":7415968825443,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 峇里島在看","handle":"iphone-xs-max-mod-nx-printable-af06","description":null,"published_at":"2024-06-11T16:49:13+08:00","created_at":"2024-05-06T12:33:58+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 XS Max","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":41916041756771,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31490863104099,"product_id":7415968825443,"position":5,"created_at":"2024-05-06T12:34:10+08:00","updated_at":"2024-05-06T12:34:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050","variant_ids":[41916041756771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-AF06","featured_media":{"alt":null,"id":23896270110819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/997835ebf0e0e42a6a7c8f4870eb07e60c9dd75e_d2c91e3d-000d-42ea-aac1-50f36a509ebd.webp?v=1714970040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d609d59ecfd2688fe018a3f1f86e4ef35d4d224_2720d358-fb56-407f-9e9f-3b37026dd632.webp?v=1714970043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9e91fa93363eebad5de4f83236e04822343d50_a09821fe-381e-4072-9743-311a53411014.webp?v=1714970045","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc0a1493b465677732e5731552aae8ce1eea3807_4a860de4-ece3-4318-b167-1d9fb6771b1b.webp?v=1714970047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294e298d4d4146500b74d182de7cc9667f88b4b1_f2bcabb7-50a6-4292-8e48-ed5dc43ebd2f.webp?v=1714970052","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a01989f4c40f9d5a6591369e7e5d65940b62a07_1a19342e-bacc-4c4d-ab1f-ad3d8b7ab16b.webp?v=1714970054","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f1196bec2828eaad72f4246e82e78b0d628075_0bd40ab9-4a6e-4265-909c-16e56bab4b60.webp?v=1714970057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1679784f2157ab717509096ef60f074c985ae942_e6e924ff-23aa-4fa9-a810-ca2c5214228a.webp?v=1714970059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de2deb008372e7ec95bd6cd49a3a4fcf0a3e07_15f980c8-6db1-46f9-8933-6b7d43523a72.webp?v=1714970062"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/997835ebf0e0e42a6a7c8f4870eb07e60c9dd75e_d2c91e3d-000d-42ea-aac1-50f36a509ebd.webp?v=1714970040","options":["color"],"media":[{"alt":null,"id":23896268013667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/997835ebf0e0e42a6a7c8f4870eb07e60c9dd75e_d2c91e3d-000d-42ea-aac1-50f36a509ebd.webp?v=1714970040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/997835ebf0e0e42a6a7c8f4870eb07e60c9dd75e_d2c91e3d-000d-42ea-aac1-50f36a509ebd.webp?v=1714970040","width":2000},{"alt":null,"id":23896268439651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d609d59ecfd2688fe018a3f1f86e4ef35d4d224_2720d358-fb56-407f-9e9f-3b37026dd632.webp?v=1714970043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d609d59ecfd2688fe018a3f1f86e4ef35d4d224_2720d358-fb56-407f-9e9f-3b37026dd632.webp?v=1714970043","width":2000},{"alt":null,"id":23896268832867,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9e91fa93363eebad5de4f83236e04822343d50_a09821fe-381e-4072-9743-311a53411014.webp?v=1714970045"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9e91fa93363eebad5de4f83236e04822343d50_a09821fe-381e-4072-9743-311a53411014.webp?v=1714970045","width":2000},{"alt":null,"id":23896269652067,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc0a1493b465677732e5731552aae8ce1eea3807_4a860de4-ece3-4318-b167-1d9fb6771b1b.webp?v=1714970047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc0a1493b465677732e5731552aae8ce1eea3807_4a860de4-ece3-4318-b167-1d9fb6771b1b.webp?v=1714970047","width":2000},{"alt":null,"id":23896270110819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050","width":2000},{"alt":null,"id":23896270766179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294e298d4d4146500b74d182de7cc9667f88b4b1_f2bcabb7-50a6-4292-8e48-ed5dc43ebd2f.webp?v=1714970052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294e298d4d4146500b74d182de7cc9667f88b4b1_f2bcabb7-50a6-4292-8e48-ed5dc43ebd2f.webp?v=1714970052","width":2000},{"alt":null,"id":23896271749219,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a01989f4c40f9d5a6591369e7e5d65940b62a07_1a19342e-bacc-4c4d-ab1f-ad3d8b7ab16b.webp?v=1714970054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a01989f4c40f9d5a6591369e7e5d65940b62a07_1a19342e-bacc-4c4d-ab1f-ad3d8b7ab16b.webp?v=1714970054","width":2000},{"alt":null,"id":23896272306275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f1196bec2828eaad72f4246e82e78b0d628075_0bd40ab9-4a6e-4265-909c-16e56bab4b60.webp?v=1714970057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f1196bec2828eaad72f4246e82e78b0d628075_0bd40ab9-4a6e-4265-909c-16e56bab4b60.webp?v=1714970057","width":2000},{"alt":null,"id":23896273125475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1679784f2157ab717509096ef60f074c985ae942_e6e924ff-23aa-4fa9-a810-ca2c5214228a.webp?v=1714970059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1679784f2157ab717509096ef60f074c985ae942_e6e924ff-23aa-4fa9-a810-ca2c5214228a.webp?v=1714970059","width":2000},{"alt":null,"id":23896273649763,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de2deb008372e7ec95bd6cd49a3a4fcf0a3e07_15f980c8-6db1-46f9-8933-6b7d43523a72.webp?v=1714970062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de2deb008372e7ec95bd6cd49a3a4fcf0a3e07_15f980c8-6db1-46f9-8933-6b7d43523a72.webp?v=1714970062","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916041756771,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31490863104099,"product_id":7415968825443,"position":5,"created_at":"2024-05-06T12:34:10+08:00","updated_at":"2024-05-06T12:34:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050","variant_ids":[41916041756771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-AF06","featured_media":{"alt":null,"id":23896270110819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916041756771,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31490863104099,"product_id":7415968825443,"position":5,"created_at":"2024-05-06T12:34:10+08:00","updated_at":"2024-05-06T12:34:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050","variant_ids":[41916041756771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-AF06","featured_media":{"alt":null,"id":23896270110819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30ed4b901480668b3410985e4ca8f89522d6c01_7e02fa59-148f-4847-ad6f-e1a8650b962a.webp?v=1714970050"}},"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: "停產"
}