Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-園丁-幽默系列
$product = {"id":7415923245155,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-園丁-幽默系列","handle":"iphone-xs-max-mod-nx-printable-pc12","description":null,"published_at":"2024-06-11T16:48:02+08:00","created_at":"2024-05-06T12:25:39+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":41915569471587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490748219491,"product_id":7415923245155,"position":8,"created_at":"2024-05-06T12:26:00+08:00","updated_at":"2024-05-06T12:26:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560","variant_ids":[41915569471587]},"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-PC12","featured_media":{"alt":null,"id":23896155029603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4a52fc6373139f58825863ab3816b884a57f95_9a60b1f6-e052-4051-bf1a-55b981bac1f1.webp?v=1714969541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3e8236b45b55b72fba2cbd4deedbf28dda4a77_096a8059-f6d6-4b2a-9b85-dab14f1c5d7a.webp?v=1714969544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/247588537a39b5470e485e10aff91bfb74909650_8ac5e6ba-032d-43ce-aaa2-5dd7c7a7f834.webp?v=1714969546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3f623c035b605dbecd9b32e84701cc905b0af24_1fb807b1-6411-4dac-8e9e-d352678f522b.webp?v=1714969549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e68374140386aa441042cfed7b9ddd9a69fd3c_17f8c2d7-6a96-4840-b26f-56c32097c1b2.webp?v=1714969551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbd0796af729245d815df8fa83f7fd659bb29bd_2af32de3-640c-45a4-bd44-13a5b013fe56.webp?v=1714969554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a5de8709cae7270715ee7bd4e885aee3d39322_a6cf1dd9-d7ca-4422-b7cf-429b4474874b.webp?v=1714969557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb547c130217e782f761dda86515f68408771d86_2f160991-0d3d-4db0-8bd3-129b0f01a71f.webp?v=1714969562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0352fde4a092f7106d7a0285450d533fd9debf_14724e63-032d-49a1-80ee-cefbdd5a87e5.webp?v=1714969566"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4a52fc6373139f58825863ab3816b884a57f95_9a60b1f6-e052-4051-bf1a-55b981bac1f1.webp?v=1714969541","options":["color"],"media":[{"alt":null,"id":23896150507619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4a52fc6373139f58825863ab3816b884a57f95_9a60b1f6-e052-4051-bf1a-55b981bac1f1.webp?v=1714969541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c4a52fc6373139f58825863ab3816b884a57f95_9a60b1f6-e052-4051-bf1a-55b981bac1f1.webp?v=1714969541","width":2000},{"alt":null,"id":23896151064675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3e8236b45b55b72fba2cbd4deedbf28dda4a77_096a8059-f6d6-4b2a-9b85-dab14f1c5d7a.webp?v=1714969544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3e8236b45b55b72fba2cbd4deedbf28dda4a77_096a8059-f6d6-4b2a-9b85-dab14f1c5d7a.webp?v=1714969544","width":2000},{"alt":null,"id":23896151523427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/247588537a39b5470e485e10aff91bfb74909650_8ac5e6ba-032d-43ce-aaa2-5dd7c7a7f834.webp?v=1714969546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/247588537a39b5470e485e10aff91bfb74909650_8ac5e6ba-032d-43ce-aaa2-5dd7c7a7f834.webp?v=1714969546","width":2000},{"alt":null,"id":23896152506467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3f623c035b605dbecd9b32e84701cc905b0af24_1fb807b1-6411-4dac-8e9e-d352678f522b.webp?v=1714969549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3f623c035b605dbecd9b32e84701cc905b0af24_1fb807b1-6411-4dac-8e9e-d352678f522b.webp?v=1714969549","width":2000},{"alt":null,"id":23896153063523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e68374140386aa441042cfed7b9ddd9a69fd3c_17f8c2d7-6a96-4840-b26f-56c32097c1b2.webp?v=1714969551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e68374140386aa441042cfed7b9ddd9a69fd3c_17f8c2d7-6a96-4840-b26f-56c32097c1b2.webp?v=1714969551","width":2000},{"alt":null,"id":23896153620579,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbd0796af729245d815df8fa83f7fd659bb29bd_2af32de3-640c-45a4-bd44-13a5b013fe56.webp?v=1714969554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afbd0796af729245d815df8fa83f7fd659bb29bd_2af32de3-640c-45a4-bd44-13a5b013fe56.webp?v=1714969554","width":2000},{"alt":null,"id":23896154472547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a5de8709cae7270715ee7bd4e885aee3d39322_a6cf1dd9-d7ca-4422-b7cf-429b4474874b.webp?v=1714969557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a5de8709cae7270715ee7bd4e885aee3d39322_a6cf1dd9-d7ca-4422-b7cf-429b4474874b.webp?v=1714969557","width":2000},{"alt":null,"id":23896155029603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560","width":2000},{"alt":null,"id":23896155586659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb547c130217e782f761dda86515f68408771d86_2f160991-0d3d-4db0-8bd3-129b0f01a71f.webp?v=1714969562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb547c130217e782f761dda86515f68408771d86_2f160991-0d3d-4db0-8bd3-129b0f01a71f.webp?v=1714969562","width":2000},{"alt":null,"id":23896156307555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0352fde4a092f7106d7a0285450d533fd9debf_14724e63-032d-49a1-80ee-cefbdd5a87e5.webp?v=1714969566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0352fde4a092f7106d7a0285450d533fd9debf_14724e63-032d-49a1-80ee-cefbdd5a87e5.webp?v=1714969566","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915569471587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490748219491,"product_id":7415923245155,"position":8,"created_at":"2024-05-06T12:26:00+08:00","updated_at":"2024-05-06T12:26:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560","variant_ids":[41915569471587]},"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-PC12","featured_media":{"alt":null,"id":23896155029603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915569471587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490748219491,"product_id":7415923245155,"position":8,"created_at":"2024-05-06T12:26:00+08:00","updated_at":"2024-05-06T12:26:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560","variant_ids":[41915569471587]},"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-PC12","featured_media":{"alt":null,"id":23896155029603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c412cd3d198eeb511ae12ffc096f8e9ac8340ec_9249ed2f-7aef-4eb5-a73c-ee22108c36d8.webp?v=1714969560"}},"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: "停產"
}