$product = {"id":7823726542947,"title":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋","handle":"iphone-15-pro-max-solidx-jo53","description":null,"published_at":"2025-07-01T19:25:27+08:00","created_at":"2025-06-20T10:18:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kid","device-iPhone 15 Pro Max","merge","reseller-kid"],"price":125000,"price_min":125000,"price_max":125000,"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":43472423190627,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846697059,"product_id":7823726542947,"position":3,"created_at":"2026-07-01T10:30:24+08:00","updated_at":"2026-07-01T10:30:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026","variant_ids":[43472423190627]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-JO53","featured_media":{"alt":null,"id":27644744040547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472426467427,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846762595,"product_id":7823726542947,"position":4,"created_at":"2026-07-01T10:30:25+08:00","updated_at":"2026-07-01T10:30:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027","variant_ids":[43472426467427]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-JO53","featured_media":{"alt":null,"id":27644744106083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472426565731,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139847123043,"product_id":7823726542947,"position":9,"created_at":"2026-07-01T10:30:28+08:00","updated_at":"2026-07-01T10:30:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030","variant_ids":[43472426565731]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-JO53","featured_media":{"alt":null,"id":27644744466531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472426598499,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846959203,"product_id":7823726542947,"position":7,"created_at":"2026-07-01T10:30:27+08:00","updated_at":"2026-07-01T10:30:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029","variant_ids":[43472426598499]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-JO53","featured_media":{"alt":null,"id":27644744302691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-JO53.png?v=1750385927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-JO53_070b3d95-87ad-4da7-9670-ccfc1e756a7e.png?v=1750832004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53f284a42cd9e1467f8ecfddd99c96b1e44748dc.webp?v=1782873028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/426133d371cdc4300b0cf0d6d5d05892a6498c95.webp?v=1782873028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ba289fa8ec7ba878e2af61e9ce5ff13c2736c5.webp?v=1782873029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-JO53.png?v=1750385927","options":["color"],"media":[{"alt":null,"id":25720274059363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-JO53.png?v=1750385927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-JO53.png?v=1750385927","width":2000},{"alt":null,"id":25736310521955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-JO53_070b3d95-87ad-4da7-9670-ccfc1e756a7e.png?v=1750832004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-JO53_070b3d95-87ad-4da7-9670-ccfc1e756a7e.png?v=1750832004","width":2000},{"alt":null,"id":27644744040547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026","width":2000},{"alt":null,"id":27644744106083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027","width":2000},{"alt":null,"id":27644744171619,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53f284a42cd9e1467f8ecfddd99c96b1e44748dc.webp?v=1782873028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53f284a42cd9e1467f8ecfddd99c96b1e44748dc.webp?v=1782873028","width":2000},{"alt":null,"id":27644744237155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/426133d371cdc4300b0cf0d6d5d05892a6498c95.webp?v=1782873028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/426133d371cdc4300b0cf0d6d5d05892a6498c95.webp?v=1782873028","width":2000},{"alt":null,"id":27644744302691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029","width":2000},{"alt":null,"id":27644744400995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ba289fa8ec7ba878e2af61e9ce5ff13c2736c5.webp?v=1782873029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1ba289fa8ec7ba878e2af61e9ce5ff13c2736c5.webp?v=1782873029","width":2000},{"alt":null,"id":27644744466531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43472423190627,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846697059,"product_id":7823726542947,"position":3,"created_at":"2026-07-01T10:30:24+08:00","updated_at":"2026-07-01T10:30:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026","variant_ids":[43472423190627]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-JO53","featured_media":{"alt":null,"id":27644744040547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472426467427,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846762595,"product_id":7823726542947,"position":4,"created_at":"2026-07-01T10:30:25+08:00","updated_at":"2026-07-01T10:30:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027","variant_ids":[43472426467427]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-JO53","featured_media":{"alt":null,"id":27644744106083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c572fc96a719ada3de1ebf7b6b81aa2e3ab00df.webp?v=1782873027"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472426565731,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139847123043,"product_id":7823726542947,"position":9,"created_at":"2026-07-01T10:30:28+08:00","updated_at":"2026-07-01T10:30:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030","variant_ids":[43472426565731]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-JO53","featured_media":{"alt":null,"id":27644744466531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7195c6a747188a66b0a7190039bd07485527526.webp?v=1782873030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472426598499,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846959203,"product_id":7823726542947,"position":7,"created_at":"2026-07-01T10:30:27+08:00","updated_at":"2026-07-01T10:30:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029","variant_ids":[43472426598499]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-JO53","featured_media":{"alt":null,"id":27644744302691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a434063e133d2bb0cda093fc8d8f154c2afa295a.webp?v=1782873029"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43472423190627,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-JO53","requires_shipping":true,"taxable":true,"featured_image":{"id":36139846697059,"product_id":7823726542947,"position":3,"created_at":"2026-07-01T10:30:24+08:00","updated_at":"2026-07-01T10:30:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026","variant_ids":[43472423190627]},"available":true,"name":"iPhone 15 Pro Max SolidX KID 嗨、 你好海洋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-JO53","featured_media":{"alt":null,"id":27644744040547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb05b308a825dd776dd70c0c8ed56d3aed73c1.webp?v=1782873026"}},"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: "停產" }