$product = {"id":7873210318947,"title":"iPhone 14 Pro Max Clear Keigo Loudspeaker","handle":"iphone-14-pro-max-jellytint-kei03","description":null,"published_at":"2025-09-01T11:19:38+08:00","created_at":"2025-09-01T09:24:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro Max","merge","reseller-keigo"],"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":43658321920099,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012630G-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319252578403,"product_id":7873210318947,"position":10,"created_at":"2026-07-20T12:50:18+08:00","updated_at":"2026-07-20T12:50:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020","variant_ids":[43658321920099]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630G-KEI03","featured_media":{"alt":null,"id":27823204925539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658324213859,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012630H-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319251497059,"product_id":7873210318947,"position":8,"created_at":"2026-07-20T12:50:13+08:00","updated_at":"2026-07-20T12:50:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015","variant_ids":[43658324213859]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630H-KEI03","featured_media":{"alt":null,"id":27823203844195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658324246627,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012630J-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319251791971,"product_id":7873210318947,"position":9,"created_at":"2026-07-20T12:50:17+08:00","updated_at":"2026-07-20T12:50:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019","variant_ids":[43658324246627]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630J-KEI03","featured_media":{"alt":null,"id":27823204139107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba.webp?v=1756689877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5.webp?v=1756689877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35b77747ee2a31abf534eb76d1494acc35e7c08f.webp?v=1756689878","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0.webp?v=1756689879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_9e12b49e-f53c-49c0-a064-411f1bb477c4.webp?v=1784107119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_767a4e55-73ed-49d5-8805-3bb60bd8e426.webp?v=1784107120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_c8cf01da-ac42-498d-b7f4-ee63e56e2418.webp?v=1784107121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba.webp?v=1756689877","options":["color"],"media":[{"alt":null,"id":25981994958947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba.webp?v=1756689877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba.webp?v=1756689877","width":2000},{"alt":null,"id":25981995188323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5.webp?v=1756689877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5.webp?v=1756689877","width":2000},{"alt":null,"id":25981995483235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35b77747ee2a31abf534eb76d1494acc35e7c08f.webp?v=1756689878"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35b77747ee2a31abf534eb76d1494acc35e7c08f.webp?v=1756689878","width":2000},{"alt":null,"id":25981995843683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0.webp?v=1756689879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0.webp?v=1756689879","width":2000},{"alt":null,"id":27777125122147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_9e12b49e-f53c-49c0-a064-411f1bb477c4.webp?v=1784107119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_9e12b49e-f53c-49c0-a064-411f1bb477c4.webp?v=1784107119","width":2000},{"alt":null,"id":27777125253219,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_767a4e55-73ed-49d5-8805-3bb60bd8e426.webp?v=1784107120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_767a4e55-73ed-49d5-8805-3bb60bd8e426.webp?v=1784107120","width":2000},{"alt":null,"id":27777125548131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_c8cf01da-ac42-498d-b7f4-ee63e56e2418.webp?v=1784107121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_c8cf01da-ac42-498d-b7f4-ee63e56e2418.webp?v=1784107121","width":2000},{"alt":null,"id":27823203844195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015","width":2000},{"alt":null,"id":27823204139107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019","width":2000},{"alt":null,"id":27823204925539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658321920099,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012630G-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319252578403,"product_id":7873210318947,"position":10,"created_at":"2026-07-20T12:50:18+08:00","updated_at":"2026-07-20T12:50:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020","variant_ids":[43658321920099]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630G-KEI03","featured_media":{"alt":null,"id":27823204925539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658324213859,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012630H-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319251497059,"product_id":7873210318947,"position":8,"created_at":"2026-07-20T12:50:13+08:00","updated_at":"2026-07-20T12:50:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015","variant_ids":[43658324213859]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630H-KEI03","featured_media":{"alt":null,"id":27823203844195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eba9f5ecf9f5392c954aabed42da79e739845ba_9fbcc5ef-c31b-4e37-bae4-23730b9e0b95.webp?v=1784523015"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658324246627,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012630J-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319251791971,"product_id":7873210318947,"position":9,"created_at":"2026-07-20T12:50:17+08:00","updated_at":"2026-07-20T12:50:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019","variant_ids":[43658324246627]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630J-KEI03","featured_media":{"alt":null,"id":27823204139107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f762b6da0546b7e93ed250760316f782ec6bf9a0_b5cd6ea0-5c31-4f86-ae74-e6333de9f832.webp?v=1784523019"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658321920099,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012630G-KEI03","requires_shipping":true,"taxable":true,"featured_image":{"id":36319252578403,"product_id":7873210318947,"position":10,"created_at":"2026-07-20T12:50:18+08:00","updated_at":"2026-07-20T12:50:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020","variant_ids":[43658321920099]},"available":true,"name":"iPhone 14 Pro Max Clear Keigo Loudspeaker - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012630G-KEI03","featured_media":{"alt":null,"id":27823204925539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ff227080931f6c47b83649812010bd333a1cca5_b0f9ae55-3eee-4d74-a200-815f8cadd8b8.webp?v=1784523020"}},"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: "停產" }