$product = {"id":7414697525347,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb14","description":null,"published_at":"2024-06-11T17:53:10+08:00","created_at":"2024-05-05T14:38:50+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 13 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":41908357169251,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486063607907,"product_id":7414697525347,"position":7,"created_at":"2024-05-05T14:39:07+08:00","updated_at":"2024-05-05T14:39:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147","variant_ids":[41908357169251]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB0122824-YB14","featured_media":{"alt":null,"id":23891399180387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908357234787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486055743587,"product_id":7414697525347,"position":3,"created_at":"2024-05-05T14:38:57+08:00","updated_at":"2024-05-05T14:38:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137","variant_ids":[41908357234787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB0122804-YB14","featured_media":{"alt":null,"id":23891391184995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908357496931,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486066491491,"product_id":7414697525347,"position":9,"created_at":"2024-05-05T14:39:12+08:00","updated_at":"2024-05-05T14:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152","variant_ids":[41908357496931]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB01228J5-YB14","featured_media":{"alt":null,"id":23891402227811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2d7eaff3021700f20df50b113f892dba035fb40_5633b037-8f78-402e-addc-6a0dc757be5e.webp?v=1714891133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7d89f26b5b9356eb92370d98e64f0b7f872141_961618e1-c5e5-4881-aa96-6e31603a2e5e.webp?v=1714891135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce34d0f638c14e7b6b933e39159b3c5335523eb2_43f38935-fd3d-4526-b184-f806544183cd.webp?v=1714891140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee6022801c2064e8dea14ab032a68eac6be5940_01c7e614-a5e6-4f17-b995-990321a64615.webp?v=1714891142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a47f24e0bb073053e647ec87f13a69ddfe218d1e_e129b687-37a2-4b19-a16a-ce95343684ab.webp?v=1714891145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41de40f70ded2e70a683064e912354b3bc431dc_22229b1a-70f8-4948-9af2-07934851e203.webp?v=1714891149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a11f55eaa4e387f7c2224eb44e66665e4509df_f3f4f124-f173-4760-a2b0-1b1516557171.webp?v=1714891154"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2d7eaff3021700f20df50b113f892dba035fb40_5633b037-8f78-402e-addc-6a0dc757be5e.webp?v=1714891133","options":["color"],"media":[{"alt":null,"id":23891388301411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2d7eaff3021700f20df50b113f892dba035fb40_5633b037-8f78-402e-addc-6a0dc757be5e.webp?v=1714891133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2d7eaff3021700f20df50b113f892dba035fb40_5633b037-8f78-402e-addc-6a0dc757be5e.webp?v=1714891133","width":2000},{"alt":null,"id":23891389644899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7d89f26b5b9356eb92370d98e64f0b7f872141_961618e1-c5e5-4881-aa96-6e31603a2e5e.webp?v=1714891135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7d89f26b5b9356eb92370d98e64f0b7f872141_961618e1-c5e5-4881-aa96-6e31603a2e5e.webp?v=1714891135","width":2000},{"alt":null,"id":23891391184995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137","width":2000},{"alt":null,"id":23891393937507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce34d0f638c14e7b6b933e39159b3c5335523eb2_43f38935-fd3d-4526-b184-f806544183cd.webp?v=1714891140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce34d0f638c14e7b6b933e39159b3c5335523eb2_43f38935-fd3d-4526-b184-f806544183cd.webp?v=1714891140","width":2000},{"alt":null,"id":23891396231267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee6022801c2064e8dea14ab032a68eac6be5940_01c7e614-a5e6-4f17-b995-990321a64615.webp?v=1714891142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee6022801c2064e8dea14ab032a68eac6be5940_01c7e614-a5e6-4f17-b995-990321a64615.webp?v=1714891142","width":2000},{"alt":null,"id":23891397738595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a47f24e0bb073053e647ec87f13a69ddfe218d1e_e129b687-37a2-4b19-a16a-ce95343684ab.webp?v=1714891145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a47f24e0bb073053e647ec87f13a69ddfe218d1e_e129b687-37a2-4b19-a16a-ce95343684ab.webp?v=1714891145","width":2000},{"alt":null,"id":23891399180387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147","width":2000},{"alt":null,"id":23891400753251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41de40f70ded2e70a683064e912354b3bc431dc_22229b1a-70f8-4948-9af2-07934851e203.webp?v=1714891149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41de40f70ded2e70a683064e912354b3bc431dc_22229b1a-70f8-4948-9af2-07934851e203.webp?v=1714891149","width":2000},{"alt":null,"id":23891402227811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152","width":2000},{"alt":null,"id":23891403767907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a11f55eaa4e387f7c2224eb44e66665e4509df_f3f4f124-f173-4760-a2b0-1b1516557171.webp?v=1714891154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a11f55eaa4e387f7c2224eb44e66665e4509df_f3f4f124-f173-4760-a2b0-1b1516557171.webp?v=1714891154","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41908357169251,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486063607907,"product_id":7414697525347,"position":7,"created_at":"2024-05-05T14:39:07+08:00","updated_at":"2024-05-05T14:39:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147","variant_ids":[41908357169251]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB0122824-YB14","featured_media":{"alt":null,"id":23891399180387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908357234787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486055743587,"product_id":7414697525347,"position":3,"created_at":"2024-05-05T14:38:57+08:00","updated_at":"2024-05-05T14:38:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137","variant_ids":[41908357234787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB0122804-YB14","featured_media":{"alt":null,"id":23891391184995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e8463338d70162baf76d511e48394c8eaf7e1c_b50424fa-8b15-4881-afda-01aaa8d7aa10.webp?v=1714891137"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908357496931,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486066491491,"product_id":7414697525347,"position":9,"created_at":"2024-05-05T14:39:12+08:00","updated_at":"2024-05-05T14:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152","variant_ids":[41908357496931]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB01228J5-YB14","featured_media":{"alt":null,"id":23891402227811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc890d6503ad995b3e98a46234b2d21742fb7e2f_cc1f0280-1c84-4003-a8d1-9d6a6b35bcd3.webp?v=1714891152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41908357169251,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31486063607907,"product_id":7414697525347,"position":7,"created_at":"2024-05-05T14:39:07+08:00","updated_at":"2024-05-05T14:39:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147","variant_ids":[41908357169251]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - We are together - 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":"MPB0122824-YB14","featured_media":{"alt":null,"id":23891399180387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bff5352906b521c472cefb7418c1d8d705671f_f6478a6b-1132-4b03-a877-d97107a7352e.webp?v=1714891147"}},"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: "停產"
}