$product = {"id":7407854256227,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 熊滿星空","handle":"iphone-14-pro-mod-nx-printable-yb09","description":null,"published_at":"2024-06-11T16:24:41+08:00","created_at":"2024-05-03T11:03:00+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 14 Pro","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":41879666983011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470539669603,"product_id":7407854256227,"position":8,"created_at":"2024-05-03T11:03:21+08:00","updated_at":"2024-05-03T11:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401","variant_ids":[41879666983011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126224-YB09","featured_media":{"alt":null,"id":23875443490915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879667048547,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470535049315,"product_id":7407854256227,"position":2,"created_at":"2024-05-03T11:03:05+08:00","updated_at":"2024-05-03T11:03:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385","variant_ids":[41879667048547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126204-YB09","featured_media":{"alt":null,"id":23875438870627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879667277923,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470534361187,"product_id":7407854256227,"position":1,"created_at":"2024-05-03T11:03:03+08:00","updated_at":"2024-05-03T11:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383","variant_ids":[41879667277923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB01262J5-YB09","featured_media":{"alt":null,"id":23875436970083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ef0b350a9a38b400d4e71f4b4844b335c909cee_afbb64dd-2e3b-409d-8475-460b93769d01.webp?v=1714705388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c31ecc6aea9868490d043bc220b8d4f94b7e24d_f13de6d9-f48c-4503-b2db-7db097a86b16.webp?v=1714705391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef365f98e251819d4d762a68f7a471715f0d88f1_709ac049-4a32-4358-a0ee-5321147611e4.webp?v=1714705393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb95bb64724ffcc353c86e56e3dd83293081be2_86ae318d-d9a2-46ee-b6d9-59ad26ec21b8.webp?v=1714705396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cf8119c2f3b2cdafaec70b1c81a8af88858c473_0f3e5b06-d4ce-411e-a993-f180f22a21ca.webp?v=1714705398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbdb089ac4b4c8d91d68d29a7552aaf779fe108_9bb473b7-4f58-4641-a7ce-5f32bef003f6.webp?v=1714705403","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ab747e6ba7c0f2ea314310cff9f12908f97668_05a0b8b2-f2de-45d4-9ee5-5fcfc7874781.webp?v=1714705406"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383","options":["color"],"media":[{"alt":null,"id":23875436970083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383","width":2000},{"alt":null,"id":23875438870627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385","width":2000},{"alt":null,"id":23875439525987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ef0b350a9a38b400d4e71f4b4844b335c909cee_afbb64dd-2e3b-409d-8475-460b93769d01.webp?v=1714705388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ef0b350a9a38b400d4e71f4b4844b335c909cee_afbb64dd-2e3b-409d-8475-460b93769d01.webp?v=1714705388","width":2000},{"alt":null,"id":23875440476259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c31ecc6aea9868490d043bc220b8d4f94b7e24d_f13de6d9-f48c-4503-b2db-7db097a86b16.webp?v=1714705391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c31ecc6aea9868490d043bc220b8d4f94b7e24d_f13de6d9-f48c-4503-b2db-7db097a86b16.webp?v=1714705391","width":2000},{"alt":null,"id":23875440869475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef365f98e251819d4d762a68f7a471715f0d88f1_709ac049-4a32-4358-a0ee-5321147611e4.webp?v=1714705393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef365f98e251819d4d762a68f7a471715f0d88f1_709ac049-4a32-4358-a0ee-5321147611e4.webp?v=1714705393","width":2000},{"alt":null,"id":23875441688675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb95bb64724ffcc353c86e56e3dd83293081be2_86ae318d-d9a2-46ee-b6d9-59ad26ec21b8.webp?v=1714705396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb95bb64724ffcc353c86e56e3dd83293081be2_86ae318d-d9a2-46ee-b6d9-59ad26ec21b8.webp?v=1714705396","width":2000},{"alt":null,"id":23875442442339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cf8119c2f3b2cdafaec70b1c81a8af88858c473_0f3e5b06-d4ce-411e-a993-f180f22a21ca.webp?v=1714705398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cf8119c2f3b2cdafaec70b1c81a8af88858c473_0f3e5b06-d4ce-411e-a993-f180f22a21ca.webp?v=1714705398","width":2000},{"alt":null,"id":23875443490915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401","width":2000},{"alt":null,"id":23875443949667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbdb089ac4b4c8d91d68d29a7552aaf779fe108_9bb473b7-4f58-4641-a7ce-5f32bef003f6.webp?v=1714705403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbdb089ac4b4c8d91d68d29a7552aaf779fe108_9bb473b7-4f58-4641-a7ce-5f32bef003f6.webp?v=1714705403","width":2000},{"alt":null,"id":23875444736099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ab747e6ba7c0f2ea314310cff9f12908f97668_05a0b8b2-f2de-45d4-9ee5-5fcfc7874781.webp?v=1714705406"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ab747e6ba7c0f2ea314310cff9f12908f97668_05a0b8b2-f2de-45d4-9ee5-5fcfc7874781.webp?v=1714705406","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879666983011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470539669603,"product_id":7407854256227,"position":8,"created_at":"2024-05-03T11:03:21+08:00","updated_at":"2024-05-03T11:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401","variant_ids":[41879666983011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126224-YB09","featured_media":{"alt":null,"id":23875443490915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879667048547,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470535049315,"product_id":7407854256227,"position":2,"created_at":"2024-05-03T11:03:05+08:00","updated_at":"2024-05-03T11:03:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385","variant_ids":[41879667048547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126204-YB09","featured_media":{"alt":null,"id":23875438870627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e80e529d44eacb8587b7fe29971694b1296daa2_b9051f8d-92b7-44be-8de1-5b4680d4fb1f.webp?v=1714705385"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879667277923,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470534361187,"product_id":7407854256227,"position":1,"created_at":"2024-05-03T11:03:03+08:00","updated_at":"2024-05-03T11:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383","variant_ids":[41879667277923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB01262J5-YB09","featured_media":{"alt":null,"id":23875436970083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c9354eb8e3ebb30a2ece04e26c9042bfcb0ea4_464df693-4105-4949-a2af-2320fe30895a.webp?v=1714705383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879666983011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470539669603,"product_id":7407854256227,"position":8,"created_at":"2024-05-03T11:03:21+08:00","updated_at":"2024-05-03T11:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401","variant_ids":[41879666983011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 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":"NPB0126224-YB09","featured_media":{"alt":null,"id":23875443490915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f304175253813415b515a268e8a20bb968457861_7df5ca23-bb27-49b8-af91-64fcaf06fb5c.webp?v=1714705401"}},"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: "停產"
}