Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 熊滿星空
$product = {"id":7408406560867,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 熊滿星空","handle":"iphone-12-mini-mod-nx-printable-yb09","description":null,"published_at":"2024-06-11T16:36:22+08:00","created_at":"2024-05-03T15:20: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":41885132423267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31472184885347,"product_id":7408406560867,"position":4,"created_at":"2024-05-03T15:20:34+08:00","updated_at":"2024-05-03T15:20:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834","variant_ids":[41885132423267]},"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-YB09","featured_media":{"alt":null,"id":23877100666979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b796c513bd9a37950bc7a6107a7a27a2ca8dcf6_caa63fe9-b600-40d1-aee5-8a7ef758b2c9.webp?v=1714720827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f20fd1c3de00e2724b83608613f0e32fd590eb_98b453e0-e16c-43d4-99eb-7860723d6aa9.webp?v=1714720829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9339106e5e309c530c4f3002f57393c48135ebf8_918b0422-2f49-47f8-a46d-3155493697e4.webp?v=1714720832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b5a46e17d614df479131036c10d441d8ff6b50d_6812682f-9eb2-46b9-81c7-2ad0c3631faa.webp?v=1714720837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01817db2324b552c3cb4ab6687899aaac47429b0_eb11ee01-ad69-426e-88db-ad8174315ca4.webp?v=1714720840","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d18cc5f6709698972cf8f1b9982641c6bbc87c_e95412a9-45ec-48c6-ab0e-72ff65895d52.webp?v=1714720842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e07f80a1df0ea2f5a99ee4f63162caed7f0754_53c999b0-ced2-4754-ad6b-65ab86b3a3c8.webp?v=1714720844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eb7a8d0df9d999dff048dee8ce3f9b3647d0de0_4f10abb1-9931-4335-a6e3-87407adf971f.webp?v=1714720847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05acff1f954628b96ca0fa024bada4e60e5056b9_5875b865-f9f5-459e-9cff-e98714eeafe2.webp?v=1714720849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58984cd46db12df7788242f075b97b6bb68721c5_cdac0735-ed7f-4d23-9cb1-664b92411b59.webp?v=1714720852"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b796c513bd9a37950bc7a6107a7a27a2ca8dcf6_caa63fe9-b600-40d1-aee5-8a7ef758b2c9.webp?v=1714720827","options":["color"],"media":[{"alt":null,"id":23877098143843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b796c513bd9a37950bc7a6107a7a27a2ca8dcf6_caa63fe9-b600-40d1-aee5-8a7ef758b2c9.webp?v=1714720827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b796c513bd9a37950bc7a6107a7a27a2ca8dcf6_caa63fe9-b600-40d1-aee5-8a7ef758b2c9.webp?v=1714720827","width":2000},{"alt":null,"id":23877098831971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f20fd1c3de00e2724b83608613f0e32fd590eb_98b453e0-e16c-43d4-99eb-7860723d6aa9.webp?v=1714720829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f20fd1c3de00e2724b83608613f0e32fd590eb_98b453e0-e16c-43d4-99eb-7860723d6aa9.webp?v=1714720829","width":2000},{"alt":null,"id":23877099651171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9339106e5e309c530c4f3002f57393c48135ebf8_918b0422-2f49-47f8-a46d-3155493697e4.webp?v=1714720832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9339106e5e309c530c4f3002f57393c48135ebf8_918b0422-2f49-47f8-a46d-3155493697e4.webp?v=1714720832","width":2000},{"alt":null,"id":23877100666979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834","width":2000},{"alt":null,"id":23877101486179,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b5a46e17d614df479131036c10d441d8ff6b50d_6812682f-9eb2-46b9-81c7-2ad0c3631faa.webp?v=1714720837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b5a46e17d614df479131036c10d441d8ff6b50d_6812682f-9eb2-46b9-81c7-2ad0c3631faa.webp?v=1714720837","width":2000},{"alt":null,"id":23877102338147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01817db2324b552c3cb4ab6687899aaac47429b0_eb11ee01-ad69-426e-88db-ad8174315ca4.webp?v=1714720840"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01817db2324b552c3cb4ab6687899aaac47429b0_eb11ee01-ad69-426e-88db-ad8174315ca4.webp?v=1714720840","width":2000},{"alt":null,"id":23877103026275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d18cc5f6709698972cf8f1b9982641c6bbc87c_e95412a9-45ec-48c6-ab0e-72ff65895d52.webp?v=1714720842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d18cc5f6709698972cf8f1b9982641c6bbc87c_e95412a9-45ec-48c6-ab0e-72ff65895d52.webp?v=1714720842","width":2000},{"alt":null,"id":23877103714403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e07f80a1df0ea2f5a99ee4f63162caed7f0754_53c999b0-ced2-4754-ad6b-65ab86b3a3c8.webp?v=1714720844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e07f80a1df0ea2f5a99ee4f63162caed7f0754_53c999b0-ced2-4754-ad6b-65ab86b3a3c8.webp?v=1714720844","width":2000},{"alt":null,"id":23877104205923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eb7a8d0df9d999dff048dee8ce3f9b3647d0de0_4f10abb1-9931-4335-a6e3-87407adf971f.webp?v=1714720847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eb7a8d0df9d999dff048dee8ce3f9b3647d0de0_4f10abb1-9931-4335-a6e3-87407adf971f.webp?v=1714720847","width":2000},{"alt":null,"id":23877104631907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05acff1f954628b96ca0fa024bada4e60e5056b9_5875b865-f9f5-459e-9cff-e98714eeafe2.webp?v=1714720849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05acff1f954628b96ca0fa024bada4e60e5056b9_5875b865-f9f5-459e-9cff-e98714eeafe2.webp?v=1714720849","width":2000},{"alt":null,"id":23877105549411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58984cd46db12df7788242f075b97b6bb68721c5_cdac0735-ed7f-4d23-9cb1-664b92411b59.webp?v=1714720852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58984cd46db12df7788242f075b97b6bb68721c5_cdac0735-ed7f-4d23-9cb1-664b92411b59.webp?v=1714720852","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885132423267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31472184885347,"product_id":7408406560867,"position":4,"created_at":"2024-05-03T15:20:34+08:00","updated_at":"2024-05-03T15:20:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834","variant_ids":[41885132423267]},"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-YB09","featured_media":{"alt":null,"id":23877100666979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885132423267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31472184885347,"product_id":7408406560867,"position":4,"created_at":"2024-05-03T15:20:34+08:00","updated_at":"2024-05-03T15:20:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834","variant_ids":[41885132423267]},"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-YB09","featured_media":{"alt":null,"id":23877100666979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ad6f9ab918ffbf1d99535e9d1b395c5e17174d3_4a43c307-2154-432a-bcca-ad23ece513ae.webp?v=1714720834"}},"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: "停產"
}