Home
›
犀牛盾Mod NX手機殼 - iPhone 14 Plus - 【聯名設計款】 - Care Bears - 夜空星語
$product = {"id":7407817261155,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Plus - 【聯名設計款】 - Care Bears - 夜空星語","handle":"iphone-14-plus-mod-nx-printable-yb12","description":null,"published_at":"2024-06-11T16:23:39+08:00","created_at":"2024-05-03T10:55:24+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 Plus","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":41879186243683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126124-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470439891043,"product_id":7407817261155,"position":2,"created_at":"2024-05-03T10:55:30+08:00","updated_at":"2024-05-03T10:55:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930","variant_ids":[41879186243683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Plus - 【聯名設計款】 - 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":"NPB0126124-YB12","featured_media":{"alt":null,"id":23875343220835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0747bcb412c1f582d9f4d855f1add7aa252f1d78_0ab6a20f-8aa9-484f-b0bf-e8c6a345d99d.webp?v=1714704927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489e6235ee95484717c927a45903fa16750db57e_827e1924-7ed3-4f2d-8ae0-205b09af4d1f.webp?v=1714704932","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff1d1ac7d8c6a3544bd1575013b21b6d1929668_fbf71876-4cba-4d56-9da8-29d0c5fe57af.webp?v=1714704934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aaea0607a4dfa0c5ab6ada4fb6600e68b7c272b_545b78af-3965-4b1d-8949-a3328c113a3d.webp?v=1714704937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f6f85388df0c27fe47f87c096fd12d9e41727f9_9399ba41-4fa8-496f-a070-28da130a458d.webp?v=1714704940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25b6a4596a3bfeea4f7e63087cb003e5d6d6d98f_b591ebd6-4f68-4cf3-89e4-dab62ed210af.webp?v=1714704943","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0b1c55be331d499f75196770b689be2818545d_621a3d16-d55a-4bdb-a697-ae6c4ba4abf1.webp?v=1714704945","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e09fa3deb6bdb9216ba0e7013985f48615326a2f_0a217021-10d7-4d56-81ee-d1372dbda436.webp?v=1714704947","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a357bd077e0b1d628229f16bc5bf4e509535d4d9_631c53ba-a7c7-4b2b-9cb1-ab710c4a3361.webp?v=1714704949"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0747bcb412c1f582d9f4d855f1add7aa252f1d78_0ab6a20f-8aa9-484f-b0bf-e8c6a345d99d.webp?v=1714704927","options":["color"],"media":[{"alt":null,"id":23875342860387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0747bcb412c1f582d9f4d855f1add7aa252f1d78_0ab6a20f-8aa9-484f-b0bf-e8c6a345d99d.webp?v=1714704927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0747bcb412c1f582d9f4d855f1add7aa252f1d78_0ab6a20f-8aa9-484f-b0bf-e8c6a345d99d.webp?v=1714704927","width":2000},{"alt":null,"id":23875343220835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930","width":2000},{"alt":null,"id":23875343646819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489e6235ee95484717c927a45903fa16750db57e_827e1924-7ed3-4f2d-8ae0-205b09af4d1f.webp?v=1714704932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489e6235ee95484717c927a45903fa16750db57e_827e1924-7ed3-4f2d-8ae0-205b09af4d1f.webp?v=1714704932","width":2000},{"alt":null,"id":23875344007267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff1d1ac7d8c6a3544bd1575013b21b6d1929668_fbf71876-4cba-4d56-9da8-29d0c5fe57af.webp?v=1714704934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff1d1ac7d8c6a3544bd1575013b21b6d1929668_fbf71876-4cba-4d56-9da8-29d0c5fe57af.webp?v=1714704934","width":2000},{"alt":null,"id":23875344466019,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aaea0607a4dfa0c5ab6ada4fb6600e68b7c272b_545b78af-3965-4b1d-8949-a3328c113a3d.webp?v=1714704937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aaea0607a4dfa0c5ab6ada4fb6600e68b7c272b_545b78af-3965-4b1d-8949-a3328c113a3d.webp?v=1714704937","width":2000},{"alt":null,"id":23875344957539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f6f85388df0c27fe47f87c096fd12d9e41727f9_9399ba41-4fa8-496f-a070-28da130a458d.webp?v=1714704940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f6f85388df0c27fe47f87c096fd12d9e41727f9_9399ba41-4fa8-496f-a070-28da130a458d.webp?v=1714704940","width":2000},{"alt":null,"id":23875345416291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25b6a4596a3bfeea4f7e63087cb003e5d6d6d98f_b591ebd6-4f68-4cf3-89e4-dab62ed210af.webp?v=1714704943"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25b6a4596a3bfeea4f7e63087cb003e5d6d6d98f_b591ebd6-4f68-4cf3-89e4-dab62ed210af.webp?v=1714704943","width":2000},{"alt":null,"id":23875345940579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0b1c55be331d499f75196770b689be2818545d_621a3d16-d55a-4bdb-a697-ae6c4ba4abf1.webp?v=1714704945"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e0b1c55be331d499f75196770b689be2818545d_621a3d16-d55a-4bdb-a697-ae6c4ba4abf1.webp?v=1714704945","width":2000},{"alt":null,"id":23875346366563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e09fa3deb6bdb9216ba0e7013985f48615326a2f_0a217021-10d7-4d56-81ee-d1372dbda436.webp?v=1714704947"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e09fa3deb6bdb9216ba0e7013985f48615326a2f_0a217021-10d7-4d56-81ee-d1372dbda436.webp?v=1714704947","width":2000},{"alt":null,"id":23875346825315,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a357bd077e0b1d628229f16bc5bf4e509535d4d9_631c53ba-a7c7-4b2b-9cb1-ab710c4a3361.webp?v=1714704949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a357bd077e0b1d628229f16bc5bf4e509535d4d9_631c53ba-a7c7-4b2b-9cb1-ab710c4a3361.webp?v=1714704949","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879186243683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126124-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470439891043,"product_id":7407817261155,"position":2,"created_at":"2024-05-03T10:55:30+08:00","updated_at":"2024-05-03T10:55:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930","variant_ids":[41879186243683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Plus - 【聯名設計款】 - 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":"NPB0126124-YB12","featured_media":{"alt":null,"id":23875343220835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879186243683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126124-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470439891043,"product_id":7407817261155,"position":2,"created_at":"2024-05-03T10:55:30+08:00","updated_at":"2024-05-03T10:55:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930","variant_ids":[41879186243683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Plus - 【聯名設計款】 - 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":"NPB0126124-YB12","featured_media":{"alt":null,"id":23875343220835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e918e4598f4e89f7d430922b87921cc479f00d_eac388b6-be0f-4557-8dff-e8477151db55.webp?v=1714704930"}},"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: "停產"
}