Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 雲朵綿綿
$product = {"id":7415019372643,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 雲朵綿綿","handle":"iphone-12-mini-mod-nx-magsafe-printable-yb10","description":null,"published_at":"2024-06-11T17:55:47+08:00","created_at":"2024-05-05T20:07:32+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":41911002071139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31487940067427,"product_id":7415019372643,"position":3,"created_at":"2024-05-05T20:07:40+08:00","updated_at":"2024-05-05T20:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860","variant_ids":[41911002071139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23893284356195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5eb18a6ed4d880ae388090174d1d983120830_de735fb8-c8c6-42f2-bcc4-154ee0e23153.webp?v=1714910855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7c8d5bf12bab3f7b2272ce53b9e9c9379cfc4c6_7bb3aa3e-0900-4523-8c09-7e4c9bfa890a.webp?v=1714910858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54181f5887f0f2df9bba00265e607a1ccb7bf59b_bad610dd-1fcb-4bd5-a1c9-781989801e11.webp?v=1714910862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a85a4d89c15466b3d1d021ce4dad012f016bd86d_7eb5e47e-2183-4657-b653-5c0f5e344343.webp?v=1714910864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db1c3127bfafded04b00fedc204a8e8e9c77e9b8_3da6a751-9292-49af-bb37-749456162c55.webp?v=1714910867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18f149fedc2d9bf31218ee70482c7603e0645c1_52ca9cc3-785d-44ef-b745-a7d32b929cf2.webp?v=1714910869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeaa456ada044f26a03286de8aa3c8b5f55a714e_07323961-bbe2-4095-a409-c569da6db6a4.webp?v=1714910872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de3db81d44ed07fea917f0bb0ef81034bfc5eaf8_57ab5211-bc50-4b74-88c5-e84694bfd633.webp?v=1714910875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7089d966d23eecb6bdd9f73b503e9bdc89ed80f_dd39d32d-ccf9-426c-9620-da6feab86a30.webp?v=1714910877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/819eaaf515fc8aca90bedca8e8a58e3e4752b075_266d8601-56c1-4019-a4dc-ae762bca014e.webp?v=1714910880"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5eb18a6ed4d880ae388090174d1d983120830_de735fb8-c8c6-42f2-bcc4-154ee0e23153.webp?v=1714910855","options":["color"],"media":[{"alt":null,"id":23893282750563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5eb18a6ed4d880ae388090174d1d983120830_de735fb8-c8c6-42f2-bcc4-154ee0e23153.webp?v=1714910855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ef5eb18a6ed4d880ae388090174d1d983120830_de735fb8-c8c6-42f2-bcc4-154ee0e23153.webp?v=1714910855","width":2000},{"alt":null,"id":23893283700835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7c8d5bf12bab3f7b2272ce53b9e9c9379cfc4c6_7bb3aa3e-0900-4523-8c09-7e4c9bfa890a.webp?v=1714910858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7c8d5bf12bab3f7b2272ce53b9e9c9379cfc4c6_7bb3aa3e-0900-4523-8c09-7e4c9bfa890a.webp?v=1714910858","width":2000},{"alt":null,"id":23893284356195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860","width":2000},{"alt":null,"id":23893285077091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54181f5887f0f2df9bba00265e607a1ccb7bf59b_bad610dd-1fcb-4bd5-a1c9-781989801e11.webp?v=1714910862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54181f5887f0f2df9bba00265e607a1ccb7bf59b_bad610dd-1fcb-4bd5-a1c9-781989801e11.webp?v=1714910862","width":2000},{"alt":null,"id":23893285568611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a85a4d89c15466b3d1d021ce4dad012f016bd86d_7eb5e47e-2183-4657-b653-5c0f5e344343.webp?v=1714910864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a85a4d89c15466b3d1d021ce4dad012f016bd86d_7eb5e47e-2183-4657-b653-5c0f5e344343.webp?v=1714910864","width":2000},{"alt":null,"id":23893286158435,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db1c3127bfafded04b00fedc204a8e8e9c77e9b8_3da6a751-9292-49af-bb37-749456162c55.webp?v=1714910867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db1c3127bfafded04b00fedc204a8e8e9c77e9b8_3da6a751-9292-49af-bb37-749456162c55.webp?v=1714910867","width":2000},{"alt":null,"id":23893286781027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18f149fedc2d9bf31218ee70482c7603e0645c1_52ca9cc3-785d-44ef-b745-a7d32b929cf2.webp?v=1714910869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18f149fedc2d9bf31218ee70482c7603e0645c1_52ca9cc3-785d-44ef-b745-a7d32b929cf2.webp?v=1714910869","width":2000},{"alt":null,"id":23893287862371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeaa456ada044f26a03286de8aa3c8b5f55a714e_07323961-bbe2-4095-a409-c569da6db6a4.webp?v=1714910872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeaa456ada044f26a03286de8aa3c8b5f55a714e_07323961-bbe2-4095-a409-c569da6db6a4.webp?v=1714910872","width":2000},{"alt":null,"id":23893288386659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de3db81d44ed07fea917f0bb0ef81034bfc5eaf8_57ab5211-bc50-4b74-88c5-e84694bfd633.webp?v=1714910875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de3db81d44ed07fea917f0bb0ef81034bfc5eaf8_57ab5211-bc50-4b74-88c5-e84694bfd633.webp?v=1714910875","width":2000},{"alt":null,"id":23893288910947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7089d966d23eecb6bdd9f73b503e9bdc89ed80f_dd39d32d-ccf9-426c-9620-da6feab86a30.webp?v=1714910877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7089d966d23eecb6bdd9f73b503e9bdc89ed80f_dd39d32d-ccf9-426c-9620-da6feab86a30.webp?v=1714910877","width":2000},{"alt":null,"id":23893289730147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/819eaaf515fc8aca90bedca8e8a58e3e4752b075_266d8601-56c1-4019-a4dc-ae762bca014e.webp?v=1714910880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/819eaaf515fc8aca90bedca8e8a58e3e4752b075_266d8601-56c1-4019-a4dc-ae762bca014e.webp?v=1714910880","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911002071139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31487940067427,"product_id":7415019372643,"position":3,"created_at":"2024-05-05T20:07:40+08:00","updated_at":"2024-05-05T20:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860","variant_ids":[41911002071139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23893284356195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911002071139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31487940067427,"product_id":7415019372643,"position":3,"created_at":"2024-05-05T20:07:40+08:00","updated_at":"2024-05-05T20:07:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860","variant_ids":[41911002071139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23893284356195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90bd8b8c9369faca0dea9ff402be9465652f9812_2ad46c98-f9dc-4479-919b-0ce8442c9d9a.webp?v=1714910860"}},"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: "停產"
}