$product = {"id":7408096084067,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - 抱一個","handle":"iphone-13-mini-mod-nx-printable-yb01","description":null,"published_at":"2024-06-11T16:31:16+08:00","created_at":"2024-05-03T11:59:09+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":41882635075683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471182348387,"product_id":7408096084067,"position":1,"created_at":"2024-05-03T11:59:11+08:00","updated_at":"2024-05-03T11:59:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751","variant_ids":[41882635075683]},"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-YB01","featured_media":{"alt":null,"id":23876087578723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882635141219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471186378851,"product_id":7408096084067,"position":10,"created_at":"2024-05-03T11:59:33+08:00","updated_at":"2024-05-03T11:59:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773","variant_ids":[41882635141219]},"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-YB01","featured_media":{"alt":null,"id":23876091674723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882635370595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471184642147,"product_id":7408096084067,"position":6,"created_at":"2024-05-03T11:59:23+08:00","updated_at":"2024-05-03T11:59:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763","variant_ids":[41882635370595]},"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-YB01","featured_media":{"alt":null,"id":23876089938019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17de84fd606a4726f2a35d82aa6050cf1fa3ac2e_d5f55eaf-2187-4a4e-8373-1077092de087.webp?v=1714708754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/435628389e12ddc3e8b7e977c9a253a313f7f69b_ce8e7968-1a2b-42c9-8203-528df441c19f.webp?v=1714708756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4a8612adc797169701ff051e8cc1477cc983cd_3f1e97df-5dbb-43fe-abf8-68879e431f90.webp?v=1714708759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff99b14a8959c6b7dfe81ffb4acd2b02edf796f_2de463be-a140-4881-9b8a-6f355584eceb.webp?v=1714708761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700d11244869d013f97d7b52b1e0c11aaa74f5f_a48565b1-7eaa-4527-aadc-ab5977eab2f3.webp?v=1714708766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a64fdf6652d92e12e4216a26257b84daf27f15_c604a435-7288-493e-bc9f-4444c3ab410e.webp?v=1714708768","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ae86db8172c43a2e3371874903bb2a3724a4bc2_bef6bee9-1e74-4cc6-9f07-6728f39b3803.webp?v=1714708770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751","options":["color"],"media":[{"alt":null,"id":23876087578723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751","width":2000},{"alt":null,"id":23876087971939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17de84fd606a4726f2a35d82aa6050cf1fa3ac2e_d5f55eaf-2187-4a4e-8373-1077092de087.webp?v=1714708754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17de84fd606a4726f2a35d82aa6050cf1fa3ac2e_d5f55eaf-2187-4a4e-8373-1077092de087.webp?v=1714708754","width":2000},{"alt":null,"id":23876088660067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/435628389e12ddc3e8b7e977c9a253a313f7f69b_ce8e7968-1a2b-42c9-8203-528df441c19f.webp?v=1714708756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/435628389e12ddc3e8b7e977c9a253a313f7f69b_ce8e7968-1a2b-42c9-8203-528df441c19f.webp?v=1714708756","width":2000},{"alt":null,"id":23876089053283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4a8612adc797169701ff051e8cc1477cc983cd_3f1e97df-5dbb-43fe-abf8-68879e431f90.webp?v=1714708759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4a8612adc797169701ff051e8cc1477cc983cd_3f1e97df-5dbb-43fe-abf8-68879e431f90.webp?v=1714708759","width":2000},{"alt":null,"id":23876089446499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff99b14a8959c6b7dfe81ffb4acd2b02edf796f_2de463be-a140-4881-9b8a-6f355584eceb.webp?v=1714708761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff99b14a8959c6b7dfe81ffb4acd2b02edf796f_2de463be-a140-4881-9b8a-6f355584eceb.webp?v=1714708761","width":2000},{"alt":null,"id":23876089938019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763","width":2000},{"alt":null,"id":23876090232931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700d11244869d013f97d7b52b1e0c11aaa74f5f_a48565b1-7eaa-4527-aadc-ab5977eab2f3.webp?v=1714708766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8700d11244869d013f97d7b52b1e0c11aaa74f5f_a48565b1-7eaa-4527-aadc-ab5977eab2f3.webp?v=1714708766","width":2000},{"alt":null,"id":23876090789987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a64fdf6652d92e12e4216a26257b84daf27f15_c604a435-7288-493e-bc9f-4444c3ab410e.webp?v=1714708768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a64fdf6652d92e12e4216a26257b84daf27f15_c604a435-7288-493e-bc9f-4444c3ab410e.webp?v=1714708768","width":2000},{"alt":null,"id":23876091052131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ae86db8172c43a2e3371874903bb2a3724a4bc2_bef6bee9-1e74-4cc6-9f07-6728f39b3803.webp?v=1714708770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ae86db8172c43a2e3371874903bb2a3724a4bc2_bef6bee9-1e74-4cc6-9f07-6728f39b3803.webp?v=1714708770","width":2000},{"alt":null,"id":23876091674723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882635075683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471182348387,"product_id":7408096084067,"position":1,"created_at":"2024-05-03T11:59:11+08:00","updated_at":"2024-05-03T11:59:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751","variant_ids":[41882635075683]},"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-YB01","featured_media":{"alt":null,"id":23876087578723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882635141219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471186378851,"product_id":7408096084067,"position":10,"created_at":"2024-05-03T11:59:33+08:00","updated_at":"2024-05-03T11:59:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773","variant_ids":[41882635141219]},"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-YB01","featured_media":{"alt":null,"id":23876091674723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33431772fd83673e563e185912e059da9d369712_f0212fc9-f91e-4f51-b98e-2454ad8b39fe.webp?v=1714708773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882635370595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471184642147,"product_id":7408096084067,"position":6,"created_at":"2024-05-03T11:59:23+08:00","updated_at":"2024-05-03T11:59:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763","variant_ids":[41882635370595]},"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-YB01","featured_media":{"alt":null,"id":23876089938019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b25d1d38b7909b18cba813d932558619bed35c_e5b4433d-0565-40cb-9473-ce302eb893f7.webp?v=1714708763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882635075683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471182348387,"product_id":7408096084067,"position":1,"created_at":"2024-05-03T11:59:11+08:00","updated_at":"2024-05-03T11:59:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751","variant_ids":[41882635075683]},"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-YB01","featured_media":{"alt":null,"id":23876087578723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42cd51fb761e4da3d98b65ec0ec9452cb8bf92e_2a664d3a-424b-4696-bb46-0c531c60ab7e.webp?v=1714708751"}},"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: "停產"
}