$product = {"id":7823720874083,"title":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day","handle":"iphone-15-pro-max-solidx-kc20","description":null,"published_at":"2025-07-01T19:26:21+08:00","created_at":"2025-06-20T10:18:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-baodashan","device-iPhone 15 Pro Max","merge","reseller-baodashan"],"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":43472368959587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142922072163,"product_id":7823720874083,"position":3,"created_at":"2026-07-01T13:21:14+08:00","updated_at":"2026-07-01T13:21:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276","variant_ids":[43472368959587]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647812206691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472371482723,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142923055203,"product_id":7823720874083,"position":5,"created_at":"2026-07-01T13:21:15+08:00","updated_at":"2026-07-01T13:21:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277","variant_ids":[43472371482723]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647813222499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472371581027,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142922432611,"product_id":7823720874083,"position":4,"created_at":"2026-07-01T13:21:15+08:00","updated_at":"2026-07-01T13:21:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277","variant_ids":[43472371581027]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647812599907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472371613795,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142923710563,"product_id":7823720874083,"position":6,"created_at":"2026-07-01T13:21:16+08:00","updated_at":"2026-07-01T13:21:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278","variant_ids":[43472371613795]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647813877859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278"}},"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-KC20.png?v=1750385889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-KC20_6844d078-8858-4431-8682-ae100991b709.png?v=1750832046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7cc445256740605ccc00b6b97ce2436400024d.webp?v=1782883278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ba65f9dfbcd545e569752a9b4d8addc926119bb.webp?v=1782883280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94544b80d713425d751f67506204c950550e19c8.webp?v=1782883281"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-KC20.png?v=1750385889","options":["color"],"media":[{"alt":null,"id":25720265408611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-KC20.png?v=1750385889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-KC20.png?v=1750385889","width":2000},{"alt":null,"id":25736320090211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-KC20_6844d078-8858-4431-8682-ae100991b709.png?v=1750832046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-KC20_6844d078-8858-4431-8682-ae100991b709.png?v=1750832046","width":2000},{"alt":null,"id":27647812206691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276","width":2000},{"alt":null,"id":27647812599907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277","width":2000},{"alt":null,"id":27647813222499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277","width":2000},{"alt":null,"id":27647813877859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278","width":2000},{"alt":null,"id":27647814369379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7cc445256740605ccc00b6b97ce2436400024d.webp?v=1782883278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7cc445256740605ccc00b6b97ce2436400024d.webp?v=1782883278","width":2000},{"alt":null,"id":27647815319651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ba65f9dfbcd545e569752a9b4d8addc926119bb.webp?v=1782883280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ba65f9dfbcd545e569752a9b4d8addc926119bb.webp?v=1782883280","width":2000},{"alt":null,"id":27647815778403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94544b80d713425d751f67506204c950550e19c8.webp?v=1782883281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94544b80d713425d751f67506204c950550e19c8.webp?v=1782883281","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43472368959587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142922072163,"product_id":7823720874083,"position":3,"created_at":"2026-07-01T13:21:14+08:00","updated_at":"2026-07-01T13:21:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276","variant_ids":[43472368959587]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647812206691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472371482723,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142923055203,"product_id":7823720874083,"position":5,"created_at":"2026-07-01T13:21:15+08:00","updated_at":"2026-07-01T13:21:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277","variant_ids":[43472371482723]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647813222499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bde8268d4e61f5effd0da0e1c799cfebda46a17.webp?v=1782883277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472371581027,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142922432611,"product_id":7823720874083,"position":4,"created_at":"2026-07-01T13:21:15+08:00","updated_at":"2026-07-01T13:21:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277","variant_ids":[43472371581027]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647812599907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1e1e60f580e7a96561f6fe30fdfb91337391589.webp?v=1782883277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472371613795,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142923710563,"product_id":7823720874083,"position":6,"created_at":"2026-07-01T13:21:16+08:00","updated_at":"2026-07-01T13:21:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278","variant_ids":[43472371613795]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647813877859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecc81ac5c9e5952e6c414da0bd59c4b13eb2ddc.webp?v=1782883278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43472368959587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-KC20","requires_shipping":true,"taxable":true,"featured_image":{"id":36142922072163,"product_id":7823720874083,"position":3,"created_at":"2026-07-01T13:21:14+08:00","updated_at":"2026-07-01T13:21:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276","variant_ids":[43472368959587]},"available":true,"name":"iPhone 15 Pro Max SolidX 包大山 Baozi Chen One day - 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-KC20","featured_media":{"alt":null,"id":27647812206691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56cf1016610ca574cd3a5ce7932fcedf5bcdab39.webp?v=1782883276"}},"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: "停產" }