Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雲朵綿綿
$product = {"id":7408523018339,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雲朵綿綿","handle":"iphone-12-mini-mod-nx-printable-yb10","description":null,"published_at":"2024-06-11T16:39:37+08:00","created_at":"2024-05-03T15:43:15+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":41886450712675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31472494772323,"product_id":7408523018339,"position":4,"created_at":"2024-05-03T15:43:25+08:00","updated_at":"2024-05-03T15:43:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205","variant_ids":[41886450712675]},"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-YB10","featured_media":{"alt":null,"id":23877412028515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b2e1fa7a2e795b194484e25f2f8d1377dbd7_2c2d33fe-13e8-4957-afac-bf9232ac27d0.webp?v=1714722197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3182694b3901e96deeac4d813504d02734997ed2_3c9dfe6f-f279-4680-8dbe-a1f2b22331c6.webp?v=1714722200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d7894e6718b96237408b57b61706aea68fb3a9a_652f8c97-ace2-4021-93aa-4e518ac115bb.webp?v=1714722202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ff51904998b5455c5ce0ee0552289f6bc332324_0940115b-12ec-4f5b-984c-252dc5591728.webp?v=1714722207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740058d98f8a8855bb0a26ed1d2555ca6e1a7b6b_f98e4472-0c60-4ab0-8bff-436646187cf9.webp?v=1714722210","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/614a2156ba00e58741b5a0752315ae74ad3723a4_c7e7064b-6bf9-47c2-b681-ffe2f00654d5.webp?v=1714722212","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f36a6908ad424313060f6e2c3e5836831e1065b_87314244-18e9-4546-9340-c9d50b20dd35.webp?v=1714722215","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800f4cc3876bbbe522761a5646e0fd8c4bc59efa_e994488b-0f79-468b-be56-b9c53125c32f.webp?v=1714722218","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4cc6488d1bc23a3097da2debe47b10b037acd8_6acfb8ad-e9d7-4bb2-9513-69da9d0a0a4c.webp?v=1714722221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52930d7f27c3a480bc8c167885d5703ab039bc2_cebdc58d-dc94-4fa8-8075-e211ca45cbaa.webp?v=1714722223"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b2e1fa7a2e795b194484e25f2f8d1377dbd7_2c2d33fe-13e8-4957-afac-bf9232ac27d0.webp?v=1714722197","options":["color"],"media":[{"alt":null,"id":23877410291811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b2e1fa7a2e795b194484e25f2f8d1377dbd7_2c2d33fe-13e8-4957-afac-bf9232ac27d0.webp?v=1714722197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1011b2e1fa7a2e795b194484e25f2f8d1377dbd7_2c2d33fe-13e8-4957-afac-bf9232ac27d0.webp?v=1714722197","width":2000},{"alt":null,"id":23877411078243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3182694b3901e96deeac4d813504d02734997ed2_3c9dfe6f-f279-4680-8dbe-a1f2b22331c6.webp?v=1714722200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3182694b3901e96deeac4d813504d02734997ed2_3c9dfe6f-f279-4680-8dbe-a1f2b22331c6.webp?v=1714722200","width":2000},{"alt":null,"id":23877411504227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d7894e6718b96237408b57b61706aea68fb3a9a_652f8c97-ace2-4021-93aa-4e518ac115bb.webp?v=1714722202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d7894e6718b96237408b57b61706aea68fb3a9a_652f8c97-ace2-4021-93aa-4e518ac115bb.webp?v=1714722202","width":2000},{"alt":null,"id":23877412028515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205","width":2000},{"alt":null,"id":23877412520035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ff51904998b5455c5ce0ee0552289f6bc332324_0940115b-12ec-4f5b-984c-252dc5591728.webp?v=1714722207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ff51904998b5455c5ce0ee0552289f6bc332324_0940115b-12ec-4f5b-984c-252dc5591728.webp?v=1714722207","width":2000},{"alt":null,"id":23877413011555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740058d98f8a8855bb0a26ed1d2555ca6e1a7b6b_f98e4472-0c60-4ab0-8bff-436646187cf9.webp?v=1714722210"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740058d98f8a8855bb0a26ed1d2555ca6e1a7b6b_f98e4472-0c60-4ab0-8bff-436646187cf9.webp?v=1714722210","width":2000},{"alt":null,"id":23877413535843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/614a2156ba00e58741b5a0752315ae74ad3723a4_c7e7064b-6bf9-47c2-b681-ffe2f00654d5.webp?v=1714722212"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/614a2156ba00e58741b5a0752315ae74ad3723a4_c7e7064b-6bf9-47c2-b681-ffe2f00654d5.webp?v=1714722212","width":2000},{"alt":null,"id":23877414092899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f36a6908ad424313060f6e2c3e5836831e1065b_87314244-18e9-4546-9340-c9d50b20dd35.webp?v=1714722215"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f36a6908ad424313060f6e2c3e5836831e1065b_87314244-18e9-4546-9340-c9d50b20dd35.webp?v=1714722215","width":2000},{"alt":null,"id":23877414649955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800f4cc3876bbbe522761a5646e0fd8c4bc59efa_e994488b-0f79-468b-be56-b9c53125c32f.webp?v=1714722218"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800f4cc3876bbbe522761a5646e0fd8c4bc59efa_e994488b-0f79-468b-be56-b9c53125c32f.webp?v=1714722218","width":2000},{"alt":null,"id":23877415403619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4cc6488d1bc23a3097da2debe47b10b037acd8_6acfb8ad-e9d7-4bb2-9513-69da9d0a0a4c.webp?v=1714722221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c4cc6488d1bc23a3097da2debe47b10b037acd8_6acfb8ad-e9d7-4bb2-9513-69da9d0a0a4c.webp?v=1714722221","width":2000},{"alt":null,"id":23877416157283,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52930d7f27c3a480bc8c167885d5703ab039bc2_cebdc58d-dc94-4fa8-8075-e211ca45cbaa.webp?v=1714722223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52930d7f27c3a480bc8c167885d5703ab039bc2_cebdc58d-dc94-4fa8-8075-e211ca45cbaa.webp?v=1714722223","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886450712675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31472494772323,"product_id":7408523018339,"position":4,"created_at":"2024-05-03T15:43:25+08:00","updated_at":"2024-05-03T15:43:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205","variant_ids":[41886450712675]},"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-YB10","featured_media":{"alt":null,"id":23877412028515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886450712675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31472494772323,"product_id":7408523018339,"position":4,"created_at":"2024-05-03T15:43:25+08:00","updated_at":"2024-05-03T15:43:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205","variant_ids":[41886450712675]},"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-YB10","featured_media":{"alt":null,"id":23877412028515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/220a02617cbaeffc8a0311e213d26a701506aaf1_91cfde45-b82d-43aa-8c00-081ca5adb541.webp?v=1714722205"}},"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: "停產"
}