Home
›
犀牛盾Mod NX手機殼 - iPhone X - 【聯名設計款】 - Look - 人在做 加納利群島在看
$product = {"id":7416170774627,"title":"犀牛盾Mod NX手機殼 - iPhone X - 【聯名設計款】 - Look - 人在做 加納利群島在看","handle":"iphone-x-mod-nx-printable-af08","description":null,"published_at":"2024-06-11T16:52:33+08:00","created_at":"2024-05-06T14:05:09+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 X","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":41917711482979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0106424-AF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31491553919075,"product_id":7416170774627,"position":2,"created_at":"2024-05-06T14:05:14+08:00","updated_at":"2024-05-06T14:05:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514","variant_ids":[41917711482979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone X - 【聯名設計款】 - 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":"NPB0106424-AF08","featured_media":{"alt":null,"id":23896965840995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de253c23bc82ae8e09b517ddc43518d72d71e2a7_d45939f3-65a9-4d28-b4d7-7dd71c2be10a.webp?v=1714975511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce00863981264bf713a0a9d540b03333926e7d5_ab9ba961-a7ae-4478-9148-4ed0b29abd3c.webp?v=1714975516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7c83c91f4b04601fb503a6d9b5348aadf3bdc4_f173ce3d-bc02-4212-a355-b0a4d95794d9.webp?v=1714975519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd351b87abc76fc8485b505942d4a8c19bdf3c1_0649e2ed-4b2b-422f-9a0f-d41635b21e66.webp?v=1714975521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9700928dc100a10e3818e62e119e5bb31761e06f_e00d7c90-fc97-4c60-a151-8bcc94d7db85.webp?v=1714975524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7506749da1b3f82486baf889a18309ce8c89a4e2_8461243a-9299-4e4e-969b-bd764d038ef0.webp?v=1714975526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c901cbc0e3f2d6132df99dcd876f1c70c35fc8c_ec75aa00-5e42-46a5-8091-c563d6792a32.webp?v=1714975529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c743701d09527d8819691576ec3e98a41ee1f95_31e7387c-aab7-4681-aaf5-8123a56314c0.webp?v=1714975531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3330af0a1a27b32fbd411e77e61538221b3a4e0_e4df3f8f-57d6-40da-9c33-1386a0e8314d.webp?v=1714975534"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de253c23bc82ae8e09b517ddc43518d72d71e2a7_d45939f3-65a9-4d28-b4d7-7dd71c2be10a.webp?v=1714975511","options":["color"],"media":[{"alt":null,"id":23896965316707,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de253c23bc82ae8e09b517ddc43518d72d71e2a7_d45939f3-65a9-4d28-b4d7-7dd71c2be10a.webp?v=1714975511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de253c23bc82ae8e09b517ddc43518d72d71e2a7_d45939f3-65a9-4d28-b4d7-7dd71c2be10a.webp?v=1714975511","width":2000},{"alt":null,"id":23896965840995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514","width":2000},{"alt":null,"id":23896966299747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce00863981264bf713a0a9d540b03333926e7d5_ab9ba961-a7ae-4478-9148-4ed0b29abd3c.webp?v=1714975516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce00863981264bf713a0a9d540b03333926e7d5_ab9ba961-a7ae-4478-9148-4ed0b29abd3c.webp?v=1714975516","width":2000},{"alt":null,"id":23896966987875,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7c83c91f4b04601fb503a6d9b5348aadf3bdc4_f173ce3d-bc02-4212-a355-b0a4d95794d9.webp?v=1714975519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7c83c91f4b04601fb503a6d9b5348aadf3bdc4_f173ce3d-bc02-4212-a355-b0a4d95794d9.webp?v=1714975519","width":2000},{"alt":null,"id":23896967512163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd351b87abc76fc8485b505942d4a8c19bdf3c1_0649e2ed-4b2b-422f-9a0f-d41635b21e66.webp?v=1714975521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd351b87abc76fc8485b505942d4a8c19bdf3c1_0649e2ed-4b2b-422f-9a0f-d41635b21e66.webp?v=1714975521","width":2000},{"alt":null,"id":23896968036451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9700928dc100a10e3818e62e119e5bb31761e06f_e00d7c90-fc97-4c60-a151-8bcc94d7db85.webp?v=1714975524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9700928dc100a10e3818e62e119e5bb31761e06f_e00d7c90-fc97-4c60-a151-8bcc94d7db85.webp?v=1714975524","width":2000},{"alt":null,"id":23896968757347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7506749da1b3f82486baf889a18309ce8c89a4e2_8461243a-9299-4e4e-969b-bd764d038ef0.webp?v=1714975526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7506749da1b3f82486baf889a18309ce8c89a4e2_8461243a-9299-4e4e-969b-bd764d038ef0.webp?v=1714975526","width":2000},{"alt":null,"id":23896969183331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c901cbc0e3f2d6132df99dcd876f1c70c35fc8c_ec75aa00-5e42-46a5-8091-c563d6792a32.webp?v=1714975529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c901cbc0e3f2d6132df99dcd876f1c70c35fc8c_ec75aa00-5e42-46a5-8091-c563d6792a32.webp?v=1714975529","width":2000},{"alt":null,"id":23896969740387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c743701d09527d8819691576ec3e98a41ee1f95_31e7387c-aab7-4681-aaf5-8123a56314c0.webp?v=1714975531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c743701d09527d8819691576ec3e98a41ee1f95_31e7387c-aab7-4681-aaf5-8123a56314c0.webp?v=1714975531","width":2000},{"alt":null,"id":23896970166371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3330af0a1a27b32fbd411e77e61538221b3a4e0_e4df3f8f-57d6-40da-9c33-1386a0e8314d.webp?v=1714975534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3330af0a1a27b32fbd411e77e61538221b3a4e0_e4df3f8f-57d6-40da-9c33-1386a0e8314d.webp?v=1714975534","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41917711482979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0106424-AF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31491553919075,"product_id":7416170774627,"position":2,"created_at":"2024-05-06T14:05:14+08:00","updated_at":"2024-05-06T14:05:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514","variant_ids":[41917711482979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone X - 【聯名設計款】 - 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":"NPB0106424-AF08","featured_media":{"alt":null,"id":23896965840995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41917711482979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0106424-AF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31491553919075,"product_id":7416170774627,"position":2,"created_at":"2024-05-06T14:05:14+08:00","updated_at":"2024-05-06T14:05:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514","variant_ids":[41917711482979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone X - 【聯名設計款】 - 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":"NPB0106424-AF08","featured_media":{"alt":null,"id":23896965840995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca576c08ee54d35639699532c6de823efa11c144_be123145-f616-4130-aa7f-bdb8aeb268b9.webp?v=1714975514"}},"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: "停產"
}