$product = {"id":7407874211939,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear","handle":"iphone-14-pro-mod-nx-printable-yb02","description":null,"published_at":"2024-06-11T16:25:15+08:00","created_at":"2024-05-03T11:07:08+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 14 Pro","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":41879930077283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470589280355,"product_id":7407874211939,"position":4,"created_at":"2024-05-03T11:07:18+08:00","updated_at":"2024-05-03T11:07:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638","variant_ids":[41879930077283]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB0126224-YB02","featured_media":{"alt":null,"id":23875493134435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879930273891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470590656611,"product_id":7407874211939,"position":7,"created_at":"2024-05-03T11:07:25+08:00","updated_at":"2024-05-03T11:07:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645","variant_ids":[41879930273891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB0126204-YB02","featured_media":{"alt":null,"id":23875494510691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879930568803,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470588887139,"product_id":7407874211939,"position":3,"created_at":"2024-05-03T11:07:16+08:00","updated_at":"2024-05-03T11:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636","variant_ids":[41879930568803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB01262J5-YB02","featured_media":{"alt":null,"id":23875492741219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5826b630004f3b675174d2504d6e34101a168bda_82c23a2c-9467-46bf-b387-7073a2f857b2.webp?v=1714705631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37d1b59300f9780513508972e974a242d90f2010_70ba904b-24ae-42ba-ba0a-aa72116a8d19.webp?v=1714705633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320f914d8b8b769f3386cfe073579966955980c6_5489cb22-26a6-4d59-864d-24ee5d91580c.webp?v=1714705641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7511776f2519c85fdd31780337e57bfbca5a1ec7_e9f2d70d-e9fd-4c11-ab39-c2dbc8d586c4.webp?v=1714705643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24aa1dbe64d9fa0cde9804101e936c4300e208d7_318f9d96-250c-454b-ab16-167fadc37479.webp?v=1714705648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f9f84f7dcc4bb0593eb58c8c19fe38bac899073_ab2270de-359c-4fbb-837a-6615e991914d.webp?v=1714705650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f41f580c7d0d5906109e50cec507eb76263e2f28_a881281d-a15f-4ede-b998-4b52a0915b32.webp?v=1714705653"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5826b630004f3b675174d2504d6e34101a168bda_82c23a2c-9467-46bf-b387-7073a2f857b2.webp?v=1714705631","options":["color"],"media":[{"alt":null,"id":23875491889251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5826b630004f3b675174d2504d6e34101a168bda_82c23a2c-9467-46bf-b387-7073a2f857b2.webp?v=1714705631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5826b630004f3b675174d2504d6e34101a168bda_82c23a2c-9467-46bf-b387-7073a2f857b2.webp?v=1714705631","width":2000},{"alt":null,"id":23875492348003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37d1b59300f9780513508972e974a242d90f2010_70ba904b-24ae-42ba-ba0a-aa72116a8d19.webp?v=1714705633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37d1b59300f9780513508972e974a242d90f2010_70ba904b-24ae-42ba-ba0a-aa72116a8d19.webp?v=1714705633","width":2000},{"alt":null,"id":23875492741219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636","width":2000},{"alt":null,"id":23875493134435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638","width":2000},{"alt":null,"id":23875493691491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320f914d8b8b769f3386cfe073579966955980c6_5489cb22-26a6-4d59-864d-24ee5d91580c.webp?v=1714705641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/320f914d8b8b769f3386cfe073579966955980c6_5489cb22-26a6-4d59-864d-24ee5d91580c.webp?v=1714705641","width":2000},{"alt":null,"id":23875494084707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7511776f2519c85fdd31780337e57bfbca5a1ec7_e9f2d70d-e9fd-4c11-ab39-c2dbc8d586c4.webp?v=1714705643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7511776f2519c85fdd31780337e57bfbca5a1ec7_e9f2d70d-e9fd-4c11-ab39-c2dbc8d586c4.webp?v=1714705643","width":2000},{"alt":null,"id":23875494510691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645","width":2000},{"alt":null,"id":23875494969443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24aa1dbe64d9fa0cde9804101e936c4300e208d7_318f9d96-250c-454b-ab16-167fadc37479.webp?v=1714705648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24aa1dbe64d9fa0cde9804101e936c4300e208d7_318f9d96-250c-454b-ab16-167fadc37479.webp?v=1714705648","width":2000},{"alt":null,"id":23875495395427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f9f84f7dcc4bb0593eb58c8c19fe38bac899073_ab2270de-359c-4fbb-837a-6615e991914d.webp?v=1714705650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f9f84f7dcc4bb0593eb58c8c19fe38bac899073_ab2270de-359c-4fbb-837a-6615e991914d.webp?v=1714705650","width":2000},{"alt":null,"id":23875495854179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f41f580c7d0d5906109e50cec507eb76263e2f28_a881281d-a15f-4ede-b998-4b52a0915b32.webp?v=1714705653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f41f580c7d0d5906109e50cec507eb76263e2f28_a881281d-a15f-4ede-b998-4b52a0915b32.webp?v=1714705653","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879930077283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470589280355,"product_id":7407874211939,"position":4,"created_at":"2024-05-03T11:07:18+08:00","updated_at":"2024-05-03T11:07:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638","variant_ids":[41879930077283]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB0126224-YB02","featured_media":{"alt":null,"id":23875493134435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879930273891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470590656611,"product_id":7407874211939,"position":7,"created_at":"2024-05-03T11:07:25+08:00","updated_at":"2024-05-03T11:07:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645","variant_ids":[41879930273891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB0126204-YB02","featured_media":{"alt":null,"id":23875494510691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870eaa9945bceac2fae3998160dfbe9b8acf85c8_ac189ed7-606b-40d8-ab55-6a68e8579db9.webp?v=1714705645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879930568803,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470588887139,"product_id":7407874211939,"position":3,"created_at":"2024-05-03T11:07:16+08:00","updated_at":"2024-05-03T11:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636","variant_ids":[41879930568803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB01262J5-YB02","featured_media":{"alt":null,"id":23875492741219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f598d5ef9f8a1ea52e16413db36a103fd2c67fe_0887814c-6446-44a6-b30b-2721b1530441.webp?v=1714705636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879930077283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470589280355,"product_id":7407874211939,"position":4,"created_at":"2024-05-03T11:07:18+08:00","updated_at":"2024-05-03T11:07:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638","variant_ids":[41879930077283]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Best Friend Bear - 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":"NPB0126224-YB02","featured_media":{"alt":null,"id":23875493134435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9db254e3f5d1ff58cbefa872a4e6abc8198883_a7317f87-8930-4406-8799-02499c2acc79.webp?v=1714705638"}},"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: "停產"
}