$product = {"id":7408110862435,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - 夜空星語","handle":"iphone-13-mini-mod-nx-printable-yb12","description":null,"published_at":"2024-06-11T16:31:41+08:00","created_at":"2024-05-03T12:02:10+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 13 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":41882802421859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471221276771,"product_id":7408110862435,"position":6,"created_at":"2024-05-03T12:02:24+08:00","updated_at":"2024-05-03T12:02:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944","variant_ids":[41882802421859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122824-YB12","featured_media":{"alt":null,"id":23876126605411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882802487395,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471223701603,"product_id":7408110862435,"position":10,"created_at":"2024-05-03T12:02:34+08:00","updated_at":"2024-05-03T12:02:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954","variant_ids":[41882802487395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122804-YB12","featured_media":{"alt":null,"id":23876129030243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882802716771,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471219867747,"product_id":7408110862435,"position":3,"created_at":"2024-05-03T12:02:17+08:00","updated_at":"2024-05-03T12:02:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937","variant_ids":[41882802716771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB01228J5-YB12","featured_media":{"alt":null,"id":23876125130851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9411a62c94e43a7561bcaf3e8f3030ecf10839ba_d84fc7c0-897f-46f8-a524-2b6cb4ad0d98.webp?v=1714708932","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a459346dd68e858a0e7321bead9da319a8c543dd_bc916719-6769-457b-a082-21c51638df7f.webp?v=1714708935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c3c862e3ac478d7e80ed29520e7cfa7830a9a52_5c9ecbef-6f2a-4f68-ac73-eba10a29307b.webp?v=1714708940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a6fbb21923c24c6d3bc2ae8cde34c49b4c4cc7_6b5845dc-a5ed-47ca-9f72-742fa55fcbf7.webp?v=1714708942","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/818bf16b8df34259eace3c85703c757be8f7373e_0ec382df-d344-4d75-b8d7-26415336cdee.webp?v=1714708947","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8194a1ae31cafce280c137445f68d30b2ea97b3_2718188a-60c9-4c57-8547-1804d0c62489.webp?v=1714708949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3f6b9e0a822ab6fae17a10685cc6cb13a0ef4c3_e769ed12-e3a3-40ec-bc38-152a28ebf85d.webp?v=1714708952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9411a62c94e43a7561bcaf3e8f3030ecf10839ba_d84fc7c0-897f-46f8-a524-2b6cb4ad0d98.webp?v=1714708932","options":["color"],"media":[{"alt":null,"id":23876124213347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9411a62c94e43a7561bcaf3e8f3030ecf10839ba_d84fc7c0-897f-46f8-a524-2b6cb4ad0d98.webp?v=1714708932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9411a62c94e43a7561bcaf3e8f3030ecf10839ba_d84fc7c0-897f-46f8-a524-2b6cb4ad0d98.webp?v=1714708932","width":2000},{"alt":null,"id":23876124803171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a459346dd68e858a0e7321bead9da319a8c543dd_bc916719-6769-457b-a082-21c51638df7f.webp?v=1714708935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a459346dd68e858a0e7321bead9da319a8c543dd_bc916719-6769-457b-a082-21c51638df7f.webp?v=1714708935","width":2000},{"alt":null,"id":23876125130851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937","width":2000},{"alt":null,"id":23876125687907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c3c862e3ac478d7e80ed29520e7cfa7830a9a52_5c9ecbef-6f2a-4f68-ac73-eba10a29307b.webp?v=1714708940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c3c862e3ac478d7e80ed29520e7cfa7830a9a52_5c9ecbef-6f2a-4f68-ac73-eba10a29307b.webp?v=1714708940","width":2000},{"alt":null,"id":23876126048355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a6fbb21923c24c6d3bc2ae8cde34c49b4c4cc7_6b5845dc-a5ed-47ca-9f72-742fa55fcbf7.webp?v=1714708942"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a6fbb21923c24c6d3bc2ae8cde34c49b4c4cc7_6b5845dc-a5ed-47ca-9f72-742fa55fcbf7.webp?v=1714708942","width":2000},{"alt":null,"id":23876126605411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944","width":2000},{"alt":null,"id":23876127064163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/818bf16b8df34259eace3c85703c757be8f7373e_0ec382df-d344-4d75-b8d7-26415336cdee.webp?v=1714708947"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/818bf16b8df34259eace3c85703c757be8f7373e_0ec382df-d344-4d75-b8d7-26415336cdee.webp?v=1714708947","width":2000},{"alt":null,"id":23876127719523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8194a1ae31cafce280c137445f68d30b2ea97b3_2718188a-60c9-4c57-8547-1804d0c62489.webp?v=1714708949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8194a1ae31cafce280c137445f68d30b2ea97b3_2718188a-60c9-4c57-8547-1804d0c62489.webp?v=1714708949","width":2000},{"alt":null,"id":23876128505955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3f6b9e0a822ab6fae17a10685cc6cb13a0ef4c3_e769ed12-e3a3-40ec-bc38-152a28ebf85d.webp?v=1714708952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3f6b9e0a822ab6fae17a10685cc6cb13a0ef4c3_e769ed12-e3a3-40ec-bc38-152a28ebf85d.webp?v=1714708952","width":2000},{"alt":null,"id":23876129030243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882802421859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471221276771,"product_id":7408110862435,"position":6,"created_at":"2024-05-03T12:02:24+08:00","updated_at":"2024-05-03T12:02:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944","variant_ids":[41882802421859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122824-YB12","featured_media":{"alt":null,"id":23876126605411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882802487395,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471223701603,"product_id":7408110862435,"position":10,"created_at":"2024-05-03T12:02:34+08:00","updated_at":"2024-05-03T12:02:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954","variant_ids":[41882802487395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122804-YB12","featured_media":{"alt":null,"id":23876129030243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/712f8ab8d38fc57a47bb95f9d02af1bdaa2da596_3aba4201-c552-4849-9da7-86da25168eb1.webp?v=1714708954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882802716771,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471219867747,"product_id":7408110862435,"position":3,"created_at":"2024-05-03T12:02:17+08:00","updated_at":"2024-05-03T12:02:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937","variant_ids":[41882802716771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB01228J5-YB12","featured_media":{"alt":null,"id":23876125130851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0956bf8f2ef7773584f27aae83f4d14da0b16914_84258b30-0bbb-4669-a64a-6f8549719d0e.webp?v=1714708937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882802421859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31471221276771,"product_id":7408110862435,"position":6,"created_at":"2024-05-03T12:02:24+08:00","updated_at":"2024-05-03T12:02:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944","variant_ids":[41882802421859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122824-YB12","featured_media":{"alt":null,"id":23876126605411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/524408ac346930acdfe2618e57d740252cccc5cc_71e40318-46ac-4273-aa3b-fe72f80dda5c.webp?v=1714708944"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}