$product = {"id":7956537081955,"title":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋","handle":"iphone-15-pro-max-jellytint-ec55","description":null,"published_at":"2026-01-27T10:36:29+08:00","created_at":"2026-01-27T10:26:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bylobster","device-iPhone 15 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":43969294794851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057271435363,"product_id":7956537081955,"position":10,"created_at":"2026-06-23T11:33:30+08:00","updated_at":"2026-06-23T11:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612","variant_ids":[43969294794851]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570119999587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43969299546211,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057269665891,"product_id":7956537081955,"position":8,"created_at":"2026-06-23T11:33:29+08:00","updated_at":"2026-06-23T11:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611","variant_ids":[43969299546211]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570118328419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43969300168803,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057270517859,"product_id":7956537081955,"position":9,"created_at":"2026-06-23T11:33:29+08:00","updated_at":"2026-06-23T11:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611","variant_ids":[43969300168803]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570119147619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561.webp?v=1769480790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7302c8bc53ed229c4abaa94a94177100bdc6580d.webp?v=1769480791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad.webp?v=1769480791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4.webp?v=1769480792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_9c92f1c1-a206-41ff-9500-91674fb36639.webp?v=1782180598","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_6addfe27-1abc-488f-a368-ca78c5f1458b.webp?v=1782180598","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_e9a261c2-dde8-424f-8f76-9c25a032fa3d.webp?v=1782180599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561.webp?v=1769480790","options":["color"],"media":[{"alt":null,"id":26707416678499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561.webp?v=1769480790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561.webp?v=1769480790","width":2000},{"alt":null,"id":26707416973411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7302c8bc53ed229c4abaa94a94177100bdc6580d.webp?v=1769480791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7302c8bc53ed229c4abaa94a94177100bdc6580d.webp?v=1769480791","width":2000},{"alt":null,"id":26707417170019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad.webp?v=1769480791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad.webp?v=1769480791","width":2000},{"alt":null,"id":26707417301091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4.webp?v=1769480792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4.webp?v=1769480792","width":2000},{"alt":null,"id":27567864414307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_9c92f1c1-a206-41ff-9500-91674fb36639.webp?v=1782180598"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_9c92f1c1-a206-41ff-9500-91674fb36639.webp?v=1782180598","width":2000},{"alt":null,"id":27567864905827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_6addfe27-1abc-488f-a368-ca78c5f1458b.webp?v=1782180598"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_6addfe27-1abc-488f-a368-ca78c5f1458b.webp?v=1782180598","width":2000},{"alt":null,"id":27567865397347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_e9a261c2-dde8-424f-8f76-9c25a032fa3d.webp?v=1782180599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_e9a261c2-dde8-424f-8f76-9c25a032fa3d.webp?v=1782180599","width":2000},{"alt":null,"id":27570118328419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611","width":2000},{"alt":null,"id":27570119147619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611","width":2000},{"alt":null,"id":27570119999587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43969294794851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057271435363,"product_id":7956537081955,"position":10,"created_at":"2026-06-23T11:33:30+08:00","updated_at":"2026-06-23T11:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612","variant_ids":[43969294794851]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570119999587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43969299546211,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012980J-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057269665891,"product_id":7956537081955,"position":8,"created_at":"2026-06-23T11:33:29+08:00","updated_at":"2026-06-23T11:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611","variant_ids":[43969299546211]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570118328419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a042b4375e303aee43cabdaf1e550ff86c8c561_88a9a1ac-68c3-4b7f-8c97-7e33e6bb1dce.webp?v=1782185611"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43969300168803,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012980G-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057270517859,"product_id":7956537081955,"position":9,"created_at":"2026-06-23T11:33:29+08:00","updated_at":"2026-06-23T11:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611","variant_ids":[43969300168803]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570119147619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d386ef9a5eb9823194749c4df1808b3967bd4_616a3ecf-b15e-48a7-a882-dcacea014e1c.webp?v=1782185611"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43969294794851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012980I-EC55","requires_shipping":true,"taxable":true,"featured_image":{"id":36057271435363,"product_id":7956537081955,"position":10,"created_at":"2026-06-23T11:33:30+08:00","updated_at":"2026-06-23T11:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612","variant_ids":[43969294794851]},"available":true,"name":"iPhone 15 Pro Max Clear 懶散兔與啾先生 海洋 - 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-EC55","featured_media":{"alt":null,"id":27570119999587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13d68c2a64e9a40d35ae65c1942ce7db981c6bad_405e529c-808f-4d6b-adec-55d8fe362c89.webp?v=1782185612"}},"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: "停產" }