$product = {"id":7411237355619,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 抱一個","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb01","description":null,"published_at":"2024-06-11T17:39:34+08:00","created_at":"2024-05-04T23:51:11+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 14 Pro","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":41896364507235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479929569379,"product_id":7411237355619,"position":10,"created_at":"2024-05-04T23:51:35+08:00","updated_at":"2024-05-04T23:51:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895","variant_ids":[41896364507235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-YB01","featured_media":{"alt":null,"id":23885180010595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896364572771,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479926292579,"product_id":7411237355619,"position":4,"created_at":"2024-05-04T23:51:20+08:00","updated_at":"2024-05-04T23:51:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880","variant_ids":[41896364572771]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-YB01","featured_media":{"alt":null,"id":23885176668259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896364802147,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479928553571,"product_id":7411237355619,"position":8,"created_at":"2024-05-04T23:51:30+08:00","updated_at":"2024-05-04T23:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890","variant_ids":[41896364802147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-YB01","featured_media":{"alt":null,"id":23885178994787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d38895fdd37c9059f8598ac13f0258c04b8a1a47_2defe726-08a1-4f26-bf30-fc3ab6a5c69e.webp?v=1714837873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76652a04eef536532ef8403cf0f8a360052c5b97_b7f66ece-0ef7-40bc-8497-f39514fd98f8.webp?v=1714837876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb7c6b48ecafec8a87e61864abaf58b53c0532e_5ad24156-2c61-49f2-bf8c-50b48ef03e6e.webp?v=1714837878","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f73a18047328c6c64c546b28f42766fd3af0850_5bd5bb5c-1794-4cba-b34a-ee9e9244ab6d.webp?v=1714837883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdf3b884fb72e0d086d369d493eade27e9e2657_a512539c-32a1-4828-8a2d-7b4238f7854a.webp?v=1714837885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/982267263596aac5e70ec7fdea67f9c853d56af7_4c97d808-bfbd-4952-87bb-a84082545689.webp?v=1714837887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38052b2ffd091949494b946a2e2ac3f9d91e95b9_c17aadad-e2d4-4e87-8b2e-05405e23d6ed.webp?v=1714837892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d38895fdd37c9059f8598ac13f0258c04b8a1a47_2defe726-08a1-4f26-bf30-fc3ab6a5c69e.webp?v=1714837873","options":["color"],"media":[{"alt":null,"id":23885175128163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d38895fdd37c9059f8598ac13f0258c04b8a1a47_2defe726-08a1-4f26-bf30-fc3ab6a5c69e.webp?v=1714837873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d38895fdd37c9059f8598ac13f0258c04b8a1a47_2defe726-08a1-4f26-bf30-fc3ab6a5c69e.webp?v=1714837873","width":2000},{"alt":null,"id":23885175685219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76652a04eef536532ef8403cf0f8a360052c5b97_b7f66ece-0ef7-40bc-8497-f39514fd98f8.webp?v=1714837876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76652a04eef536532ef8403cf0f8a360052c5b97_b7f66ece-0ef7-40bc-8497-f39514fd98f8.webp?v=1714837876","width":2000},{"alt":null,"id":23885176209507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb7c6b48ecafec8a87e61864abaf58b53c0532e_5ad24156-2c61-49f2-bf8c-50b48ef03e6e.webp?v=1714837878"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb7c6b48ecafec8a87e61864abaf58b53c0532e_5ad24156-2c61-49f2-bf8c-50b48ef03e6e.webp?v=1714837878","width":2000},{"alt":null,"id":23885176668259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880","width":2000},{"alt":null,"id":23885177290851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f73a18047328c6c64c546b28f42766fd3af0850_5bd5bb5c-1794-4cba-b34a-ee9e9244ab6d.webp?v=1714837883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f73a18047328c6c64c546b28f42766fd3af0850_5bd5bb5c-1794-4cba-b34a-ee9e9244ab6d.webp?v=1714837883","width":2000},{"alt":null,"id":23885177815139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdf3b884fb72e0d086d369d493eade27e9e2657_a512539c-32a1-4828-8a2d-7b4238f7854a.webp?v=1714837885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdf3b884fb72e0d086d369d493eade27e9e2657_a512539c-32a1-4828-8a2d-7b4238f7854a.webp?v=1714837885","width":2000},{"alt":null,"id":23885178470499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/982267263596aac5e70ec7fdea67f9c853d56af7_4c97d808-bfbd-4952-87bb-a84082545689.webp?v=1714837887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/982267263596aac5e70ec7fdea67f9c853d56af7_4c97d808-bfbd-4952-87bb-a84082545689.webp?v=1714837887","width":2000},{"alt":null,"id":23885178994787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890","width":2000},{"alt":null,"id":23885179486307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38052b2ffd091949494b946a2e2ac3f9d91e95b9_c17aadad-e2d4-4e87-8b2e-05405e23d6ed.webp?v=1714837892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38052b2ffd091949494b946a2e2ac3f9d91e95b9_c17aadad-e2d4-4e87-8b2e-05405e23d6ed.webp?v=1714837892","width":2000},{"alt":null,"id":23885180010595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896364507235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479929569379,"product_id":7411237355619,"position":10,"created_at":"2024-05-04T23:51:35+08:00","updated_at":"2024-05-04T23:51:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895","variant_ids":[41896364507235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-YB01","featured_media":{"alt":null,"id":23885180010595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896364572771,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479926292579,"product_id":7411237355619,"position":4,"created_at":"2024-05-04T23:51:20+08:00","updated_at":"2024-05-04T23:51:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880","variant_ids":[41896364572771]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-YB01","featured_media":{"alt":null,"id":23885176668259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94efb8fffc35dbc50909114a92843e302656ec6c_fbd48e41-a4de-48e8-9381-579731bc0595.webp?v=1714837880"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896364802147,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479928553571,"product_id":7411237355619,"position":8,"created_at":"2024-05-04T23:51:30+08:00","updated_at":"2024-05-04T23:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890","variant_ids":[41896364802147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-YB01","featured_media":{"alt":null,"id":23885178994787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a92a92999fb29d50052453f4ff6ac40773c0aa_2d6cd827-634c-4cf2-9a0d-91f59236db01.webp?v=1714837890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896364507235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479929569379,"product_id":7411237355619,"position":10,"created_at":"2024-05-04T23:51:35+08:00","updated_at":"2024-05-04T23:51:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895","variant_ids":[41896364507235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-YB01","featured_media":{"alt":null,"id":23885180010595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/031017e4396cd1e94fba6dd203881bf4aa613c0e_1ab0d76f-0751-482e-8e06-bae6052c6515.webp?v=1714837895"}},"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: "停產"
}