Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 夜空星語
$product = {"id":7408508076131,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 夜空星語","handle":"iphone-12-mini-mod-nx-printable-yb12","description":null,"published_at":"2024-06-11T16:39:12+08:00","created_at":"2024-05-03T15:40:24+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","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":41886283989091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31472457711715,"product_id":7408508076131,"position":4,"created_at":"2024-05-03T15:40:34+08:00","updated_at":"2024-05-03T15:40:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034","variant_ids":[41886283989091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23877374771299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be86fccf81fd9f6ce0f2c036670ad7d7321197a_da74f4f5-d88a-46e4-9b83-18ead920fec8.webp?v=1714722026","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2faf4495bfad69c61a7d60422c510ed0b8064755_1eaf6766-bba8-40e4-b1cc-005229d0522e.webp?v=1714722029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aa4d00e035bdb2eaf6257e9cdb6938721c01e5f_9fec1568-5393-4596-bd30-6c91bda7e84d.webp?v=1714722031","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c169fb03a6053c364ededc049b53098055d624f8_8685baf1-b6e5-4ce8-8536-430092ff7188.webp?v=1714722036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee4c6b4cb063567ab62c3aec1b7e615574e33608_bf2615b7-6df4-4db8-bc62-d093b988aa3d.webp?v=1714722038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7377ad74f363523f0e46b14b1bf4471aa3cbda53_79e39df2-36e5-48df-8082-69d1a6984373.webp?v=1714722041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8cb254e8ec4aa36d1db0fc8b02e322f755ee556_3dcb6615-cb05-4b8b-b420-0fb50b968223.webp?v=1714722043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c1e6833cd1060dc12abbd1764d9d99c7f418b3c_d4314402-fc7c-4be8-b15c-3b2b3e4de5ee.webp?v=1714722046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b636da6fab69f4522961acd3989cedab3d645754_5c68a981-22fd-4cfe-9fa3-5fb8a22e00b1.webp?v=1714722048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4300edc7fea10d3f284ec305fed8d83fe1202905_aa364d8b-e1b0-4288-a7f1-f1a147c6d817.webp?v=1714722050"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be86fccf81fd9f6ce0f2c036670ad7d7321197a_da74f4f5-d88a-46e4-9b83-18ead920fec8.webp?v=1714722026","options":["color"],"media":[{"alt":null,"id":23877373132899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be86fccf81fd9f6ce0f2c036670ad7d7321197a_da74f4f5-d88a-46e4-9b83-18ead920fec8.webp?v=1714722026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be86fccf81fd9f6ce0f2c036670ad7d7321197a_da74f4f5-d88a-46e4-9b83-18ead920fec8.webp?v=1714722026","width":2000},{"alt":null,"id":23877373657187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2faf4495bfad69c61a7d60422c510ed0b8064755_1eaf6766-bba8-40e4-b1cc-005229d0522e.webp?v=1714722029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2faf4495bfad69c61a7d60422c510ed0b8064755_1eaf6766-bba8-40e4-b1cc-005229d0522e.webp?v=1714722029","width":2000},{"alt":null,"id":23877374247011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aa4d00e035bdb2eaf6257e9cdb6938721c01e5f_9fec1568-5393-4596-bd30-6c91bda7e84d.webp?v=1714722031"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0aa4d00e035bdb2eaf6257e9cdb6938721c01e5f_9fec1568-5393-4596-bd30-6c91bda7e84d.webp?v=1714722031","width":2000},{"alt":null,"id":23877374771299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034","width":2000},{"alt":null,"id":23877375262819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c169fb03a6053c364ededc049b53098055d624f8_8685baf1-b6e5-4ce8-8536-430092ff7188.webp?v=1714722036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c169fb03a6053c364ededc049b53098055d624f8_8685baf1-b6e5-4ce8-8536-430092ff7188.webp?v=1714722036","width":2000},{"alt":null,"id":23877375754339,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee4c6b4cb063567ab62c3aec1b7e615574e33608_bf2615b7-6df4-4db8-bc62-d093b988aa3d.webp?v=1714722038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee4c6b4cb063567ab62c3aec1b7e615574e33608_bf2615b7-6df4-4db8-bc62-d093b988aa3d.webp?v=1714722038","width":2000},{"alt":null,"id":23877376245859,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7377ad74f363523f0e46b14b1bf4471aa3cbda53_79e39df2-36e5-48df-8082-69d1a6984373.webp?v=1714722041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7377ad74f363523f0e46b14b1bf4471aa3cbda53_79e39df2-36e5-48df-8082-69d1a6984373.webp?v=1714722041","width":2000},{"alt":null,"id":23877376770147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8cb254e8ec4aa36d1db0fc8b02e322f755ee556_3dcb6615-cb05-4b8b-b420-0fb50b968223.webp?v=1714722043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8cb254e8ec4aa36d1db0fc8b02e322f755ee556_3dcb6615-cb05-4b8b-b420-0fb50b968223.webp?v=1714722043","width":2000},{"alt":null,"id":23877377196131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c1e6833cd1060dc12abbd1764d9d99c7f418b3c_d4314402-fc7c-4be8-b15c-3b2b3e4de5ee.webp?v=1714722046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c1e6833cd1060dc12abbd1764d9d99c7f418b3c_d4314402-fc7c-4be8-b15c-3b2b3e4de5ee.webp?v=1714722046","width":2000},{"alt":null,"id":23877377687651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b636da6fab69f4522961acd3989cedab3d645754_5c68a981-22fd-4cfe-9fa3-5fb8a22e00b1.webp?v=1714722048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b636da6fab69f4522961acd3989cedab3d645754_5c68a981-22fd-4cfe-9fa3-5fb8a22e00b1.webp?v=1714722048","width":2000},{"alt":null,"id":23877378146403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4300edc7fea10d3f284ec305fed8d83fe1202905_aa364d8b-e1b0-4288-a7f1-f1a147c6d817.webp?v=1714722050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4300edc7fea10d3f284ec305fed8d83fe1202905_aa364d8b-e1b0-4288-a7f1-f1a147c6d817.webp?v=1714722050","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886283989091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31472457711715,"product_id":7408508076131,"position":4,"created_at":"2024-05-03T15:40:34+08:00","updated_at":"2024-05-03T15:40:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034","variant_ids":[41886283989091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23877374771299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886283989091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31472457711715,"product_id":7408508076131,"position":4,"created_at":"2024-05-03T15:40:34+08:00","updated_at":"2024-05-03T15:40:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034","variant_ids":[41886283989091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23877374771299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/072b1b69871cb1601f90db406d0b631652a05098_c786e1f7-5af9-439d-897f-de73aa2e9382.webp?v=1714722034"}},"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: "停產"
}