Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王10週年
$product = {"id":7408562831459,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王10週年","handle":"iphone-12-mini-mod-nx-printable-eo05","description":null,"published_at":"2024-06-11T16:40:48+08:00","created_at":"2024-05-03T15:51:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-weiweiboy","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":41886906482787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472600350819,"product_id":7408562831459,"position":8,"created_at":"2024-05-03T15:51:39+08:00","updated_at":"2024-05-03T15:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699","variant_ids":[41886906482787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王10週年 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-EO05","featured_media":{"alt":null,"id":23877517836387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de7baa6e4e09ac637588f1dd31280f34a72296_507fb0cb-68ec-40f1-a0c0-4948c7437206.webp?v=1714722681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce992541316381ff679419dedce85e84370fa64f_b61e5dd0-143c-4050-b7b7-8175b96f0e0d.webp?v=1714722684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cacf6c497e119b1184a4ab8b9ae6c867d2b2cb69_7a146c20-caf7-471b-9ba4-faa42fad37bc.webp?v=1714722686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a9734eadd7e69d69b5eee8064b52b7cf773349b_0efae24d-c0f8-416b-902e-41ae5efa95ce.webp?v=1714722689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579e29bd2936d5704191799afb97cbe162e173cc_414c0024-3946-41cd-9a87-0129dc64d84e.webp?v=1714722691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/916a6ffa14fea86c4eba5fd9ba4533b60dea8844_6b544816-0e4b-425e-84b5-fe13466bcb1a.webp?v=1714722694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4133da5aa0e86ad359e70624db4d04e976b8e8b2_a870bf36-3ff4-4188-885f-1bfcc8c6d8dc.webp?v=1714722696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30fa5b59b961c7f4c27f086d8b7f94510236c015_f2d7db62-c988-4d5c-bb1e-1782c1145d72.webp?v=1714722701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32a7aec8b58f3130f7858eec3ca1b0b0a57604e0_1ab88591-bd07-4f89-9336-4d90e548478d.webp?v=1714722704","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ba24f9dab611ada215c37bb7c6443a70d1af9be_57e8635e-91f4-4015-9266-10e7b40d9b96.webp?v=1714722706"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de7baa6e4e09ac637588f1dd31280f34a72296_507fb0cb-68ec-40f1-a0c0-4948c7437206.webp?v=1714722681","options":["color"],"media":[{"alt":null,"id":23877513904227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de7baa6e4e09ac637588f1dd31280f34a72296_507fb0cb-68ec-40f1-a0c0-4948c7437206.webp?v=1714722681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49de7baa6e4e09ac637588f1dd31280f34a72296_507fb0cb-68ec-40f1-a0c0-4948c7437206.webp?v=1714722681","width":2000},{"alt":null,"id":23877514526819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce992541316381ff679419dedce85e84370fa64f_b61e5dd0-143c-4050-b7b7-8175b96f0e0d.webp?v=1714722684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce992541316381ff679419dedce85e84370fa64f_b61e5dd0-143c-4050-b7b7-8175b96f0e0d.webp?v=1714722684","width":2000},{"alt":null,"id":23877515116643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cacf6c497e119b1184a4ab8b9ae6c867d2b2cb69_7a146c20-caf7-471b-9ba4-faa42fad37bc.webp?v=1714722686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cacf6c497e119b1184a4ab8b9ae6c867d2b2cb69_7a146c20-caf7-471b-9ba4-faa42fad37bc.webp?v=1714722686","width":2000},{"alt":null,"id":23877515575395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a9734eadd7e69d69b5eee8064b52b7cf773349b_0efae24d-c0f8-416b-902e-41ae5efa95ce.webp?v=1714722689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a9734eadd7e69d69b5eee8064b52b7cf773349b_0efae24d-c0f8-416b-902e-41ae5efa95ce.webp?v=1714722689","width":2000},{"alt":null,"id":23877516099683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579e29bd2936d5704191799afb97cbe162e173cc_414c0024-3946-41cd-9a87-0129dc64d84e.webp?v=1714722691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579e29bd2936d5704191799afb97cbe162e173cc_414c0024-3946-41cd-9a87-0129dc64d84e.webp?v=1714722691","width":2000},{"alt":null,"id":23877516656739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/916a6ffa14fea86c4eba5fd9ba4533b60dea8844_6b544816-0e4b-425e-84b5-fe13466bcb1a.webp?v=1714722694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/916a6ffa14fea86c4eba5fd9ba4533b60dea8844_6b544816-0e4b-425e-84b5-fe13466bcb1a.webp?v=1714722694","width":2000},{"alt":null,"id":23877517312099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4133da5aa0e86ad359e70624db4d04e976b8e8b2_a870bf36-3ff4-4188-885f-1bfcc8c6d8dc.webp?v=1714722696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4133da5aa0e86ad359e70624db4d04e976b8e8b2_a870bf36-3ff4-4188-885f-1bfcc8c6d8dc.webp?v=1714722696","width":2000},{"alt":null,"id":23877517836387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699","width":2000},{"alt":null,"id":23877518327907,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30fa5b59b961c7f4c27f086d8b7f94510236c015_f2d7db62-c988-4d5c-bb1e-1782c1145d72.webp?v=1714722701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30fa5b59b961c7f4c27f086d8b7f94510236c015_f2d7db62-c988-4d5c-bb1e-1782c1145d72.webp?v=1714722701","width":2000},{"alt":null,"id":23877518819427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32a7aec8b58f3130f7858eec3ca1b0b0a57604e0_1ab88591-bd07-4f89-9336-4d90e548478d.webp?v=1714722704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32a7aec8b58f3130f7858eec3ca1b0b0a57604e0_1ab88591-bd07-4f89-9336-4d90e548478d.webp?v=1714722704","width":2000},{"alt":null,"id":23877519310947,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ba24f9dab611ada215c37bb7c6443a70d1af9be_57e8635e-91f4-4015-9266-10e7b40d9b96.webp?v=1714722706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ba24f9dab611ada215c37bb7c6443a70d1af9be_57e8635e-91f4-4015-9266-10e7b40d9b96.webp?v=1714722706","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886906482787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472600350819,"product_id":7408562831459,"position":8,"created_at":"2024-05-03T15:51:39+08:00","updated_at":"2024-05-03T15:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699","variant_ids":[41886906482787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王10週年 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-EO05","featured_media":{"alt":null,"id":23877517836387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886906482787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472600350819,"product_id":7408562831459,"position":8,"created_at":"2024-05-03T15:51:39+08:00","updated_at":"2024-05-03T15:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699","variant_ids":[41886906482787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王10週年 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-EO05","featured_media":{"alt":null,"id":23877517836387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/603bb55a5a77eef858a0ac4c3b0889c0feeb64ed_e41f500f-06c8-4980-a4a4-1f3409822b02.webp?v=1714722699"}},"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: "停產"
}