Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - Cheer Bear
$product = {"id":7414954557539,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - Cheer Bear","handle":"iphone-12-mini-mod-nx-magsafe-printable-yb03","description":null,"published_at":"2024-06-11T17:54:02+08:00","created_at":"2024-05-05T19:55:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41910315221091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31487768887395,"product_id":7414954557539,"position":2,"created_at":"2024-05-05T19:55:21+08:00","updated_at":"2024-05-05T19:55:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121","variant_ids":[41910315221091]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - Cheer Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-YB03","featured_media":{"alt":null,"id":23893112750179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee905346fa7c7cde9688a8108396fdf8bc77f0c_aedc041a-f8eb-43d4-9da4-24c66adf2aab.webp?v=1714910118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0a861565b7ece0eeefcb646d93e5a41b624e6_af365ab5-c66f-4459-b9cc-a2712af80390.webp?v=1714910124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04ba10a835e01f06f15cd425d969d40224da689_f146d923-45af-4077-af18-eeae9abcefac.webp?v=1714910126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e8ed720a87e815199a035dc37137b625c21305_21cb1963-5347-4cbc-a2bb-69976a385290.webp?v=1714910128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c6cff0998060458522b7d16a9616a5df7633b7a_553e7823-209e-492a-9f61-5ba5ebbef0b6.webp?v=1714910131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72b1fe70b6df507ae8863ed96834a2fbe0b26a7_19bcc5e2-d9f5-4d5d-aaea-bd9ae6334178.webp?v=1714910133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/449979d458132fdc97f16c71768de2fbbb3980ca_36a1c198-8904-43f7-be92-b1047d919e76.webp?v=1714910136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c04caf959516370dccdf101fb48d1c333b2c4b6_09ec1ec1-044e-42ba-9131-140f586d4afc.webp?v=1714910138","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/872ba3bf844587de77598c1deebebc51e2baf135_b45d06f8-b377-472c-bc4c-25d62ca5d493.webp?v=1714910141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91a0e970bc37e37a0fde4797a8d0e9f7a0ae0c64_1feb4cf2-55c2-4665-80de-0e109acd3571.webp?v=1714910143"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee905346fa7c7cde9688a8108396fdf8bc77f0c_aedc041a-f8eb-43d4-9da4-24c66adf2aab.webp?v=1714910118","options":["color"],"media":[{"alt":null,"id":23893112389731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee905346fa7c7cde9688a8108396fdf8bc77f0c_aedc041a-f8eb-43d4-9da4-24c66adf2aab.webp?v=1714910118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee905346fa7c7cde9688a8108396fdf8bc77f0c_aedc041a-f8eb-43d4-9da4-24c66adf2aab.webp?v=1714910118","width":2000},{"alt":null,"id":23893112750179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121","width":2000},{"alt":null,"id":23893113045091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0a861565b7ece0eeefcb646d93e5a41b624e6_af365ab5-c66f-4459-b9cc-a2712af80390.webp?v=1714910124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc0a861565b7ece0eeefcb646d93e5a41b624e6_af365ab5-c66f-4459-b9cc-a2712af80390.webp?v=1714910124","width":2000},{"alt":null,"id":23893113995363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04ba10a835e01f06f15cd425d969d40224da689_f146d923-45af-4077-af18-eeae9abcefac.webp?v=1714910126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04ba10a835e01f06f15cd425d969d40224da689_f146d923-45af-4077-af18-eeae9abcefac.webp?v=1714910126","width":2000},{"alt":null,"id":23893114421347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e8ed720a87e815199a035dc37137b625c21305_21cb1963-5347-4cbc-a2bb-69976a385290.webp?v=1714910128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e8ed720a87e815199a035dc37137b625c21305_21cb1963-5347-4cbc-a2bb-69976a385290.webp?v=1714910128","width":2000},{"alt":null,"id":23893115043939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c6cff0998060458522b7d16a9616a5df7633b7a_553e7823-209e-492a-9f61-5ba5ebbef0b6.webp?v=1714910131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c6cff0998060458522b7d16a9616a5df7633b7a_553e7823-209e-492a-9f61-5ba5ebbef0b6.webp?v=1714910131","width":2000},{"alt":null,"id":23893115437155,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72b1fe70b6df507ae8863ed96834a2fbe0b26a7_19bcc5e2-d9f5-4d5d-aaea-bd9ae6334178.webp?v=1714910133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72b1fe70b6df507ae8863ed96834a2fbe0b26a7_19bcc5e2-d9f5-4d5d-aaea-bd9ae6334178.webp?v=1714910133","width":2000},{"alt":null,"id":23893116223587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/449979d458132fdc97f16c71768de2fbbb3980ca_36a1c198-8904-43f7-be92-b1047d919e76.webp?v=1714910136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/449979d458132fdc97f16c71768de2fbbb3980ca_36a1c198-8904-43f7-be92-b1047d919e76.webp?v=1714910136","width":2000},{"alt":null,"id":23893116584035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c04caf959516370dccdf101fb48d1c333b2c4b6_09ec1ec1-044e-42ba-9131-140f586d4afc.webp?v=1714910138"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c04caf959516370dccdf101fb48d1c333b2c4b6_09ec1ec1-044e-42ba-9131-140f586d4afc.webp?v=1714910138","width":2000},{"alt":null,"id":23893117108323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/872ba3bf844587de77598c1deebebc51e2baf135_b45d06f8-b377-472c-bc4c-25d62ca5d493.webp?v=1714910141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/872ba3bf844587de77598c1deebebc51e2baf135_b45d06f8-b377-472c-bc4c-25d62ca5d493.webp?v=1714910141","width":2000},{"alt":null,"id":23893117796451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91a0e970bc37e37a0fde4797a8d0e9f7a0ae0c64_1feb4cf2-55c2-4665-80de-0e109acd3571.webp?v=1714910143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91a0e970bc37e37a0fde4797a8d0e9f7a0ae0c64_1feb4cf2-55c2-4665-80de-0e109acd3571.webp?v=1714910143","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910315221091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31487768887395,"product_id":7414954557539,"position":2,"created_at":"2024-05-05T19:55:21+08:00","updated_at":"2024-05-05T19:55:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121","variant_ids":[41910315221091]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - Cheer Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-YB03","featured_media":{"alt":null,"id":23893112750179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910315221091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31487768887395,"product_id":7414954557539,"position":2,"created_at":"2024-05-05T19:55:21+08:00","updated_at":"2024-05-05T19:55:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121","variant_ids":[41910315221091]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - Cheer Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-YB03","featured_media":{"alt":null,"id":23893112750179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906097c10252d58350138b8ab74bc381aeebd025_8d437832-4887-4438-a527-caa94cb1e4e0.webp?v=1714910121"}},"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: "停產"
}