Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-丘巴卡
$product = {"id":7415981211747,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-丘巴卡","handle":"iphone-xs-max-mod-nx-printable-pc07","description":null,"published_at":"2024-06-11T16:49:33+08:00","created_at":"2024-05-06T12:36:15+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":41916171616355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490896855139,"product_id":7415981211747,"position":3,"created_at":"2024-05-06T12:36:22+08:00","updated_at":"2024-05-06T12:36:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182","variant_ids":[41916171616355]},"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-PC07","featured_media":{"alt":null,"id":23896303861859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9deb79042be579a69a9448424fe498d6e4b16fe6_895f429e-1956-4fe0-a89f-70f7f80a4dd6.webp?v=1714970177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcbf7f51370b00dfc367dfe0c2c9caff26f91177_3f1ed8a1-c59b-4ba4-82ca-96fbc5a7516e.webp?v=1714970180","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948b4694ee8d398ff5ef6122583373023ad3d55b_42849201-84fb-4248-b371-5bcb7662185d.webp?v=1714970184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06ff51c46934e5e594a5e0de7c2d88b873fa3c2b_8c59d8f0-130a-4d86-a85d-b336c4609862.webp?v=1714970187","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a2b5325c549e7f751b5f15c50f8594a02e9f8d2_09d129d4-e5f8-4b25-8dd4-ca8fb6f94f06.webp?v=1714970189","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3cd62fc32617c40e6c6017076366a053d7a794_6573d364-cef3-4156-9571-2f8e5de7c555.webp?v=1714970192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0c98d543c2b89017a90f966b681813f645ecc78_a60e0eb7-6a14-4b01-8401-bbc075bf7ab3.webp?v=1714970194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c868eb10f9f113e20511016961e00b460ad521_902320c4-865c-4794-8d26-df6019ef6d98.webp?v=1714970196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c2029cfa4df3a5ea51cc4189edbfcd1149808a_81cdd38d-d269-4ac5-b10b-d83f99473259.webp?v=1714970198"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9deb79042be579a69a9448424fe498d6e4b16fe6_895f429e-1956-4fe0-a89f-70f7f80a4dd6.webp?v=1714970177","options":["color"],"media":[{"alt":null,"id":23896301863011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9deb79042be579a69a9448424fe498d6e4b16fe6_895f429e-1956-4fe0-a89f-70f7f80a4dd6.webp?v=1714970177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9deb79042be579a69a9448424fe498d6e4b16fe6_895f429e-1956-4fe0-a89f-70f7f80a4dd6.webp?v=1714970177","width":2000},{"alt":null,"id":23896302256227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcbf7f51370b00dfc367dfe0c2c9caff26f91177_3f1ed8a1-c59b-4ba4-82ca-96fbc5a7516e.webp?v=1714970180"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcbf7f51370b00dfc367dfe0c2c9caff26f91177_3f1ed8a1-c59b-4ba4-82ca-96fbc5a7516e.webp?v=1714970180","width":2000},{"alt":null,"id":23896303861859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182","width":2000},{"alt":null,"id":23896304320611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948b4694ee8d398ff5ef6122583373023ad3d55b_42849201-84fb-4248-b371-5bcb7662185d.webp?v=1714970184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948b4694ee8d398ff5ef6122583373023ad3d55b_42849201-84fb-4248-b371-5bcb7662185d.webp?v=1714970184","width":2000},{"alt":null,"id":23896304779363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06ff51c46934e5e594a5e0de7c2d88b873fa3c2b_8c59d8f0-130a-4d86-a85d-b336c4609862.webp?v=1714970187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06ff51c46934e5e594a5e0de7c2d88b873fa3c2b_8c59d8f0-130a-4d86-a85d-b336c4609862.webp?v=1714970187","width":2000},{"alt":null,"id":23896305696867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a2b5325c549e7f751b5f15c50f8594a02e9f8d2_09d129d4-e5f8-4b25-8dd4-ca8fb6f94f06.webp?v=1714970189"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a2b5325c549e7f751b5f15c50f8594a02e9f8d2_09d129d4-e5f8-4b25-8dd4-ca8fb6f94f06.webp?v=1714970189","width":2000},{"alt":null,"id":23896306155619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3cd62fc32617c40e6c6017076366a053d7a794_6573d364-cef3-4156-9571-2f8e5de7c555.webp?v=1714970192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3cd62fc32617c40e6c6017076366a053d7a794_6573d364-cef3-4156-9571-2f8e5de7c555.webp?v=1714970192","width":2000},{"alt":null,"id":23896306876515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0c98d543c2b89017a90f966b681813f645ecc78_a60e0eb7-6a14-4b01-8401-bbc075bf7ab3.webp?v=1714970194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0c98d543c2b89017a90f966b681813f645ecc78_a60e0eb7-6a14-4b01-8401-bbc075bf7ab3.webp?v=1714970194","width":2000},{"alt":null,"id":23896307236963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c868eb10f9f113e20511016961e00b460ad521_902320c4-865c-4794-8d26-df6019ef6d98.webp?v=1714970196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c868eb10f9f113e20511016961e00b460ad521_902320c4-865c-4794-8d26-df6019ef6d98.webp?v=1714970196","width":2000},{"alt":null,"id":23896307695715,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c2029cfa4df3a5ea51cc4189edbfcd1149808a_81cdd38d-d269-4ac5-b10b-d83f99473259.webp?v=1714970198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c2029cfa4df3a5ea51cc4189edbfcd1149808a_81cdd38d-d269-4ac5-b10b-d83f99473259.webp?v=1714970198","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916171616355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490896855139,"product_id":7415981211747,"position":3,"created_at":"2024-05-06T12:36:22+08:00","updated_at":"2024-05-06T12:36:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182","variant_ids":[41916171616355]},"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-PC07","featured_media":{"alt":null,"id":23896303861859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916171616355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490896855139,"product_id":7415981211747,"position":3,"created_at":"2024-05-06T12:36:22+08:00","updated_at":"2024-05-06T12:36:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182","variant_ids":[41916171616355]},"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-PC07","featured_media":{"alt":null,"id":23896303861859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/404e67bd30dd5daafd70eb413e2df4e726ef81f1_7c28d37f-85a6-41f0-8a02-7f69b31c5273.webp?v=1714970182"}},"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: "停產"
}