Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白
$product = {"id":7408511844451,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-噴漆白","handle":"iphone-12-mini-mod-nx-printable-pb04","description":null,"published_at":"2024-06-11T16:39:19+08:00","created_at":"2024-05-03T15:41:04+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":41886321377379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31472466919523,"product_id":7408511844451,"position":6,"created_at":"2024-05-03T15:41:18+08:00","updated_at":"2024-05-03T15:41:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078","variant_ids":[41886321377379]},"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-PB04","featured_media":{"alt":null,"id":23877384110179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b965eb0b3fa8fc588592c0cb65163ee3bf7ab5c7_b9fadbcf-c443-453e-8216-57f185f5aa17.webp?v=1714722066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d572b9ba9d5e3db254d1468f74cefc795cb665b1_34f493b5-2be0-44f6-9e84-1f2215618e55.webp?v=1714722069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f53e4863913e6d162efc183365fc67bdb3d028de_4d869cbe-0538-4b84-bb14-2231a2d3a9f6.webp?v=1714722071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27bbaa747a7315c0aff788712343a52546bf009d_493864f2-8a4d-4178-a07c-23bbf40c28ec.webp?v=1714722073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a266e21f698757ee318a753e2c2f7f21573b5640_a11bd82a-c745-4022-8fc9-e11faba3e27e.webp?v=1714722076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9973454962c5552dcb1bf955c65895f09655c3_a54d1d83-dc3c-48f7-a5f1-167d48e40cb0.webp?v=1714722080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46716448a0865ea236ee40ce1d40823bd5467bd3_a8b6a2b1-7859-4a6a-99b5-7ca926d350a6.webp?v=1714722083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb934fb2376b58805aba01c330e8bbdb36fcc5d5_94e63e91-2ba7-408c-bc2b-634820263664.webp?v=1714722085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59ad759530c468ff243584f74343ff2e71d878b1_3504e409-b255-47ce-9f08-9d1012c424c0.webp?v=1714722087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1ae9df837189698a1b9c90b2093f14f3a138e67_eb748978-3ed8-4783-a75a-40cabb8e8497.webp?v=1714722089"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b965eb0b3fa8fc588592c0cb65163ee3bf7ab5c7_b9fadbcf-c443-453e-8216-57f185f5aa17.webp?v=1714722066","options":["color"],"media":[{"alt":null,"id":23877381488739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b965eb0b3fa8fc588592c0cb65163ee3bf7ab5c7_b9fadbcf-c443-453e-8216-57f185f5aa17.webp?v=1714722066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b965eb0b3fa8fc588592c0cb65163ee3bf7ab5c7_b9fadbcf-c443-453e-8216-57f185f5aa17.webp?v=1714722066","width":2000},{"alt":null,"id":23877382013027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d572b9ba9d5e3db254d1468f74cefc795cb665b1_34f493b5-2be0-44f6-9e84-1f2215618e55.webp?v=1714722069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d572b9ba9d5e3db254d1468f74cefc795cb665b1_34f493b5-2be0-44f6-9e84-1f2215618e55.webp?v=1714722069","width":2000},{"alt":null,"id":23877382504547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f53e4863913e6d162efc183365fc67bdb3d028de_4d869cbe-0538-4b84-bb14-2231a2d3a9f6.webp?v=1714722071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f53e4863913e6d162efc183365fc67bdb3d028de_4d869cbe-0538-4b84-bb14-2231a2d3a9f6.webp?v=1714722071","width":2000},{"alt":null,"id":23877383061603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27bbaa747a7315c0aff788712343a52546bf009d_493864f2-8a4d-4178-a07c-23bbf40c28ec.webp?v=1714722073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27bbaa747a7315c0aff788712343a52546bf009d_493864f2-8a4d-4178-a07c-23bbf40c28ec.webp?v=1714722073","width":2000},{"alt":null,"id":23877383520355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a266e21f698757ee318a753e2c2f7f21573b5640_a11bd82a-c745-4022-8fc9-e11faba3e27e.webp?v=1714722076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a266e21f698757ee318a753e2c2f7f21573b5640_a11bd82a-c745-4022-8fc9-e11faba3e27e.webp?v=1714722076","width":2000},{"alt":null,"id":23877384110179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078","width":2000},{"alt":null,"id":23877384634467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9973454962c5552dcb1bf955c65895f09655c3_a54d1d83-dc3c-48f7-a5f1-167d48e40cb0.webp?v=1714722080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9973454962c5552dcb1bf955c65895f09655c3_a54d1d83-dc3c-48f7-a5f1-167d48e40cb0.webp?v=1714722080","width":2000},{"alt":null,"id":23877385125987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46716448a0865ea236ee40ce1d40823bd5467bd3_a8b6a2b1-7859-4a6a-99b5-7ca926d350a6.webp?v=1714722083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46716448a0865ea236ee40ce1d40823bd5467bd3_a8b6a2b1-7859-4a6a-99b5-7ca926d350a6.webp?v=1714722083","width":2000},{"alt":null,"id":23877385584739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb934fb2376b58805aba01c330e8bbdb36fcc5d5_94e63e91-2ba7-408c-bc2b-634820263664.webp?v=1714722085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb934fb2376b58805aba01c330e8bbdb36fcc5d5_94e63e91-2ba7-408c-bc2b-634820263664.webp?v=1714722085","width":2000},{"alt":null,"id":23877386272867,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59ad759530c468ff243584f74343ff2e71d878b1_3504e409-b255-47ce-9f08-9d1012c424c0.webp?v=1714722087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59ad759530c468ff243584f74343ff2e71d878b1_3504e409-b255-47ce-9f08-9d1012c424c0.webp?v=1714722087","width":2000},{"alt":null,"id":23877386829923,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1ae9df837189698a1b9c90b2093f14f3a138e67_eb748978-3ed8-4783-a75a-40cabb8e8497.webp?v=1714722089"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1ae9df837189698a1b9c90b2093f14f3a138e67_eb748978-3ed8-4783-a75a-40cabb8e8497.webp?v=1714722089","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886321377379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31472466919523,"product_id":7408511844451,"position":6,"created_at":"2024-05-03T15:41:18+08:00","updated_at":"2024-05-03T15:41:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078","variant_ids":[41886321377379]},"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-PB04","featured_media":{"alt":null,"id":23877384110179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886321377379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31472466919523,"product_id":7408511844451,"position":6,"created_at":"2024-05-03T15:41:18+08:00","updated_at":"2024-05-03T15:41:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078","variant_ids":[41886321377379]},"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-PB04","featured_media":{"alt":null,"id":23877384110179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c269b7d3e1af9ef3a37886b38d5ed9c531702a61_bf69742c-7efd-4bdc-8ba5-eec773aea3d5.webp?v=1714722078"}},"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: "停產"
}