Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-氣球布置-幽默系列
$product = {"id":7415908335715,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-氣球布置-幽默系列","handle":"iphone-xs-max-mod-nx-printable-pc10","description":null,"published_at":"2024-06-11T16:47:39+08:00","created_at":"2024-05-06T12:22:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","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":41915427127395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC10","requires_shipping":true,"taxable":true,"featured_image":{"id":31490709848163,"product_id":7415908335715,"position":7,"created_at":"2024-05-06T12:23:07+08:00","updated_at":"2024-05-06T12:23:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387","variant_ids":[41915427127395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-氣球布置-幽默系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-PC10","featured_media":{"alt":null,"id":23896116592739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724e28d0ab8c081071e0e5819838ae6e311acc2b_022d54ef-51c3-4cc9-8345-9a4e43d5a2bc.webp?v=1714969370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73bac4de5690fb69651a7e420ab4fcc721f3cda7_af683974-ec1f-42d0-8f46-4f3760ce16ad.webp?v=1714969373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb16045fdb90dd239ad2bcc2bda8dfc262085ba_19d377bc-15fb-400f-88e0-0234eb34abe3.webp?v=1714969377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46145cedb6401563f2d7a967615567336b600da0_4d47dce7-e806-4027-9603-2dcc099b6cbf.webp?v=1714969380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189730eceff5266319b8f963aa4651314bba5d88_d813d97c-a193-40ac-bbbb-6603e7d34f00.webp?v=1714969382","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7026f36d0f70eead3a922bed94f7cdf750d4eeb_1430a2f0-f35f-41f8-b522-892ce18ab58f.webp?v=1714969385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8843292301757a7aa535ab104e98862bbbe8a844_a9314dad-03a8-429d-9686-e201d09b24f5.webp?v=1714969390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e7a8ae5686cd13006ca4e76eca2a96d4ac31d3_fdbf8471-c445-4205-ade4-3979186eaaaf.webp?v=1714969392"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724e28d0ab8c081071e0e5819838ae6e311acc2b_022d54ef-51c3-4cc9-8345-9a4e43d5a2bc.webp?v=1714969370","options":["color"],"media":[{"alt":null,"id":23896112857187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724e28d0ab8c081071e0e5819838ae6e311acc2b_022d54ef-51c3-4cc9-8345-9a4e43d5a2bc.webp?v=1714969370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/724e28d0ab8c081071e0e5819838ae6e311acc2b_022d54ef-51c3-4cc9-8345-9a4e43d5a2bc.webp?v=1714969370","width":2000},{"alt":null,"id":23896113447011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73bac4de5690fb69651a7e420ab4fcc721f3cda7_af683974-ec1f-42d0-8f46-4f3760ce16ad.webp?v=1714969373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73bac4de5690fb69651a7e420ab4fcc721f3cda7_af683974-ec1f-42d0-8f46-4f3760ce16ad.webp?v=1714969373","width":2000},{"alt":null,"id":23896114495587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb16045fdb90dd239ad2bcc2bda8dfc262085ba_19d377bc-15fb-400f-88e0-0234eb34abe3.webp?v=1714969377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb16045fdb90dd239ad2bcc2bda8dfc262085ba_19d377bc-15fb-400f-88e0-0234eb34abe3.webp?v=1714969377","width":2000},{"alt":null,"id":23896114856035,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46145cedb6401563f2d7a967615567336b600da0_4d47dce7-e806-4027-9603-2dcc099b6cbf.webp?v=1714969380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46145cedb6401563f2d7a967615567336b600da0_4d47dce7-e806-4027-9603-2dcc099b6cbf.webp?v=1714969380","width":2000},{"alt":null,"id":23896115708003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189730eceff5266319b8f963aa4651314bba5d88_d813d97c-a193-40ac-bbbb-6603e7d34f00.webp?v=1714969382"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189730eceff5266319b8f963aa4651314bba5d88_d813d97c-a193-40ac-bbbb-6603e7d34f00.webp?v=1714969382","width":2000},{"alt":null,"id":23896116199523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7026f36d0f70eead3a922bed94f7cdf750d4eeb_1430a2f0-f35f-41f8-b522-892ce18ab58f.webp?v=1714969385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7026f36d0f70eead3a922bed94f7cdf750d4eeb_1430a2f0-f35f-41f8-b522-892ce18ab58f.webp?v=1714969385","width":2000},{"alt":null,"id":23896116592739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387","width":2000},{"alt":null,"id":23896117117027,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8843292301757a7aa535ab104e98862bbbe8a844_a9314dad-03a8-429d-9686-e201d09b24f5.webp?v=1714969390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8843292301757a7aa535ab104e98862bbbe8a844_a9314dad-03a8-429d-9686-e201d09b24f5.webp?v=1714969390","width":2000},{"alt":null,"id":23896117510243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e7a8ae5686cd13006ca4e76eca2a96d4ac31d3_fdbf8471-c445-4205-ade4-3979186eaaaf.webp?v=1714969392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e7a8ae5686cd13006ca4e76eca2a96d4ac31d3_fdbf8471-c445-4205-ade4-3979186eaaaf.webp?v=1714969392","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915427127395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC10","requires_shipping":true,"taxable":true,"featured_image":{"id":31490709848163,"product_id":7415908335715,"position":7,"created_at":"2024-05-06T12:23:07+08:00","updated_at":"2024-05-06T12:23:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387","variant_ids":[41915427127395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-氣球布置-幽默系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-PC10","featured_media":{"alt":null,"id":23896116592739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915427127395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC10","requires_shipping":true,"taxable":true,"featured_image":{"id":31490709848163,"product_id":7415908335715,"position":7,"created_at":"2024-05-06T12:23:07+08:00","updated_at":"2024-05-06T12:23:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387","variant_ids":[41915427127395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-氣球布置-幽默系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-PC10","featured_media":{"alt":null,"id":23896116592739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1416e61a8361c51db7c8dce38d7b61661bfa2_92a49eab-cf01-4248-a5a5-4823f34ae602.webp?v=1714969387"}},"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: "停產"
}