$product = {"id":7911190921315,"title":"iPhone 15 Pro Max Clear PosterLad 色彩之雨","handle":"iphone-15-pro-max-jellytint-pos02","description":null,"published_at":"2025-11-05T10:48:30+08:00","created_at":"2025-11-04T10:33:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 15 Pro Max","merge","reseller-posterlad"],"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":43811932340323,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405173321827,"product_id":7911190921315,"position":5,"created_at":"2026-07-27T19:00:45+08:00","updated_at":"2026-07-27T19:00:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048","variant_ids":[43811932340323]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - 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":"CCN012980J-POS02","featured_media":{"alt":null,"id":27908779081827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933913187,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405174141027,"product_id":7911190921315,"position":7,"created_at":"2026-07-27T19:00:52+08:00","updated_at":"2026-07-27T19:00:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054","variant_ids":[43811933913187]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - 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":"CCN012980G-POS02","featured_media":{"alt":null,"id":27908779901027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933945955,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405173649507,"product_id":7911190921315,"position":6,"created_at":"2026-07-27T19:00:48+08:00","updated_at":"2026-07-27T19:00:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050","variant_ids":[43811933945955]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-POS02","featured_media":{"alt":null,"id":27908779409507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fe97e80e3fb8b7b18dcb1e7ed2a6353d45acca.webp?v=1762223604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b.webp?v=1762223605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c.webp?v=1762223605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd.webp?v=1762223606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fe97e80e3fb8b7b18dcb1e7ed2a6353d45acca.webp?v=1762223604","options":["color"],"media":[{"alt":null,"id":26296931287139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fe97e80e3fb8b7b18dcb1e7ed2a6353d45acca.webp?v=1762223604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12fe97e80e3fb8b7b18dcb1e7ed2a6353d45acca.webp?v=1762223604","width":2000},{"alt":null,"id":26296931483747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b.webp?v=1762223605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b.webp?v=1762223605","width":2000},{"alt":null,"id":26296931713123,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c.webp?v=1762223605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c.webp?v=1762223605","width":2000},{"alt":null,"id":26296931909731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd.webp?v=1762223606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd.webp?v=1762223606","width":2000},{"alt":null,"id":27908779081827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048","width":2000},{"alt":null,"id":27908779409507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050","width":2000},{"alt":null,"id":27908779901027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43811932340323,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405173321827,"product_id":7911190921315,"position":5,"created_at":"2026-07-27T19:00:45+08:00","updated_at":"2026-07-27T19:00:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048","variant_ids":[43811932340323]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - 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":"CCN012980J-POS02","featured_media":{"alt":null,"id":27908779081827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933913187,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405174141027,"product_id":7911190921315,"position":7,"created_at":"2026-07-27T19:00:52+08:00","updated_at":"2026-07-27T19:00:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054","variant_ids":[43811933913187]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - 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":"CCN012980G-POS02","featured_media":{"alt":null,"id":27908779901027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7697dcc795c4d5a3ce75e257d996480f2f4fd92c_3f45c7a6-2eb9-49f7-bf60-258e9fe715ab.webp?v=1785150054"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933945955,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405173649507,"product_id":7911190921315,"position":6,"created_at":"2026-07-27T19:00:48+08:00","updated_at":"2026-07-27T19:00:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050","variant_ids":[43811933945955]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012980I-POS02","featured_media":{"alt":null,"id":27908779409507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/338b855e538532ba77c5ea0b2b16a1e6e1c813dd_03fec247-f81b-40de-a3e2-ddf50c8f119d.webp?v=1785150050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43811932340323,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-POS02","requires_shipping":true,"taxable":true,"featured_image":{"id":36405173321827,"product_id":7911190921315,"position":5,"created_at":"2026-07-27T19:00:45+08:00","updated_at":"2026-07-27T19:00:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048","variant_ids":[43811932340323]},"available":true,"name":"iPhone 15 Pro Max Clear PosterLad 色彩之雨 - 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":"CCN012980J-POS02","featured_media":{"alt":null,"id":27908779081827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89d30a0742096cfc57dfb7f973f3b03935305a9b_47d83600-47c8-4196-8cd6-fd3047715bdd.webp?v=1785150048"}},"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: "停產" }