$product = {"id":7414600269923,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 雨愛灌溉","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb08","description":null,"published_at":"2024-06-11T17:52:27+08:00","created_at":"2024-05-05T14:33:22+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":41907700924515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485850648675,"product_id":7414600269923,"position":1,"created_at":"2024-05-05T14:33:24+08:00","updated_at":"2024-05-05T14:33:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804","variant_ids":[41907700924515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122824-YB08","featured_media":{"alt":null,"id":23891185762403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907701022819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485858283619,"product_id":7414600269923,"position":7,"created_at":"2024-05-05T14:33:38+08:00","updated_at":"2024-05-05T14:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818","variant_ids":[41907701022819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122804-YB08","featured_media":{"alt":null,"id":23891193200739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907701481571,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485854679139,"product_id":7414600269923,"position":4,"created_at":"2024-05-05T14:33:31+08:00","updated_at":"2024-05-05T14:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811","variant_ids":[41907701481571]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB01228J5-YB08","featured_media":{"alt":null,"id":23891189661795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb82d512ca56ff56bc86781b019fb236b4e2b96_756610cb-7023-4051-899f-c09d7b87d73c.webp?v=1714890806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ef7185d71577040e426e60dd82c20e0409b1096_b5ec35a2-b430-4e14-bea1-c375575ab92d.webp?v=1714890809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a72fecc417f50775e0c4f528226852d098ed48_6fb4832d-8083-41bd-ae96-419d1928f59e.webp?v=1714890814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/114587d5ae649e0c2c460ae3dd1de69d686a21b1_3cf461b8-76cc-4dfb-895f-0416b002575a.webp?v=1714890816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c42b12b3d256e86f0ed0e304e0cfb85e6112b2_b17bc9d4-3586-48c0-90b4-160e5ff6e0cd.webp?v=1714890820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e602841e4b36693bc80a4bd1f5d0336227cd68fc_6381bb6d-6c13-4bb4-a81d-54e05ce1464a.webp?v=1714890823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1dbe38c8cf1d99a40e3f0b9df48bbb121bdc86e_27c044bf-2305-495b-94ab-d1919022ecec.webp?v=1714890825"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804","options":["color"],"media":[{"alt":null,"id":23891185762403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804","width":2000},{"alt":null,"id":23891187138659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb82d512ca56ff56bc86781b019fb236b4e2b96_756610cb-7023-4051-899f-c09d7b87d73c.webp?v=1714890806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb82d512ca56ff56bc86781b019fb236b4e2b96_756610cb-7023-4051-899f-c09d7b87d73c.webp?v=1714890806","width":2000},{"alt":null,"id":23891188580451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ef7185d71577040e426e60dd82c20e0409b1096_b5ec35a2-b430-4e14-bea1-c375575ab92d.webp?v=1714890809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ef7185d71577040e426e60dd82c20e0409b1096_b5ec35a2-b430-4e14-bea1-c375575ab92d.webp?v=1714890809","width":2000},{"alt":null,"id":23891189661795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811","width":2000},{"alt":null,"id":23891190874211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a72fecc417f50775e0c4f528226852d098ed48_6fb4832d-8083-41bd-ae96-419d1928f59e.webp?v=1714890814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a72fecc417f50775e0c4f528226852d098ed48_6fb4832d-8083-41bd-ae96-419d1928f59e.webp?v=1714890814","width":2000},{"alt":null,"id":23891192184931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/114587d5ae649e0c2c460ae3dd1de69d686a21b1_3cf461b8-76cc-4dfb-895f-0416b002575a.webp?v=1714890816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/114587d5ae649e0c2c460ae3dd1de69d686a21b1_3cf461b8-76cc-4dfb-895f-0416b002575a.webp?v=1714890816","width":2000},{"alt":null,"id":23891193200739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818","width":2000},{"alt":null,"id":23891194445923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c42b12b3d256e86f0ed0e304e0cfb85e6112b2_b17bc9d4-3586-48c0-90b4-160e5ff6e0cd.webp?v=1714890820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c42b12b3d256e86f0ed0e304e0cfb85e6112b2_b17bc9d4-3586-48c0-90b4-160e5ff6e0cd.webp?v=1714890820","width":2000},{"alt":null,"id":23891195625571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e602841e4b36693bc80a4bd1f5d0336227cd68fc_6381bb6d-6c13-4bb4-a81d-54e05ce1464a.webp?v=1714890823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e602841e4b36693bc80a4bd1f5d0336227cd68fc_6381bb6d-6c13-4bb4-a81d-54e05ce1464a.webp?v=1714890823","width":2000},{"alt":null,"id":23891196870755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1dbe38c8cf1d99a40e3f0b9df48bbb121bdc86e_27c044bf-2305-495b-94ab-d1919022ecec.webp?v=1714890825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1dbe38c8cf1d99a40e3f0b9df48bbb121bdc86e_27c044bf-2305-495b-94ab-d1919022ecec.webp?v=1714890825","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41907700924515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485850648675,"product_id":7414600269923,"position":1,"created_at":"2024-05-05T14:33:24+08:00","updated_at":"2024-05-05T14:33:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804","variant_ids":[41907700924515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122824-YB08","featured_media":{"alt":null,"id":23891185762403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907701022819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485858283619,"product_id":7414600269923,"position":7,"created_at":"2024-05-05T14:33:38+08:00","updated_at":"2024-05-05T14:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818","variant_ids":[41907701022819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122804-YB08","featured_media":{"alt":null,"id":23891193200739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99755bdc30bf653e04b9eb62f03c5ad814085511_778d3289-47a5-4b2a-9fde-74e38681b034.webp?v=1714890818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907701481571,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485854679139,"product_id":7414600269923,"position":4,"created_at":"2024-05-05T14:33:31+08:00","updated_at":"2024-05-05T14:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811","variant_ids":[41907701481571]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB01228J5-YB08","featured_media":{"alt":null,"id":23891189661795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59641d6fc8c8744fa803f08d58691e259c62c74_9f45e603-2d0f-4f18-bffe-273d08df1943.webp?v=1714890811"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41907700924515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31485850648675,"product_id":7414600269923,"position":1,"created_at":"2024-05-05T14:33:24+08:00","updated_at":"2024-05-05T14:33:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804","variant_ids":[41907700924515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122824-YB08","featured_media":{"alt":null,"id":23891185762403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437ba7e2c10cd399f9eb665d626f38064b782c32_93eb578d-2375-4286-ba7e-8daea2a39073.webp?v=1714890804"}},"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: "停產"
}