$product = {"id":7155868008547,"title":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽","handle":"iphone-15-pro-max-jellytint-iv01","description":null,"published_at":"2024-02-02T09:59:10+08:00","created_at":"2024-01-23T16:58:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-1G","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 15 Pro Max","merge","reseller-jellytint-1chun","Top50","type-jellytint"],"price":108000,"price_min":108000,"price_max":108000,"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":41197022117987,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197022150755,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012980H-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980H-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197022183523,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197022216291,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea603a16db0ff9157d408f94aeb93d0a64c3a0fe_51b4e2db-3363-4402-aa0b-ca02845bbf30.webp?v=1706000309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6db00eeab849c4834cc609eb08c08f189169c61f_0c234675-81dc-411e-8965-eb6c4d406ab1.webp?v=1706000312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfb3c1007a8b8377bc1e0a2aa6072f988ae290b_560a77b4-2e07-4e28-b0bd-b93d52a9841e.webp?v=1706000314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa97bf04c636254b953d149a8e6b8e13fed4732c_b1834790-57fc-4168-8d36-26108c4b40d1.webp?v=1706000316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a7a1037a17a73fa9cd67641b8e69c1ef36dc46_bf6a666f-1545-4728-906e-cd1a6bf2766f.webp?v=1706000321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea603a16db0ff9157d408f94aeb93d0a64c3a0fe_51b4e2db-3363-4402-aa0b-ca02845bbf30.webp?v=1706000309","options":["color"],"media":[{"alt":null,"id":23201844363363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea603a16db0ff9157d408f94aeb93d0a64c3a0fe_51b4e2db-3363-4402-aa0b-ca02845bbf30.webp?v=1706000309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea603a16db0ff9157d408f94aeb93d0a64c3a0fe_51b4e2db-3363-4402-aa0b-ca02845bbf30.webp?v=1706000309","width":2000},{"alt":null,"id":23201845051491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6db00eeab849c4834cc609eb08c08f189169c61f_0c234675-81dc-411e-8965-eb6c4d406ab1.webp?v=1706000312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6db00eeab849c4834cc609eb08c08f189169c61f_0c234675-81dc-411e-8965-eb6c4d406ab1.webp?v=1706000312","width":2000},{"alt":null,"id":23201845608547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfb3c1007a8b8377bc1e0a2aa6072f988ae290b_560a77b4-2e07-4e28-b0bd-b93d52a9841e.webp?v=1706000314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfb3c1007a8b8377bc1e0a2aa6072f988ae290b_560a77b4-2e07-4e28-b0bd-b93d52a9841e.webp?v=1706000314","width":2000},{"alt":null,"id":23201846558819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa97bf04c636254b953d149a8e6b8e13fed4732c_b1834790-57fc-4168-8d36-26108c4b40d1.webp?v=1706000316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa97bf04c636254b953d149a8e6b8e13fed4732c_b1834790-57fc-4168-8d36-26108c4b40d1.webp?v=1706000316","width":2000},{"alt":null,"id":23201847935075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a7a1037a17a73fa9cd67641b8e69c1ef36dc46_bf6a666f-1545-4728-906e-cd1a6bf2766f.webp?v=1706000321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67a7a1037a17a73fa9cd67641b8e69c1ef36dc46_bf6a666f-1545-4728-906e-cd1a6bf2766f.webp?v=1706000321","width":2000},{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41197022117987,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197022150755,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012980H-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980H-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197022183523,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197022216291,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41197022117987,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30846483529827,"product_id":7155868008547,"position":6,"created_at":"2024-01-26T15:22:44+08:00","updated_at":"2024-01-26T15:22:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764","variant_ids":[41197022117987,41197022150755,41197022183523,41197022216291]},"available":true,"name":"犀牛盾Clear防摔背蓋手機殼 - iPhone 15 Pro Max - 【聯名設計款】 - 1G - 生日帽 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV01","featured_media":{"alt":null,"id":23217560060003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b4195ee3fa55dbe982c5d9dc0d8a1ae167060c_5055b416-e7d6-4755-89f3-96254fce4cb0.webp?v=1706253764"}},"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: "停產"
}