Home
›
犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - Care Bears - Funshine Bear
$product = {"id":7415904960611,"title":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - Care Bears - Funshine Bear","handle":"iphone-xs-mod-nx-printable-yb06","description":null,"published_at":"2024-06-11T16:47:34+08:00","created_at":"2024-05-06T12:22:12+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","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":41915393867875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31490702606435,"product_id":7415904960611,"position":8,"created_at":"2024-05-06T12:22:32+08:00","updated_at":"2024-05-06T12:22:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352","variant_ids":[41915393867875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - Care Bears - Funshine Bear - 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":"NPB0108424-YB06","featured_media":{"alt":null,"id":23896109383779,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbe56964bfa2574e90c615f86273c22c31c4315_953f4884-2f9d-4ebb-9386-af722b2a88c4.webp?v=1714969335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa63914368249e23dcf27b65712edd43e6746526_31ef5947-eab6-4279-b872-bc4c4a99f2c6.webp?v=1714969338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c535de488c2baa885b85cb6dafa51cdab87e36c2_42d98bd2-c164-4d6f-9017-b611301816fa.webp?v=1714969340","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86c1ec12db0adb575793860f3cc243cc9fa271d2_fa316faf-aba8-42e8-81ee-6d6694dc83f8.webp?v=1714969343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea93c890f94b3a5ac103cfc528829b6c7d891a77_50e0111d-a1ce-42ed-a6e3-c699ab27c879.webp?v=1714969345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef7036f80040739f53dcb80f3a97b4e8c2d6c758_07dfb1c7-c3e5-4202-9978-8dd960cf3942.webp?v=1714969347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd32accfdd37db8ab6295a074d43006b22ec49c_e72e345f-b8cb-4fd5-9354-dbb5bcfb6a30.webp?v=1714969350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a43b73bebbe182b5740fbb333daad922921ab680_208771bc-11a7-4174-ae86-1cbbbe6a7497.webp?v=1714969354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e482d9097cc80c57ae4f0779c127413f6e378f54_1d05b2ca-c1fe-4a8b-acc9-6a1c31d30909.webp?v=1714969357"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbe56964bfa2574e90c615f86273c22c31c4315_953f4884-2f9d-4ebb-9386-af722b2a88c4.webp?v=1714969335","options":["color"],"media":[{"alt":null,"id":23896105812067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbe56964bfa2574e90c615f86273c22c31c4315_953f4884-2f9d-4ebb-9386-af722b2a88c4.webp?v=1714969335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbe56964bfa2574e90c615f86273c22c31c4315_953f4884-2f9d-4ebb-9386-af722b2a88c4.webp?v=1714969335","width":2000},{"alt":null,"id":23896106434659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa63914368249e23dcf27b65712edd43e6746526_31ef5947-eab6-4279-b872-bc4c4a99f2c6.webp?v=1714969338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa63914368249e23dcf27b65712edd43e6746526_31ef5947-eab6-4279-b872-bc4c4a99f2c6.webp?v=1714969338","width":2000},{"alt":null,"id":23896106991715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c535de488c2baa885b85cb6dafa51cdab87e36c2_42d98bd2-c164-4d6f-9017-b611301816fa.webp?v=1714969340"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c535de488c2baa885b85cb6dafa51cdab87e36c2_42d98bd2-c164-4d6f-9017-b611301816fa.webp?v=1714969340","width":2000},{"alt":null,"id":23896107548771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86c1ec12db0adb575793860f3cc243cc9fa271d2_fa316faf-aba8-42e8-81ee-6d6694dc83f8.webp?v=1714969343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86c1ec12db0adb575793860f3cc243cc9fa271d2_fa316faf-aba8-42e8-81ee-6d6694dc83f8.webp?v=1714969343","width":2000},{"alt":null,"id":23896108007523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea93c890f94b3a5ac103cfc528829b6c7d891a77_50e0111d-a1ce-42ed-a6e3-c699ab27c879.webp?v=1714969345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea93c890f94b3a5ac103cfc528829b6c7d891a77_50e0111d-a1ce-42ed-a6e3-c699ab27c879.webp?v=1714969345","width":2000},{"alt":null,"id":23896108531811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef7036f80040739f53dcb80f3a97b4e8c2d6c758_07dfb1c7-c3e5-4202-9978-8dd960cf3942.webp?v=1714969347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef7036f80040739f53dcb80f3a97b4e8c2d6c758_07dfb1c7-c3e5-4202-9978-8dd960cf3942.webp?v=1714969347","width":2000},{"alt":null,"id":23896109023331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd32accfdd37db8ab6295a074d43006b22ec49c_e72e345f-b8cb-4fd5-9354-dbb5bcfb6a30.webp?v=1714969350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd32accfdd37db8ab6295a074d43006b22ec49c_e72e345f-b8cb-4fd5-9354-dbb5bcfb6a30.webp?v=1714969350","width":2000},{"alt":null,"id":23896109383779,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352","width":2000},{"alt":null,"id":23896109875299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a43b73bebbe182b5740fbb333daad922921ab680_208771bc-11a7-4174-ae86-1cbbbe6a7497.webp?v=1714969354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a43b73bebbe182b5740fbb333daad922921ab680_208771bc-11a7-4174-ae86-1cbbbe6a7497.webp?v=1714969354","width":2000},{"alt":null,"id":23896110366819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e482d9097cc80c57ae4f0779c127413f6e378f54_1d05b2ca-c1fe-4a8b-acc9-6a1c31d30909.webp?v=1714969357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e482d9097cc80c57ae4f0779c127413f6e378f54_1d05b2ca-c1fe-4a8b-acc9-6a1c31d30909.webp?v=1714969357","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41915393867875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31490702606435,"product_id":7415904960611,"position":8,"created_at":"2024-05-06T12:22:32+08:00","updated_at":"2024-05-06T12:22:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352","variant_ids":[41915393867875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - Care Bears - Funshine Bear - 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":"NPB0108424-YB06","featured_media":{"alt":null,"id":23896109383779,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915393867875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31490702606435,"product_id":7415904960611,"position":8,"created_at":"2024-05-06T12:22:32+08:00","updated_at":"2024-05-06T12:22:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352","variant_ids":[41915393867875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - Care Bears - Funshine Bear - 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":"NPB0108424-YB06","featured_media":{"alt":null,"id":23896109383779,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f0550f81e9677d3cb25e5ae9064897f5de880a6_65d942c9-31d9-43cb-8f21-08258a922797.webp?v=1714969352"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}