$product = {"id":7164411773027,"title":"iPhone 15 Pro Max Clear (MagSafe 兼容) Snoopy 史努比 Chill moment","handle":"iphone-15-pro-max-jellytint-magsafe-pl58","description":null,"published_at":"2024-01-30T23:27:32+08:00","created_at":"2024-01-30T23:27:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-Snoopy 史努比","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-snoopy","device-iPhone 15 Pro Max","merge","reseller-snoopy"],"price":148000,"price_min":148000,"price_max":148000,"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":41237512028259,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012980G-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580556476515,"product_id":7164411773027,"position":12,"created_at":"2026-04-02T11:21:18+08:00","updated_at":"2026-04-02T11:21:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080","variant_ids":[41237512028259]},"available":true,"name":"iPhone 15 Pro Max Clear (MagSafe 兼容) Snoopy 史努比 Chill moment - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":1680,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012980G-PL58","featured_media":{"alt":null,"id":27113178071139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41237512126563,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012980J-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580556214371,"product_id":7164411773027,"position":11,"created_at":"2026-04-02T11:21:18+08:00","updated_at":"2026-04-02T11:21:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080","variant_ids":[41237512126563]},"available":true,"name":"iPhone 15 Pro Max Clear (MagSafe 兼容) Snoopy 史努比 Chill moment - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":1680,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012980J-PL58","featured_media":{"alt":null,"id":27113177808995,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c191d5033bea0695d3c3e7c97c6c866ba9e49b_ce6615ce-b69d-4051-87ea-522ba17e9c95.webp?v=1706628437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da05434d1a3e56c804d9f75a097b042a62f7264_12a57648-143e-4918-a05b-0f416e7c2b26.webp?v=1706628440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d4ad2d208cd6ca2ae6fb471ab6dc7f2414921a6_177f7a7b-a37e-451f-860f-0cdd8c5e5a81.webp?v=1706628444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da8d6cb27585e658b588ae432a4a970e50a33c1_cd2019af-c415-4671-b783-57a5a93f3db8.webp?v=1706628446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c38e8da38c3882a3bda077dba569bc0554beb68_649a267f-4981-4ad1-a2cd-b7fc96b2bff0.webp?v=1706628449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d81f952f7faa59213ddf6861b5261563956c690_44012c18-d9f1-4910-9260-a6dd88bb111d.webp?v=1706628451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2cbc7a6b678dc08a0b74929e2255f00468c331.webp?v=1774938441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c.webp?v=1774938442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152268d2fd2a9e92a79ea4828db856fdc4f82b89.webp?v=1774938443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4.webp?v=1774938444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2cbc7a6b678dc08a0b74929e2255f00468c331_d90eda1e-5fed-4306-8563-2abf55086a80.webp?v=1775100081"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c191d5033bea0695d3c3e7c97c6c866ba9e49b_ce6615ce-b69d-4051-87ea-522ba17e9c95.webp?v=1706628437","options":["color"],"media":[{"alt":null,"id":23240284536931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c191d5033bea0695d3c3e7c97c6c866ba9e49b_ce6615ce-b69d-4051-87ea-522ba17e9c95.webp?v=1706628437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c191d5033bea0695d3c3e7c97c6c866ba9e49b_ce6615ce-b69d-4051-87ea-522ba17e9c95.webp?v=1706628437","width":2000},{"alt":null,"id":23240285421667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da05434d1a3e56c804d9f75a097b042a62f7264_12a57648-143e-4918-a05b-0f416e7c2b26.webp?v=1706628440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da05434d1a3e56c804d9f75a097b042a62f7264_12a57648-143e-4918-a05b-0f416e7c2b26.webp?v=1706628440","width":2000},{"alt":null,"id":23240286503011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d4ad2d208cd6ca2ae6fb471ab6dc7f2414921a6_177f7a7b-a37e-451f-860f-0cdd8c5e5a81.webp?v=1706628444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d4ad2d208cd6ca2ae6fb471ab6dc7f2414921a6_177f7a7b-a37e-451f-860f-0cdd8c5e5a81.webp?v=1706628444","width":2000},{"alt":null,"id":23240287453283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da8d6cb27585e658b588ae432a4a970e50a33c1_cd2019af-c415-4671-b783-57a5a93f3db8.webp?v=1706628446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da8d6cb27585e658b588ae432a4a970e50a33c1_cd2019af-c415-4671-b783-57a5a93f3db8.webp?v=1706628446","width":2000},{"alt":null,"id":23240288141411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c38e8da38c3882a3bda077dba569bc0554beb68_649a267f-4981-4ad1-a2cd-b7fc96b2bff0.webp?v=1706628449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c38e8da38c3882a3bda077dba569bc0554beb68_649a267f-4981-4ad1-a2cd-b7fc96b2bff0.webp?v=1706628449","width":2000},{"alt":null,"id":23240288731235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d81f952f7faa59213ddf6861b5261563956c690_44012c18-d9f1-4910-9260-a6dd88bb111d.webp?v=1706628451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d81f952f7faa59213ddf6861b5261563956c690_44012c18-d9f1-4910-9260-a6dd88bb111d.webp?v=1706628451","width":2000},{"alt":null,"id":27102018240611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2cbc7a6b678dc08a0b74929e2255f00468c331.webp?v=1774938441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2cbc7a6b678dc08a0b74929e2255f00468c331.webp?v=1774938441","width":2000},{"alt":null,"id":27102018502755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c.webp?v=1774938442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c.webp?v=1774938442","width":2000},{"alt":null,"id":27102018568291,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152268d2fd2a9e92a79ea4828db856fdc4f82b89.webp?v=1774938443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152268d2fd2a9e92a79ea4828db856fdc4f82b89.webp?v=1774938443","width":2000},{"alt":null,"id":27102018732131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4.webp?v=1774938444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4.webp?v=1774938444","width":2000},{"alt":null,"id":27113177808995,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080","width":2000},{"alt":null,"id":27113178071139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080","width":2000},{"alt":null,"id":27113178300515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2cbc7a6b678dc08a0b74929e2255f00468c331_d90eda1e-5fed-4306-8563-2abf55086a80.webp?v=1775100081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2cbc7a6b678dc08a0b74929e2255f00468c331_d90eda1e-5fed-4306-8563-2abf55086a80.webp?v=1775100081","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41237512028259,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012980G-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580556476515,"product_id":7164411773027,"position":12,"created_at":"2026-04-02T11:21:18+08:00","updated_at":"2026-04-02T11:21:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080","variant_ids":[41237512028259]},"available":true,"name":"iPhone 15 Pro Max Clear (MagSafe 兼容) Snoopy 史努比 Chill moment - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":1680,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012980G-PL58","featured_media":{"alt":null,"id":27113178071139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41237512126563,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012980J-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580556214371,"product_id":7164411773027,"position":11,"created_at":"2026-04-02T11:21:18+08:00","updated_at":"2026-04-02T11:21:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080","variant_ids":[41237512126563]},"available":true,"name":"iPhone 15 Pro Max Clear (MagSafe 兼容) Snoopy 史努比 Chill moment - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":1680,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012980J-PL58","featured_media":{"alt":null,"id":27113177808995,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628713a99e45c3c75ccbb5769dfa9d41ef65bb4_56dfe6b0-6978-4c76-bf0c-a07cdd824c1a.webp?v=1775100080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41237512028259,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012980G-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580556476515,"product_id":7164411773027,"position":12,"created_at":"2026-04-02T11:21:18+08:00","updated_at":"2026-04-02T11:21:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080","variant_ids":[41237512028259]},"available":true,"name":"iPhone 15 Pro Max Clear (MagSafe 兼容) Snoopy 史努比 Chill moment - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":1680,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012980G-PL58","featured_media":{"alt":null,"id":27113178071139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e369967ef13e8ad0b2a8571d82dea12ed13ff00c_6911f392-ec9b-4ca3-9658-d31aef4520ea.webp?v=1775100080"}},"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: "停產" }