Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王喜樂無常
$product = {"id":7408520331363,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王喜樂無常","handle":"iphone-12-mini-mod-nx-printable-eo03","description":null,"published_at":"2024-06-11T16:39:33+08:00","created_at":"2024-05-03T15:42:46+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":41886426759267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31472491954275,"product_id":7408520331363,"position":10,"created_at":"2024-05-03T15:43:12+08:00","updated_at":"2024-05-03T15:43:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192","variant_ids":[41886426759267]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王喜樂無常 - 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-EO03","featured_media":{"alt":null,"id":23877409210467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fde002ad2cd2b963ee538d10a7a4339b21a5d4c_f0085b1d-3a67-4bf1-b01b-bdd218b08a23.webp?v=1714722169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558e4688ddedbcf44e4542eff885469c1c887f79_410987f8-9d2e-42cd-bb7f-8c955220d618.webp?v=1714722172","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a433010a635cf36e89726e6c276c2c85c3d4e24_76ac21dd-231a-4831-890e-425638bf749d.webp?v=1714722174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9e2387adbe921a3b8700caf0f408ef89f148c7_1dbc3e3c-0a90-407c-8d32-792fb3c3218c.webp?v=1714722177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7463765a61df1e2554bb1374cc9bb68fc547b910_79be024a-3f00-4945-b75a-839dc9587434.webp?v=1714722179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b096f92543f851d7c1384042468687e504785df_b8f0b4ad-5f65-4e56-9232-d4861f3d4ef8.webp?v=1714722182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64bcf106feacca61347b8f5e698c2157d9e13b79_cf12bf1b-cd9e-4f42-83d3-a268cc960d9c.webp?v=1714722184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da330f0e8d1cd3007384d8d0f7ae962a770c30b8_84e9e7bd-3288-45bd-8e17-245f7fe0cff0.webp?v=1714722187","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3faf0a450c8c801851920f70e49e6311371a6c97_25d147d5-e0ee-4882-a40e-d21ebc6cccce.webp?v=1714722189","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8ec7975c0e3e737123c91c7fbe83f3104054488_27d7250c-379a-4b37-a067-6577e14c6d65.webp?v=1714722195"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fde002ad2cd2b963ee538d10a7a4339b21a5d4c_f0085b1d-3a67-4bf1-b01b-bdd218b08a23.webp?v=1714722169","options":["color"],"media":[{"alt":null,"id":23877403770979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fde002ad2cd2b963ee538d10a7a4339b21a5d4c_f0085b1d-3a67-4bf1-b01b-bdd218b08a23.webp?v=1714722169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fde002ad2cd2b963ee538d10a7a4339b21a5d4c_f0085b1d-3a67-4bf1-b01b-bdd218b08a23.webp?v=1714722169","width":2000},{"alt":null,"id":23877404557411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558e4688ddedbcf44e4542eff885469c1c887f79_410987f8-9d2e-42cd-bb7f-8c955220d618.webp?v=1714722172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558e4688ddedbcf44e4542eff885469c1c887f79_410987f8-9d2e-42cd-bb7f-8c955220d618.webp?v=1714722172","width":2000},{"alt":null,"id":23877405245539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a433010a635cf36e89726e6c276c2c85c3d4e24_76ac21dd-231a-4831-890e-425638bf749d.webp?v=1714722174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a433010a635cf36e89726e6c276c2c85c3d4e24_76ac21dd-231a-4831-890e-425638bf749d.webp?v=1714722174","width":2000},{"alt":null,"id":23877405802595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9e2387adbe921a3b8700caf0f408ef89f148c7_1dbc3e3c-0a90-407c-8d32-792fb3c3218c.webp?v=1714722177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9e2387adbe921a3b8700caf0f408ef89f148c7_1dbc3e3c-0a90-407c-8d32-792fb3c3218c.webp?v=1714722177","width":2000},{"alt":null,"id":23877406490723,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7463765a61df1e2554bb1374cc9bb68fc547b910_79be024a-3f00-4945-b75a-839dc9587434.webp?v=1714722179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7463765a61df1e2554bb1374cc9bb68fc547b910_79be024a-3f00-4945-b75a-839dc9587434.webp?v=1714722179","width":2000},{"alt":null,"id":23877406982243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b096f92543f851d7c1384042468687e504785df_b8f0b4ad-5f65-4e56-9232-d4861f3d4ef8.webp?v=1714722182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b096f92543f851d7c1384042468687e504785df_b8f0b4ad-5f65-4e56-9232-d4861f3d4ef8.webp?v=1714722182","width":2000},{"alt":null,"id":23877407735907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64bcf106feacca61347b8f5e698c2157d9e13b79_cf12bf1b-cd9e-4f42-83d3-a268cc960d9c.webp?v=1714722184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64bcf106feacca61347b8f5e698c2157d9e13b79_cf12bf1b-cd9e-4f42-83d3-a268cc960d9c.webp?v=1714722184","width":2000},{"alt":null,"id":23877408129123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da330f0e8d1cd3007384d8d0f7ae962a770c30b8_84e9e7bd-3288-45bd-8e17-245f7fe0cff0.webp?v=1714722187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da330f0e8d1cd3007384d8d0f7ae962a770c30b8_84e9e7bd-3288-45bd-8e17-245f7fe0cff0.webp?v=1714722187","width":2000},{"alt":null,"id":23877408751715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3faf0a450c8c801851920f70e49e6311371a6c97_25d147d5-e0ee-4882-a40e-d21ebc6cccce.webp?v=1714722189"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3faf0a450c8c801851920f70e49e6311371a6c97_25d147d5-e0ee-4882-a40e-d21ebc6cccce.webp?v=1714722189","width":2000},{"alt":null,"id":23877409210467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192","width":2000},{"alt":null,"id":23877409833059,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8ec7975c0e3e737123c91c7fbe83f3104054488_27d7250c-379a-4b37-a067-6577e14c6d65.webp?v=1714722195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8ec7975c0e3e737123c91c7fbe83f3104054488_27d7250c-379a-4b37-a067-6577e14c6d65.webp?v=1714722195","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886426759267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31472491954275,"product_id":7408520331363,"position":10,"created_at":"2024-05-03T15:43:12+08:00","updated_at":"2024-05-03T15:43:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192","variant_ids":[41886426759267]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王喜樂無常 - 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-EO03","featured_media":{"alt":null,"id":23877409210467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886426759267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31472491954275,"product_id":7408520331363,"position":10,"created_at":"2024-05-03T15:43:12+08:00","updated_at":"2024-05-03T15:43:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192","variant_ids":[41886426759267]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大王喜樂無常 - 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-EO03","featured_media":{"alt":null,"id":23877409210467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff99f362097a233da552b7b8350671c86c974878_22a7c2f0-4899-4499-9d79-82ca02132962.webp?v=1714722192"}},"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: "停產"
}