Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Snoopy 史努比 - 開心小花
$product = {"id":7369163898979,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Snoopy 史努比 - 開心小花","handle":"iphone-xs-max-mod-nx-printable-pl65","description":null,"published_at":"2024-06-11T16:13:35+08:00","created_at":"2024-04-23T15:36:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-snoopy","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":41793187217507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952859747,"product_id":7369163898979,"position":1,"created_at":"2024-04-23T15:36:25+08:00","updated_at":"2024-04-23T15:36:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785","variant_ids":[41793187217507]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Snoopy 史努比 - 開心小花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-PL65","featured_media":{"alt":null,"id":23789190971491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b46033d19f5bef8549d3e3a078e25416e88e4ad_6c2d34c6-c76c-4a35-8d5a-eda9c5079e1f.webp?v=1713857787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f04208a3450043a4e3effc09b7aa729d928885_9d8f88e7-ab4f-4ac6-89a8-725493d4d4b0.webp?v=1713857792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f8ae8fef1d4c7687ec0d17df74e48e5f14b5684_d9d8853a-d488-48f6-9a6d-1aa84339c4d9.webp?v=1713857794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1f5c97d95b2e8e684a01b5da462444e4515031_6362fa74-3c52-4c85-a03a-442407def0b0.webp?v=1713857796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c831c07d05a1282e18b2c52ada77855a2b9ac7d2_8caf8646-72c3-42af-80b5-c10123b5de98.webp?v=1713857800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5569b1bdb0834974bfa2630b897239fc0ff81575_b00e3585-f534-4ca9-a7d9-8ab08fca6e22.webp?v=1713857802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/876f05a2e059ac89febd4a4389aae2948097abc5_bfc6df88-8584-462b-a3e6-4467741f1261.webp?v=1713857804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f640ae29f452a02374ab4e768bdd54f8db809d3e_3e7ac40c-b197-44cb-9442-11d8ea7ba375.webp?v=1713857807"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785","options":["color"],"media":[{"alt":null,"id":23789190971491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785","width":2000},{"alt":null,"id":23789191692387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b46033d19f5bef8549d3e3a078e25416e88e4ad_6c2d34c6-c76c-4a35-8d5a-eda9c5079e1f.webp?v=1713857787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b46033d19f5bef8549d3e3a078e25416e88e4ad_6c2d34c6-c76c-4a35-8d5a-eda9c5079e1f.webp?v=1713857787","width":2000},{"alt":null,"id":23789192904803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f04208a3450043a4e3effc09b7aa729d928885_9d8f88e7-ab4f-4ac6-89a8-725493d4d4b0.webp?v=1713857792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f04208a3450043a4e3effc09b7aa729d928885_9d8f88e7-ab4f-4ac6-89a8-725493d4d4b0.webp?v=1713857792","width":2000},{"alt":null,"id":23789193429091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f8ae8fef1d4c7687ec0d17df74e48e5f14b5684_d9d8853a-d488-48f6-9a6d-1aa84339c4d9.webp?v=1713857794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f8ae8fef1d4c7687ec0d17df74e48e5f14b5684_d9d8853a-d488-48f6-9a6d-1aa84339c4d9.webp?v=1713857794","width":2000},{"alt":null,"id":23789193986147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1f5c97d95b2e8e684a01b5da462444e4515031_6362fa74-3c52-4c85-a03a-442407def0b0.webp?v=1713857796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1f5c97d95b2e8e684a01b5da462444e4515031_6362fa74-3c52-4c85-a03a-442407def0b0.webp?v=1713857796","width":2000},{"alt":null,"id":23789194838115,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c831c07d05a1282e18b2c52ada77855a2b9ac7d2_8caf8646-72c3-42af-80b5-c10123b5de98.webp?v=1713857800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c831c07d05a1282e18b2c52ada77855a2b9ac7d2_8caf8646-72c3-42af-80b5-c10123b5de98.webp?v=1713857800","width":2000},{"alt":null,"id":23789195395171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5569b1bdb0834974bfa2630b897239fc0ff81575_b00e3585-f534-4ca9-a7d9-8ab08fca6e22.webp?v=1713857802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5569b1bdb0834974bfa2630b897239fc0ff81575_b00e3585-f534-4ca9-a7d9-8ab08fca6e22.webp?v=1713857802","width":2000},{"alt":null,"id":23789195952227,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/876f05a2e059ac89febd4a4389aae2948097abc5_bfc6df88-8584-462b-a3e6-4467741f1261.webp?v=1713857804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/876f05a2e059ac89febd4a4389aae2948097abc5_bfc6df88-8584-462b-a3e6-4467741f1261.webp?v=1713857804","width":2000},{"alt":null,"id":23789196509283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f640ae29f452a02374ab4e768bdd54f8db809d3e_3e7ac40c-b197-44cb-9442-11d8ea7ba375.webp?v=1713857807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f640ae29f452a02374ab4e768bdd54f8db809d3e_3e7ac40c-b197-44cb-9442-11d8ea7ba375.webp?v=1713857807","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793187217507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952859747,"product_id":7369163898979,"position":1,"created_at":"2024-04-23T15:36:25+08:00","updated_at":"2024-04-23T15:36:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785","variant_ids":[41793187217507]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Snoopy 史努比 - 開心小花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-PL65","featured_media":{"alt":null,"id":23789190971491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793187217507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31386952859747,"product_id":7369163898979,"position":1,"created_at":"2024-04-23T15:36:25+08:00","updated_at":"2024-04-23T15:36:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785","variant_ids":[41793187217507]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Snoopy 史努比 - 開心小花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-PL65","featured_media":{"alt":null,"id":23789190971491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b5bfcc91363470d7a46acd84e92638fb1cd9d6_a6771ac7-5378-4cef-9048-3e97dcfb209e.webp?v=1713857785"}},"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: "停產"
}