$product = {"id":7411413483619,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 美食派對","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb11","description":null,"published_at":"2024-06-11T17:44:19+08:00","created_at":"2024-05-05T00:25:00+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":41898573725795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364073059,"product_id":7411413483619,"position":2,"created_at":"2024-05-05T00:25:05+08:00","updated_at":"2024-05-05T00:25:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905","variant_ids":[41898573725795]},"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-YB11","featured_media":{"alt":null,"id":23885615824995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898573856867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480367186019,"product_id":7411413483619,"position":8,"created_at":"2024-05-05T00:25:20+08:00","updated_at":"2024-05-05T00:25:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920","variant_ids":[41898573856867]},"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-YB11","featured_media":{"alt":null,"id":23885618937955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898574119011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480368234595,"product_id":7411413483619,"position":10,"created_at":"2024-05-05T00:25:25+08:00","updated_at":"2024-05-05T00:25:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925","variant_ids":[41898574119011]},"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-YB11","featured_media":{"alt":null,"id":23885619986531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9061ce4c79856853f8f07ef591fe4609284b0adb_d442fe4e-9dca-487d-b86e-a9d7bc2af605.webp?v=1714839902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254a1723c9de9092f1190a3505564b49b368d373_3dc8fdd1-fa2c-432a-b864-74080039b6bd.webp?v=1714839907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40f5007feeb7aeb02e05abb4bebb9c67877b352_ae2030c0-a73c-4365-afae-d54610d6fbd0.webp?v=1714839910","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/157400fa41c0a7633143e8bdefda499b802e89d7_a3a3cb14-a53c-4f0a-bece-0d7c5102ca9e.webp?v=1714839912","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fa0bc2ee4d17b243daa5a756973ab174d65ccf_b3560ba2-f702-4686-b378-324f3b106f8b.webp?v=1714839915","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8c8d29a1e5e0f76f00c71e81cf47af67054109b_65e6ebc6-eb01-48b6-802f-567b2b6447d1.webp?v=1714839917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12462510e8756096228c0ff401ad2b0207165dc6_e03d30c7-c3d5-4df0-a944-f79bd1e19054.webp?v=1714839922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9061ce4c79856853f8f07ef591fe4609284b0adb_d442fe4e-9dca-487d-b86e-a9d7bc2af605.webp?v=1714839902","options":["color"],"media":[{"alt":null,"id":23885615333475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9061ce4c79856853f8f07ef591fe4609284b0adb_d442fe4e-9dca-487d-b86e-a9d7bc2af605.webp?v=1714839902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9061ce4c79856853f8f07ef591fe4609284b0adb_d442fe4e-9dca-487d-b86e-a9d7bc2af605.webp?v=1714839902","width":2000},{"alt":null,"id":23885615824995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905","width":2000},{"alt":null,"id":23885616283747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254a1723c9de9092f1190a3505564b49b368d373_3dc8fdd1-fa2c-432a-b864-74080039b6bd.webp?v=1714839907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254a1723c9de9092f1190a3505564b49b368d373_3dc8fdd1-fa2c-432a-b864-74080039b6bd.webp?v=1714839907","width":2000},{"alt":null,"id":23885616742499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40f5007feeb7aeb02e05abb4bebb9c67877b352_ae2030c0-a73c-4365-afae-d54610d6fbd0.webp?v=1714839910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40f5007feeb7aeb02e05abb4bebb9c67877b352_ae2030c0-a73c-4365-afae-d54610d6fbd0.webp?v=1714839910","width":2000},{"alt":null,"id":23885617397859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/157400fa41c0a7633143e8bdefda499b802e89d7_a3a3cb14-a53c-4f0a-bece-0d7c5102ca9e.webp?v=1714839912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/157400fa41c0a7633143e8bdefda499b802e89d7_a3a3cb14-a53c-4f0a-bece-0d7c5102ca9e.webp?v=1714839912","width":2000},{"alt":null,"id":23885617758307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fa0bc2ee4d17b243daa5a756973ab174d65ccf_b3560ba2-f702-4686-b378-324f3b106f8b.webp?v=1714839915"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fa0bc2ee4d17b243daa5a756973ab174d65ccf_b3560ba2-f702-4686-b378-324f3b106f8b.webp?v=1714839915","width":2000},{"alt":null,"id":23885618348131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8c8d29a1e5e0f76f00c71e81cf47af67054109b_65e6ebc6-eb01-48b6-802f-567b2b6447d1.webp?v=1714839917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8c8d29a1e5e0f76f00c71e81cf47af67054109b_65e6ebc6-eb01-48b6-802f-567b2b6447d1.webp?v=1714839917","width":2000},{"alt":null,"id":23885618937955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920","width":2000},{"alt":null,"id":23885619560547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12462510e8756096228c0ff401ad2b0207165dc6_e03d30c7-c3d5-4df0-a944-f79bd1e19054.webp?v=1714839922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12462510e8756096228c0ff401ad2b0207165dc6_e03d30c7-c3d5-4df0-a944-f79bd1e19054.webp?v=1714839922","width":2000},{"alt":null,"id":23885619986531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41898573725795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364073059,"product_id":7411413483619,"position":2,"created_at":"2024-05-05T00:25:05+08:00","updated_at":"2024-05-05T00:25:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905","variant_ids":[41898573725795]},"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-YB11","featured_media":{"alt":null,"id":23885615824995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898573856867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480367186019,"product_id":7411413483619,"position":8,"created_at":"2024-05-05T00:25:20+08:00","updated_at":"2024-05-05T00:25:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920","variant_ids":[41898573856867]},"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-YB11","featured_media":{"alt":null,"id":23885618937955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d52d8e02200bc25d920c8179c85354c6664399_504a9723-2899-4d20-bf10-0b79b6f96c15.webp?v=1714839920"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898574119011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480368234595,"product_id":7411413483619,"position":10,"created_at":"2024-05-05T00:25:25+08:00","updated_at":"2024-05-05T00:25:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925","variant_ids":[41898574119011]},"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-YB11","featured_media":{"alt":null,"id":23885619986531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c85ee65176a4335ddf045037c496e6fe7344f3_d3dfff70-f3db-42e2-b23b-071f5da1de33.webp?v=1714839925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41898573725795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31480364073059,"product_id":7411413483619,"position":2,"created_at":"2024-05-05T00:25:05+08:00","updated_at":"2024-05-05T00:25:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905","variant_ids":[41898573725795]},"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-YB11","featured_media":{"alt":null,"id":23885615824995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b67525d044d46043723ff2b50bca27ad8ba39300_7b3856b7-46e6-4d62-8473-f1e756f5cae5.webp?v=1714839905"}},"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: "停產"
}