$product = {"id":7155902251107,"title":"iPhone 15 Pro Max Clear 1G J個好","handle":"iphone-15-pro-max-jellytint-iv08","description":null,"published_at":"2024-02-02T09:58:53+08:00","created_at":"2024-01-23T17:10:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-1G","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone 15 Pro Max","merge","reseller-1chun"],"price":128000,"price_min":128000,"price_max":128000,"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":41197220790371,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991964259,"product_id":7155902251107,"position":9,"created_at":"2026-07-20T18:30:41+08:00","updated_at":"2026-07-20T18:30:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443","variant_ids":[41197220790371]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV08","featured_media":{"alt":null,"id":27826899746915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197220855907,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991472739,"product_id":7155902251107,"position":8,"created_at":"2026-07-20T18:30:39+08:00","updated_at":"2026-07-20T18:30:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440","variant_ids":[41197220855907]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-IV08","featured_media":{"alt":null,"id":27826899255395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197220888675,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322990915683,"product_id":7155902251107,"position":7,"created_at":"2026-07-20T18:30:35+08:00","updated_at":"2026-07-20T18:30:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437","variant_ids":[41197220888675]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-IV08","featured_media":{"alt":null,"id":27826898698339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afdea0e4a7e4c2494136646f673332684be99c31_868f2c66-ff1e-43b3-8da7-df80676267e5.webp?v=1706001066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7ffd68e24cc91e7243d396525e57ad3a6ee32c_6a2779ee-0b7a-4540-afb2-b6ce7c757d4b.webp?v=1706001068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c7331a134eaf56b900808140ef6ebadf30e5e2c_aa7f586d-0129-4b74-9057-c87bde1de14a.webp?v=1706254173","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d.webp?v=1782883067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575.webp?v=1782883068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe.webp?v=1782883069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afdea0e4a7e4c2494136646f673332684be99c31_868f2c66-ff1e-43b3-8da7-df80676267e5.webp?v=1706001066","options":["color"],"media":[{"alt":null,"id":23202055356515,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afdea0e4a7e4c2494136646f673332684be99c31_868f2c66-ff1e-43b3-8da7-df80676267e5.webp?v=1706001066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afdea0e4a7e4c2494136646f673332684be99c31_868f2c66-ff1e-43b3-8da7-df80676267e5.webp?v=1706001066","width":2000},{"alt":null,"id":23202055913571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7ffd68e24cc91e7243d396525e57ad3a6ee32c_6a2779ee-0b7a-4540-afb2-b6ce7c757d4b.webp?v=1706001068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7ffd68e24cc91e7243d396525e57ad3a6ee32c_6a2779ee-0b7a-4540-afb2-b6ce7c757d4b.webp?v=1706001068","width":2000},{"alt":null,"id":23217627988067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c7331a134eaf56b900808140ef6ebadf30e5e2c_aa7f586d-0129-4b74-9057-c87bde1de14a.webp?v=1706254173"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c7331a134eaf56b900808140ef6ebadf30e5e2c_aa7f586d-0129-4b74-9057-c87bde1de14a.webp?v=1706254173","width":2000},{"alt":null,"id":27647748309091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d.webp?v=1782883067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d.webp?v=1782883067","width":2000},{"alt":null,"id":27647748964451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575.webp?v=1782883068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575.webp?v=1782883068","width":2000},{"alt":null,"id":27647749652579,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe.webp?v=1782883069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe.webp?v=1782883069","width":2000},{"alt":null,"id":27826898698339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437","width":2000},{"alt":null,"id":27826899255395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440","width":2000},{"alt":null,"id":27826899746915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41197220790371,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991964259,"product_id":7155902251107,"position":9,"created_at":"2026-07-20T18:30:41+08:00","updated_at":"2026-07-20T18:30:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443","variant_ids":[41197220790371]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV08","featured_media":{"alt":null,"id":27826899746915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197220855907,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991472739,"product_id":7155902251107,"position":8,"created_at":"2026-07-20T18:30:39+08:00","updated_at":"2026-07-20T18:30:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440","variant_ids":[41197220855907]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-IV08","featured_media":{"alt":null,"id":27826899255395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24bc8f34acfce9f697dd2f6746a3c03a84500c6d_65b0a814-ab2d-4753-96b7-4e68f56b70d5.webp?v=1784543440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197220888675,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322990915683,"product_id":7155902251107,"position":7,"created_at":"2026-07-20T18:30:35+08:00","updated_at":"2026-07-20T18:30:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437","variant_ids":[41197220888675]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980J-IV08","featured_media":{"alt":null,"id":27826898698339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a898584e9d51ad29e3ae5c2f393969b279213575_fbdba94a-d970-4083-9ad7-ae3a77253b8d.webp?v=1784543437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41197220790371,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":36322991964259,"product_id":7155902251107,"position":9,"created_at":"2026-07-20T18:30:41+08:00","updated_at":"2026-07-20T18:30:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443","variant_ids":[41197220790371]},"available":true,"name":"iPhone 15 Pro Max Clear 1G J個好 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980G-IV08","featured_media":{"alt":null,"id":27826899746915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b3c1c7ef36760da538bc495088424021171a1fe_b6beea68-6e7e-4c7b-9943-9f3bd961bac3.webp?v=1784543443"}},"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: "停產"
}