$product = {"id":7408067215459,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - 粉紫樂園","handle":"iphone-13-mini-mod-nx-printable-yb13","description":null,"published_at":"2024-06-11T16:30:30+08:00","created_at":"2024-05-03T11:52:45+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 13 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":41882305364067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471108358243,"product_id":7408067215459,"position":7,"created_at":"2024-05-03T11:53:03+08:00","updated_at":"2024-05-03T11:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383","variant_ids":[41882305364067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122824-YB13","featured_media":{"alt":null,"id":23876013588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882305429603,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471105474659,"product_id":7408067215459,"position":1,"created_at":"2024-05-03T11:52:48+08:00","updated_at":"2024-05-03T11:52:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368","variant_ids":[41882305429603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122804-YB13","featured_media":{"alt":null,"id":23876010672227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882305691747,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471107866723,"product_id":7408067215459,"position":6,"created_at":"2024-05-03T11:53:00+08:00","updated_at":"2024-05-03T11:53:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380","variant_ids":[41882305691747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB01228J5-YB13","featured_media":{"alt":null,"id":23876013064291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71dccce33df6324cff8947038ae147e421b5276b_509f96f6-aff7-43ae-8da1-9b47847e55a8.webp?v=1714708370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad2cde30ed707f96b1d199367e43ab801c8ce2ee_f4b2cade-9a11-496b-97ec-96fbb570a360.webp?v=1714708373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e864f1532deb5e47a54a4e16b01eadfe2a81468_20d90682-6926-485e-99df-0367f70a077c.webp?v=1714708375","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca814a5fc47ad48904fd2da22be9ed51c6c507c5_21cbeb49-67b0-448c-9f7b-00fc671d33e5.webp?v=1714708378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dda11b909204f9efca098205209e3fb41da3693c_bbfdb794-201a-479f-892d-e69e171caa4e.webp?v=1714708385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd90e3161fd258a268d50576e4683c320d35e165_f1673d1f-afe9-4bf1-b348-0815513fc87d.webp?v=1714708388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b7c0cc8b371e9819bd2c314e3181bec4f49f87_1144cf01-6c4a-4bcd-b9ca-51deed2d6525.webp?v=1714708390"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368","options":["color"],"media":[{"alt":null,"id":23876010672227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368","width":2000},{"alt":null,"id":23876011458659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71dccce33df6324cff8947038ae147e421b5276b_509f96f6-aff7-43ae-8da1-9b47847e55a8.webp?v=1714708370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71dccce33df6324cff8947038ae147e421b5276b_509f96f6-aff7-43ae-8da1-9b47847e55a8.webp?v=1714708370","width":2000},{"alt":null,"id":23876011786339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad2cde30ed707f96b1d199367e43ab801c8ce2ee_f4b2cade-9a11-496b-97ec-96fbb570a360.webp?v=1714708373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad2cde30ed707f96b1d199367e43ab801c8ce2ee_f4b2cade-9a11-496b-97ec-96fbb570a360.webp?v=1714708373","width":2000},{"alt":null,"id":23876012245091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e864f1532deb5e47a54a4e16b01eadfe2a81468_20d90682-6926-485e-99df-0367f70a077c.webp?v=1714708375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e864f1532deb5e47a54a4e16b01eadfe2a81468_20d90682-6926-485e-99df-0367f70a077c.webp?v=1714708375","width":2000},{"alt":null,"id":23876012671075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca814a5fc47ad48904fd2da22be9ed51c6c507c5_21cbeb49-67b0-448c-9f7b-00fc671d33e5.webp?v=1714708378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca814a5fc47ad48904fd2da22be9ed51c6c507c5_21cbeb49-67b0-448c-9f7b-00fc671d33e5.webp?v=1714708378","width":2000},{"alt":null,"id":23876013064291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380","width":2000},{"alt":null,"id":23876013588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383","width":2000},{"alt":null,"id":23876014014563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dda11b909204f9efca098205209e3fb41da3693c_bbfdb794-201a-479f-892d-e69e171caa4e.webp?v=1714708385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dda11b909204f9efca098205209e3fb41da3693c_bbfdb794-201a-479f-892d-e69e171caa4e.webp?v=1714708385","width":2000},{"alt":null,"id":23876014899299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd90e3161fd258a268d50576e4683c320d35e165_f1673d1f-afe9-4bf1-b348-0815513fc87d.webp?v=1714708388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd90e3161fd258a268d50576e4683c320d35e165_f1673d1f-afe9-4bf1-b348-0815513fc87d.webp?v=1714708388","width":2000},{"alt":null,"id":23876015456355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b7c0cc8b371e9819bd2c314e3181bec4f49f87_1144cf01-6c4a-4bcd-b9ca-51deed2d6525.webp?v=1714708390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b7c0cc8b371e9819bd2c314e3181bec4f49f87_1144cf01-6c4a-4bcd-b9ca-51deed2d6525.webp?v=1714708390","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882305364067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471108358243,"product_id":7408067215459,"position":7,"created_at":"2024-05-03T11:53:03+08:00","updated_at":"2024-05-03T11:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383","variant_ids":[41882305364067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122824-YB13","featured_media":{"alt":null,"id":23876013588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882305429603,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471105474659,"product_id":7408067215459,"position":1,"created_at":"2024-05-03T11:52:48+08:00","updated_at":"2024-05-03T11:52:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368","variant_ids":[41882305429603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122804-YB13","featured_media":{"alt":null,"id":23876010672227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/172282f4bba49a9caf3f8cf504d576351dd50739_c675fcd4-2023-441c-89bb-7d9f05d682fb.webp?v=1714708368"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882305691747,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471107866723,"product_id":7408067215459,"position":6,"created_at":"2024-05-03T11:53:00+08:00","updated_at":"2024-05-03T11:53:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380","variant_ids":[41882305691747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB01228J5-YB13","featured_media":{"alt":null,"id":23876013064291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa424aec790029fd5a6d092d710c1c499475bc9a_ef73fc2e-074f-4c09-b559-7e0d7d50cff5.webp?v=1714708380"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882305364067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31471108358243,"product_id":7408067215459,"position":7,"created_at":"2024-05-03T11:53:03+08:00","updated_at":"2024-05-03T11:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383","variant_ids":[41882305364067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 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":"NPB0122824-YB13","featured_media":{"alt":null,"id":23876013588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c1abe77715a0b24d37cacd37727a4b2d0147ff_21cef7e5-d000-4c02-8d7d-6ec1b443a228.webp?v=1714708383"}},"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: "停產"
}