$product = {"id":7159413801059,"title":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛","handle":"iphone-14-pro-max-jellytint-ec26","description":null,"published_at":"2024-02-01T10:33:34+08:00","created_at":"2024-01-26T18:08:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bylobster","device-iPhone 14 Pro Max","merge","reseller-bylobster"],"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":41214760681571,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012630G-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151879860323,"product_id":7159413801059,"position":8,"created_at":"2026-07-02T11:03:18+08:00","updated_at":"2026-07-02T11:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400","variant_ids":[41214760681571]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - 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":"CCN012630G-EC26","featured_media":{"alt":null,"id":27656753774691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41214760779875,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012630H-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151880417379,"product_id":7159413801059,"position":9,"created_at":"2026-07-02T11:03:19+08:00","updated_at":"2026-07-02T11:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401","variant_ids":[41214760779875]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630H-EC26","featured_media":{"alt":null,"id":27656754331747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41214760910947,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012630J-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151881007203,"product_id":7159413801059,"position":10,"created_at":"2026-07-02T11:03:21+08:00","updated_at":"2026-07-02T11:03:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403","variant_ids":[41214760910947]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - 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":"CCN012630J-EC26","featured_media":{"alt":null,"id":27656754921571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-263-EC26_6790031e-e458-4fa2-95ef-a2ed7041cdcb.png?v=1706263732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2.webp?v=1782179602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb.webp?v=1782179603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea.webp?v=1782179604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_0a1f6f5c-0307-4306-8d76-0d5b7fa5b8c1.webp?v=1782957839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_c84458bc-29cc-4660-abd5-e02da2d12ff5.webp?v=1782957841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_f85a45a2-268b-4bd1-8015-5bc6235f6c2c.webp?v=1782957842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-263-EC26_6790031e-e458-4fa2-95ef-a2ed7041cdcb.png?v=1706263732","options":["color"],"media":[{"alt":null,"id":23219683688547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-263-EC26_6790031e-e458-4fa2-95ef-a2ed7041cdcb.png?v=1706263732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-263-EC26_6790031e-e458-4fa2-95ef-a2ed7041cdcb.png?v=1706263732","width":2000},{"alt":null,"id":27567391211619,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2.webp?v=1782179602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2.webp?v=1782179602","width":2000},{"alt":null,"id":27567392129123,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb.webp?v=1782179603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb.webp?v=1782179603","width":2000},{"alt":null,"id":27567393112163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea.webp?v=1782179604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea.webp?v=1782179604","width":2000},{"alt":null,"id":27655939620963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_0a1f6f5c-0307-4306-8d76-0d5b7fa5b8c1.webp?v=1782957839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_0a1f6f5c-0307-4306-8d76-0d5b7fa5b8c1.webp?v=1782957839","width":2000},{"alt":null,"id":27655940407395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_c84458bc-29cc-4660-abd5-e02da2d12ff5.webp?v=1782957841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_c84458bc-29cc-4660-abd5-e02da2d12ff5.webp?v=1782957841","width":2000},{"alt":null,"id":27655940964451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_f85a45a2-268b-4bd1-8015-5bc6235f6c2c.webp?v=1782957842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_f85a45a2-268b-4bd1-8015-5bc6235f6c2c.webp?v=1782957842","width":2000},{"alt":null,"id":27656753774691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400","width":2000},{"alt":null,"id":27656754331747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401","width":2000},{"alt":null,"id":27656754921571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41214760681571,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012630G-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151879860323,"product_id":7159413801059,"position":8,"created_at":"2026-07-02T11:03:18+08:00","updated_at":"2026-07-02T11:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400","variant_ids":[41214760681571]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - 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":"CCN012630G-EC26","featured_media":{"alt":null,"id":27656753774691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41214760779875,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012630H-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151880417379,"product_id":7159413801059,"position":9,"created_at":"2026-07-02T11:03:19+08:00","updated_at":"2026-07-02T11:03:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401","variant_ids":[41214760779875]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630H-EC26","featured_media":{"alt":null,"id":27656754331747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc876c48622eab16f170df3e7932ed25968b6bfb_0ca9b58a-809f-4a83-9602-6f3e55a9c04a.webp?v=1782961401"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41214760910947,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012630J-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151881007203,"product_id":7159413801059,"position":10,"created_at":"2026-07-02T11:03:21+08:00","updated_at":"2026-07-02T11:03:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403","variant_ids":[41214760910947]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - 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":"CCN012630J-EC26","featured_media":{"alt":null,"id":27656754921571,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edb36889b207dfddfa5414931b219dcfdd413e2_ab60cfd6-924b-43da-a736-9e6dba108170.webp?v=1782961403"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41214760681571,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012630G-EC26","requires_shipping":true,"taxable":true,"featured_image":{"id":36151879860323,"product_id":7159413801059,"position":8,"created_at":"2026-07-02T11:03:18+08:00","updated_at":"2026-07-02T11:03:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400","variant_ids":[41214760681571]},"available":true,"name":"iPhone 14 Pro Max Clear 懶散兔與啾先生 一起爛 - 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":"CCN012630G-EC26","featured_media":{"alt":null,"id":27656753774691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c5586b9882401714ba1cb64602e8861b2fe85ea_18363994-8500-4a3d-8502-6b52279aab6d.webp?v=1782961400"}},"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: "停產"
}