Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 夜空星語
$product = {"id":7415990517859,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 夜空星語","handle":"iphone-xs-max-mod-nx-printable-yb12","description":null,"published_at":"2024-06-11T16:49:48+08:00","created_at":"2024-05-06T12:38: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 XS Max","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":41916272640099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490928377955,"product_id":7415990517859,"position":7,"created_at":"2024-05-06T12:38:27+08:00","updated_at":"2024-05-06T12:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307","variant_ids":[41916272640099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-YB12","featured_media":{"alt":null,"id":23896335450211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b2a9fa02efbe19bdd329cd37b510d4c77d7af0_9deaf51a-952b-48f7-b58e-6000993519f5.webp?v=1714970293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0e6c75532b0ca535518c1df186266788253c3e1_0ca9756f-6ec6-433e-a52a-18221db9fea0.webp?v=1714970295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d62510c35882e196f132391702b33cb5ca2086ab_697ec03f-daa8-45c3-b911-b2bca196b8fb.webp?v=1714970297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400838f6c5d3b589effee57eb6e7538e7b05c971_f4e6bd12-c819-449f-96e9-7ec5c1b8ad18.webp?v=1714970300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/892f6528d0a81056c855e2b9f120fa55d0e883e2_79fdeaf7-14a3-4d8b-bf96-9309826a0e85.webp?v=1714970302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daf5d87d52238155fad8463a2593fca909b7c89b_3b41be64-3eb0-403a-8653-6eae38d96ea4.webp?v=1714970305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9ee4dbf0f10984efda2c9010842dfee3f385dd_83448ca4-aa70-4418-9c6b-485a2b69cae0.webp?v=1714970309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6536ce41952b906f540e1efb29202ac47c60439f_823fbd17-9e42-4009-abd7-a8d192cf0af2.webp?v=1714970314"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b2a9fa02efbe19bdd329cd37b510d4c77d7af0_9deaf51a-952b-48f7-b58e-6000993519f5.webp?v=1714970293","options":["color"],"media":[{"alt":null,"id":23896331026531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b2a9fa02efbe19bdd329cd37b510d4c77d7af0_9deaf51a-952b-48f7-b58e-6000993519f5.webp?v=1714970293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b2a9fa02efbe19bdd329cd37b510d4c77d7af0_9deaf51a-952b-48f7-b58e-6000993519f5.webp?v=1714970293","width":2000},{"alt":null,"id":23896331386979,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0e6c75532b0ca535518c1df186266788253c3e1_0ca9756f-6ec6-433e-a52a-18221db9fea0.webp?v=1714970295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0e6c75532b0ca535518c1df186266788253c3e1_0ca9756f-6ec6-433e-a52a-18221db9fea0.webp?v=1714970295","width":2000},{"alt":null,"id":23896332533859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d62510c35882e196f132391702b33cb5ca2086ab_697ec03f-daa8-45c3-b911-b2bca196b8fb.webp?v=1714970297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d62510c35882e196f132391702b33cb5ca2086ab_697ec03f-daa8-45c3-b911-b2bca196b8fb.webp?v=1714970297","width":2000},{"alt":null,"id":23896333484131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400838f6c5d3b589effee57eb6e7538e7b05c971_f4e6bd12-c819-449f-96e9-7ec5c1b8ad18.webp?v=1714970300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400838f6c5d3b589effee57eb6e7538e7b05c971_f4e6bd12-c819-449f-96e9-7ec5c1b8ad18.webp?v=1714970300","width":2000},{"alt":null,"id":23896334565475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/892f6528d0a81056c855e2b9f120fa55d0e883e2_79fdeaf7-14a3-4d8b-bf96-9309826a0e85.webp?v=1714970302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/892f6528d0a81056c855e2b9f120fa55d0e883e2_79fdeaf7-14a3-4d8b-bf96-9309826a0e85.webp?v=1714970302","width":2000},{"alt":null,"id":23896334991459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daf5d87d52238155fad8463a2593fca909b7c89b_3b41be64-3eb0-403a-8653-6eae38d96ea4.webp?v=1714970305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daf5d87d52238155fad8463a2593fca909b7c89b_3b41be64-3eb0-403a-8653-6eae38d96ea4.webp?v=1714970305","width":2000},{"alt":null,"id":23896335450211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307","width":2000},{"alt":null,"id":23896335908963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9ee4dbf0f10984efda2c9010842dfee3f385dd_83448ca4-aa70-4418-9c6b-485a2b69cae0.webp?v=1714970309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9ee4dbf0f10984efda2c9010842dfee3f385dd_83448ca4-aa70-4418-9c6b-485a2b69cae0.webp?v=1714970309","width":2000},{"alt":null,"id":23896337121379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6536ce41952b906f540e1efb29202ac47c60439f_823fbd17-9e42-4009-abd7-a8d192cf0af2.webp?v=1714970314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6536ce41952b906f540e1efb29202ac47c60439f_823fbd17-9e42-4009-abd7-a8d192cf0af2.webp?v=1714970314","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916272640099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490928377955,"product_id":7415990517859,"position":7,"created_at":"2024-05-06T12:38:27+08:00","updated_at":"2024-05-06T12:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307","variant_ids":[41916272640099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-YB12","featured_media":{"alt":null,"id":23896335450211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916272640099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31490928377955,"product_id":7415990517859,"position":7,"created_at":"2024-05-06T12:38:27+08:00","updated_at":"2024-05-06T12:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307","variant_ids":[41916272640099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 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":"NPB0108624-YB12","featured_media":{"alt":null,"id":23896335450211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6f0012053ea9505c8f54795cfecf7d8030c81c_8b5cde3f-3896-4d2d-8531-1ebacb502685.webp?v=1714970307"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}