Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-凱羅忍
$product = {"id":7408522461283,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-凱羅忍","handle":"iphone-12-mini-mod-nx-printable-pc06","description":null,"published_at":"2024-06-11T16:39:37+08:00","created_at":"2024-05-03T15:43:08+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 12 mini","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":41886444879971,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472492150883,"product_id":7408522461283,"position":2,"created_at":"2024-05-03T15:43:13+08:00","updated_at":"2024-05-03T15:43:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193","variant_ids":[41886444879971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0118424-PC06","featured_media":{"alt":null,"id":23877409472611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4725e0e33abcf7f12478e6ba36be15e2ed347651_44e5152c-06b5-4348-a04e-64827eb7c53f.webp?v=1714722190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24cb547aeb009defc3d889595042f396f4911b80_2a175042-ca12-4e20-b1c3-9c8dce6f37fc.webp?v=1714722195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6e15c9e387469934b913023af7aa30fa28d4c19_b7f2cf3c-4a42-4af0-b07b-36a0ce3ba6bf.webp?v=1714722197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56ef2b8206b6b69b49ebb880648ec072c20ddd9a_871d99d4-53a5-43f4-a6ce-b5e659268091.webp?v=1714722200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eb3efa006caf73b785216f509be2845058a8394_5c950303-86de-4d14-8ca5-759036fec078.webp?v=1714722202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fe70b827db7d5300175bdc59c8ab4a12c8f9b7_d53f52a1-f6ec-4339-9344-2cac24376fd6.webp?v=1714722205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f94404457030057b93665bf8d12fc9983d8c5c_cdecff79-5b27-4f0e-ab97-6e7e9e4c2aa9.webp?v=1714722207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d0b0d25963b9f2e9c35f1add2a19e35193a516_8eb4a762-9273-4f45-8d6b-46ee26240920.webp?v=1714722209","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45146904ee0da7cb3fad552d294690492e503c70_912ee9b1-9037-4b18-8a2a-e7f54ec5196f.webp?v=1714722211","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c7ce50ffc9042ede10bdfe14eed1458637cc4b_2efdee44-a1e6-4afb-b5b8-87030ebecb9d.webp?v=1714722214"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4725e0e33abcf7f12478e6ba36be15e2ed347651_44e5152c-06b5-4348-a04e-64827eb7c53f.webp?v=1714722190","options":["color"],"media":[{"alt":null,"id":23877408915555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4725e0e33abcf7f12478e6ba36be15e2ed347651_44e5152c-06b5-4348-a04e-64827eb7c53f.webp?v=1714722190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4725e0e33abcf7f12478e6ba36be15e2ed347651_44e5152c-06b5-4348-a04e-64827eb7c53f.webp?v=1714722190","width":2000},{"alt":null,"id":23877409472611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193","width":2000},{"alt":null,"id":23877409898595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24cb547aeb009defc3d889595042f396f4911b80_2a175042-ca12-4e20-b1c3-9c8dce6f37fc.webp?v=1714722195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24cb547aeb009defc3d889595042f396f4911b80_2a175042-ca12-4e20-b1c3-9c8dce6f37fc.webp?v=1714722195","width":2000},{"alt":null,"id":23877410455651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6e15c9e387469934b913023af7aa30fa28d4c19_b7f2cf3c-4a42-4af0-b07b-36a0ce3ba6bf.webp?v=1714722197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6e15c9e387469934b913023af7aa30fa28d4c19_b7f2cf3c-4a42-4af0-b07b-36a0ce3ba6bf.webp?v=1714722197","width":2000},{"alt":null,"id":23877410947171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56ef2b8206b6b69b49ebb880648ec072c20ddd9a_871d99d4-53a5-43f4-a6ce-b5e659268091.webp?v=1714722200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56ef2b8206b6b69b49ebb880648ec072c20ddd9a_871d99d4-53a5-43f4-a6ce-b5e659268091.webp?v=1714722200","width":2000},{"alt":null,"id":23877411405923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eb3efa006caf73b785216f509be2845058a8394_5c950303-86de-4d14-8ca5-759036fec078.webp?v=1714722202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eb3efa006caf73b785216f509be2845058a8394_5c950303-86de-4d14-8ca5-759036fec078.webp?v=1714722202","width":2000},{"alt":null,"id":23877411930211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fe70b827db7d5300175bdc59c8ab4a12c8f9b7_d53f52a1-f6ec-4339-9344-2cac24376fd6.webp?v=1714722205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fe70b827db7d5300175bdc59c8ab4a12c8f9b7_d53f52a1-f6ec-4339-9344-2cac24376fd6.webp?v=1714722205","width":2000},{"alt":null,"id":23877412356195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f94404457030057b93665bf8d12fc9983d8c5c_cdecff79-5b27-4f0e-ab97-6e7e9e4c2aa9.webp?v=1714722207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f94404457030057b93665bf8d12fc9983d8c5c_cdecff79-5b27-4f0e-ab97-6e7e9e4c2aa9.webp?v=1714722207","width":2000},{"alt":null,"id":23877412880483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d0b0d25963b9f2e9c35f1add2a19e35193a516_8eb4a762-9273-4f45-8d6b-46ee26240920.webp?v=1714722209"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d0b0d25963b9f2e9c35f1add2a19e35193a516_8eb4a762-9273-4f45-8d6b-46ee26240920.webp?v=1714722209","width":2000},{"alt":null,"id":23877413240931,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45146904ee0da7cb3fad552d294690492e503c70_912ee9b1-9037-4b18-8a2a-e7f54ec5196f.webp?v=1714722211"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45146904ee0da7cb3fad552d294690492e503c70_912ee9b1-9037-4b18-8a2a-e7f54ec5196f.webp?v=1714722211","width":2000},{"alt":null,"id":23877413830755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c7ce50ffc9042ede10bdfe14eed1458637cc4b_2efdee44-a1e6-4afb-b5b8-87030ebecb9d.webp?v=1714722214"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c7ce50ffc9042ede10bdfe14eed1458637cc4b_2efdee44-a1e6-4afb-b5b8-87030ebecb9d.webp?v=1714722214","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886444879971,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472492150883,"product_id":7408522461283,"position":2,"created_at":"2024-05-03T15:43:13+08:00","updated_at":"2024-05-03T15:43:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193","variant_ids":[41886444879971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0118424-PC06","featured_media":{"alt":null,"id":23877409472611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886444879971,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472492150883,"product_id":7408522461283,"position":2,"created_at":"2024-05-03T15:43:13+08:00","updated_at":"2024-05-03T15:43:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193","variant_ids":[41886444879971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0118424-PC06","featured_media":{"alt":null,"id":23877409472611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27428e5b1ea40b2cdf9ca68dc76a5e605892bb6f_a7abe52c-f257-4936-866e-82d08aca1b59.webp?v=1714722193"}},"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: "停產"
}