Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 大自然的傑作(黃石國家公園)
$product = {"id":7415971741795,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 大自然的傑作(黃石國家公園)","handle":"iphone-xs-max-mod-nx-printable-af12","description":null,"published_at":"2024-06-11T16:49:18+08:00","created_at":"2024-05-06T12:34:32+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":41916081471587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490872344675,"product_id":7415971741795,"position":6,"created_at":"2024-05-06T12:34:48+08:00","updated_at":"2024-05-06T12:34:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088","variant_ids":[41916081471587]},"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-AF12","featured_media":{"alt":null,"id":23896279318627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc36875ab14e46fb7ac13dd4e1eff4700d01e5_bb6d6487-5644-4983-9316-b9a86a224d1e.webp?v=1714970075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1abde1da5cb0117b950d5b431454b723815f656a_1dafed7a-b5f4-43ca-a11b-98eb004750ab.webp?v=1714970077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3841a720ae374752739adaf4c85c29474149ab_03b7dc07-e9c7-4cf4-b5ed-9c60db4e9f27.webp?v=1714970080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb0c714418907ff87c6345c6f42c87c0ec26e4f_8d5ffa3c-4676-4efa-81e7-f096e20fed03.webp?v=1714970083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281aae039327195f2ddde55b937459569374126_f4bd14f5-5cc9-423a-9d06-8ae5a21a57c1.webp?v=1714970085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5da2deae4fe504890b9045f4d426fad0812af_1d7a1f9b-455f-4de4-9c0c-e1e848d90124.webp?v=1714970090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58568456ac9256e938f9d607eda848f6f77098d2_b9333de6-8b97-4d49-a121-47a8d4d69283.webp?v=1714970093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09ee55c266b868b7a729648250df0de928c6ba56_6f2b48eb-a28c-40a1-92cf-9e737d294f6d.webp?v=1714970095","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebb91dbcdadd4195d760abb444ea5f9ff91f7ba_6d0f9974-7672-485f-81bf-701036343a8f.webp?v=1714970097"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc36875ab14e46fb7ac13dd4e1eff4700d01e5_bb6d6487-5644-4983-9316-b9a86a224d1e.webp?v=1714970075","options":["color"],"media":[{"alt":null,"id":23896276467811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc36875ab14e46fb7ac13dd4e1eff4700d01e5_bb6d6487-5644-4983-9316-b9a86a224d1e.webp?v=1714970075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc36875ab14e46fb7ac13dd4e1eff4700d01e5_bb6d6487-5644-4983-9316-b9a86a224d1e.webp?v=1714970075","width":2000},{"alt":null,"id":23896276926563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1abde1da5cb0117b950d5b431454b723815f656a_1dafed7a-b5f4-43ca-a11b-98eb004750ab.webp?v=1714970077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1abde1da5cb0117b950d5b431454b723815f656a_1dafed7a-b5f4-43ca-a11b-98eb004750ab.webp?v=1714970077","width":2000},{"alt":null,"id":23896277712995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3841a720ae374752739adaf4c85c29474149ab_03b7dc07-e9c7-4cf4-b5ed-9c60db4e9f27.webp?v=1714970080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3841a720ae374752739adaf4c85c29474149ab_03b7dc07-e9c7-4cf4-b5ed-9c60db4e9f27.webp?v=1714970080","width":2000},{"alt":null,"id":23896278270051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb0c714418907ff87c6345c6f42c87c0ec26e4f_8d5ffa3c-4676-4efa-81e7-f096e20fed03.webp?v=1714970083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb0c714418907ff87c6345c6f42c87c0ec26e4f_8d5ffa3c-4676-4efa-81e7-f096e20fed03.webp?v=1714970083","width":2000},{"alt":null,"id":23896278630499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281aae039327195f2ddde55b937459569374126_f4bd14f5-5cc9-423a-9d06-8ae5a21a57c1.webp?v=1714970085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281aae039327195f2ddde55b937459569374126_f4bd14f5-5cc9-423a-9d06-8ae5a21a57c1.webp?v=1714970085","width":2000},{"alt":null,"id":23896279318627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088","width":2000},{"alt":null,"id":23896279711843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5da2deae4fe504890b9045f4d426fad0812af_1d7a1f9b-455f-4de4-9c0c-e1e848d90124.webp?v=1714970090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15f5da2deae4fe504890b9045f4d426fad0812af_1d7a1f9b-455f-4de4-9c0c-e1e848d90124.webp?v=1714970090","width":2000},{"alt":null,"id":23896280236131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58568456ac9256e938f9d607eda848f6f77098d2_b9333de6-8b97-4d49-a121-47a8d4d69283.webp?v=1714970093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58568456ac9256e938f9d607eda848f6f77098d2_b9333de6-8b97-4d49-a121-47a8d4d69283.webp?v=1714970093","width":2000},{"alt":null,"id":23896281153635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09ee55c266b868b7a729648250df0de928c6ba56_6f2b48eb-a28c-40a1-92cf-9e737d294f6d.webp?v=1714970095"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09ee55c266b868b7a729648250df0de928c6ba56_6f2b48eb-a28c-40a1-92cf-9e737d294f6d.webp?v=1714970095","width":2000},{"alt":null,"id":23896281972835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebb91dbcdadd4195d760abb444ea5f9ff91f7ba_6d0f9974-7672-485f-81bf-701036343a8f.webp?v=1714970097"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ebb91dbcdadd4195d760abb444ea5f9ff91f7ba_6d0f9974-7672-485f-81bf-701036343a8f.webp?v=1714970097","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41916081471587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490872344675,"product_id":7415971741795,"position":6,"created_at":"2024-05-06T12:34:48+08:00","updated_at":"2024-05-06T12:34:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088","variant_ids":[41916081471587]},"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-AF12","featured_media":{"alt":null,"id":23896279318627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916081471587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490872344675,"product_id":7415971741795,"position":6,"created_at":"2024-05-06T12:34:48+08:00","updated_at":"2024-05-06T12:34:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088","variant_ids":[41916081471587]},"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-AF12","featured_media":{"alt":null,"id":23896279318627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61d17ed03706ff54088250dec36ac67998649f5_86cfa048-5551-4ad1-b68b-cb7e5e507af2.webp?v=1714970088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}