$product = {"id":7189472936035,"title":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo","handle":"iphone-15-pro-max-jellytint-sb16","description":null,"published_at":"2024-02-27T14:41:49+08:00","created_at":"2024-02-23T18:24:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 15 Pro Max","merge","reseller-jellytint-batman","Top50","type-jellytint"],"price":118000,"price_min":118000,"price_max":118000,"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":41312594165859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312594231395,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312594264163,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db764f15569a3a64636504eb69a298eca97babcb_8dda17a9-1edb-477e-9ff8-1f0f8836e9e7.webp?v=1708683898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb6bda06efa1bf752b1bed19e309d2669d859732_8e5cbb4d-439d-4eb6-86cb-dc55dcae8671.webp?v=1708683900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc8ac78f2789cc7cbf0ce06fd1a6e2f19b3a589_fcda9f6c-f7e9-4a7d-a569-05a0da692ebe.webp?v=1708683902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0334733a38e9c221e8b836ac158999a4abc6edf1_a9b8b5e3-c900-41d1-a9bc-d24946f11593.webp?v=1708683904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/531650f5a44ea649ac682a4dd663aa7db8565c39_7219edb5-ae48-4cc2-909a-ba36667e0528.webp?v=1708683907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6a5713220ba8d80236d10f134ba6fc15c22c75_efa9e601-6ef5-4b32-892c-13be21fafb86.webp?v=1708683909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3408ba2d5150ef448412bea809d2e29b381c8039_5c893e19-28c9-4e80-8f8b-7e081ac36253.webp?v=1708683912","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25addca19cd603813283fa61bca34028bb948cd3_ffebf6fc-aa48-4bd3-9c07-bea533583cc2.webp?v=1708683914","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db764f15569a3a64636504eb69a298eca97babcb_8dda17a9-1edb-477e-9ff8-1f0f8836e9e7.webp?v=1708683898","options":["color"],"media":[{"alt":null,"id":23337351086179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db764f15569a3a64636504eb69a298eca97babcb_8dda17a9-1edb-477e-9ff8-1f0f8836e9e7.webp?v=1708683898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db764f15569a3a64636504eb69a298eca97babcb_8dda17a9-1edb-477e-9ff8-1f0f8836e9e7.webp?v=1708683898","width":2000},{"alt":null,"id":23337351577699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb6bda06efa1bf752b1bed19e309d2669d859732_8e5cbb4d-439d-4eb6-86cb-dc55dcae8671.webp?v=1708683900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb6bda06efa1bf752b1bed19e309d2669d859732_8e5cbb4d-439d-4eb6-86cb-dc55dcae8671.webp?v=1708683900","width":2000},{"alt":null,"id":23337351970915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc8ac78f2789cc7cbf0ce06fd1a6e2f19b3a589_fcda9f6c-f7e9-4a7d-a569-05a0da692ebe.webp?v=1708683902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc8ac78f2789cc7cbf0ce06fd1a6e2f19b3a589_fcda9f6c-f7e9-4a7d-a569-05a0da692ebe.webp?v=1708683902","width":2000},{"alt":null,"id":23337352331363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0334733a38e9c221e8b836ac158999a4abc6edf1_a9b8b5e3-c900-41d1-a9bc-d24946f11593.webp?v=1708683904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0334733a38e9c221e8b836ac158999a4abc6edf1_a9b8b5e3-c900-41d1-a9bc-d24946f11593.webp?v=1708683904","width":2000},{"alt":null,"id":23337353183331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/531650f5a44ea649ac682a4dd663aa7db8565c39_7219edb5-ae48-4cc2-909a-ba36667e0528.webp?v=1708683907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/531650f5a44ea649ac682a4dd663aa7db8565c39_7219edb5-ae48-4cc2-909a-ba36667e0528.webp?v=1708683907","width":2000},{"alt":null,"id":23337353740387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6a5713220ba8d80236d10f134ba6fc15c22c75_efa9e601-6ef5-4b32-892c-13be21fafb86.webp?v=1708683909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6a5713220ba8d80236d10f134ba6fc15c22c75_efa9e601-6ef5-4b32-892c-13be21fafb86.webp?v=1708683909","width":2000},{"alt":null,"id":23337354100835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3408ba2d5150ef448412bea809d2e29b381c8039_5c893e19-28c9-4e80-8f8b-7e081ac36253.webp?v=1708683912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3408ba2d5150ef448412bea809d2e29b381c8039_5c893e19-28c9-4e80-8f8b-7e081ac36253.webp?v=1708683912","width":2000},{"alt":null,"id":23337354494051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25addca19cd603813283fa61bca34028bb948cd3_ffebf6fc-aa48-4bd3-9c07-bea533583cc2.webp?v=1708683914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25addca19cd603813283fa61bca34028bb948cd3_ffebf6fc-aa48-4bd3-9c07-bea533583cc2.webp?v=1708683914","width":2000},{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41312594165859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312594231395,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312594264163,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41312594165859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31585352089699,"product_id":7189472936035,"position":9,"created_at":"2024-05-21T16:17:26+08:00","updated_at":"2024-05-21T16:17:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446","variant_ids":[41312594165859,41312594231395,41312594264163]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - Batman - Logo - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-SB16","featured_media":{"alt":null,"id":23993726304355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edab74c741cf7c241cfaa78a62974850370fd6e6_f3b6c675-d3a3-4b63-9feb-201cd53af24f.webp?v=1716279446"}},"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: "停產"
}