$product = {"id":8048811212899,"title":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO","handle":"iphone-17-pro-max-solidx-jz23","description":null,"published_at":"2026-07-15T14:27:02+08:00","created_at":"2026-06-29T16:08:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-brothers","device-iPhone 17 Pro Max","merge","reseller-brothers"],"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":44301600718947,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125623287907,"product_id":8048811212899,"position":7,"created_at":"2026-06-29T16:09:39+08:00","updated_at":"2026-06-29T16:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581","variant_ids":[44301600718947]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-JZ23","featured_media":{"alt":null,"id":27630865121379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301605568611,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125619552355,"product_id":8048811212899,"position":1,"created_at":"2026-06-29T16:09:36+08:00","updated_at":"2026-06-29T16:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578","variant_ids":[44301605568611]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-JZ23","featured_media":{"alt":null,"id":27630861385827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301605765219,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125628956771,"product_id":8048811212899,"position":13,"created_at":"2026-06-29T16:09:44+08:00","updated_at":"2026-06-29T16:09:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586","variant_ids":[44301605765219]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-JZ23","featured_media":{"alt":null,"id":27630871478371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301606125667,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125620764771,"product_id":8048811212899,"position":3,"created_at":"2026-06-29T16:09:37+08:00","updated_at":"2026-06-29T16:09:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579","variant_ids":[44301606125667]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-JZ23","featured_media":{"alt":null,"id":27630862565475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301606322275,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125625843811,"product_id":8048811212899,"position":10,"created_at":"2026-06-29T16:09:41+08:00","updated_at":"2026-06-29T16:09:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583","variant_ids":[44301606322275]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-JZ23","featured_media":{"alt":null,"id":27630867644515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301606912099,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125624893539,"product_id":8048811212899,"position":9,"created_at":"2026-06-29T16:09:41+08:00","updated_at":"2026-06-29T16:09:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583","variant_ids":[44301606912099]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-JZ23","featured_media":{"alt":null,"id":27630866727011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301607272547,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125627711587,"product_id":8048811212899,"position":12,"created_at":"2026-06-29T16:09:42+08:00","updated_at":"2026-06-29T16:09:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584","variant_ids":[44301607272547]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - 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":"NST013534I-JZ23","featured_media":{"alt":null,"id":27630869577827,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301607600227,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125626761315,"product_id":8048811212899,"position":11,"created_at":"2026-06-29T16:09:42+08:00","updated_at":"2026-06-29T16:09:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584","variant_ids":[44301607600227]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-JZ23","featured_media":{"alt":null,"id":27630868594787,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301607927907,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125621223523,"product_id":8048811212899,"position":4,"created_at":"2026-06-29T16:09:37+08:00","updated_at":"2026-06-29T16:09:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580","variant_ids":[44301607927907]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-JZ23","featured_media":{"alt":null,"id":27630863056995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301608419427,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125621780579,"product_id":8048811212899,"position":5,"created_at":"2026-06-29T16:09:38+08:00","updated_at":"2026-06-29T16:09:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580","variant_ids":[44301608419427]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-JZ23","featured_media":{"alt":null,"id":27630863581283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301608747107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125619945571,"product_id":8048811212899,"position":2,"created_at":"2026-06-29T16:09:36+08:00","updated_at":"2026-06-29T16:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578","variant_ids":[44301608747107]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-JZ23","featured_media":{"alt":null,"id":27630861746275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301609599075,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125622599779,"product_id":8048811212899,"position":6,"created_at":"2026-06-29T16:09:39+08:00","updated_at":"2026-06-29T16:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581","variant_ids":[44301609599075]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - 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":"NST01353O8-JZ23","featured_media":{"alt":null,"id":27630864400483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301609861219,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125624041571,"product_id":8048811212899,"position":8,"created_at":"2026-06-29T16:09:40+08:00","updated_at":"2026-06-29T16:09:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582","variant_ids":[44301609861219]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-JZ23","featured_media":{"alt":null,"id":27630865875043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578","options":["color"],"media":[{"alt":null,"id":27630861385827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578","width":2000},{"alt":null,"id":27630861746275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578","width":2000},{"alt":null,"id":27630862565475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579","width":2000},{"alt":null,"id":27630863056995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580","width":2000},{"alt":null,"id":27630863581283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580","width":2000},{"alt":null,"id":27630864400483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581","width":2000},{"alt":null,"id":27630865121379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581","width":2000},{"alt":null,"id":27630865875043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582","width":2000},{"alt":null,"id":27630866727011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583","width":2000},{"alt":null,"id":27630867644515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583","width":2000},{"alt":null,"id":27630868594787,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584","width":2000},{"alt":null,"id":27630869577827,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584","width":2000},{"alt":null,"id":27630871478371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44301600718947,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125623287907,"product_id":8048811212899,"position":7,"created_at":"2026-06-29T16:09:39+08:00","updated_at":"2026-06-29T16:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581","variant_ids":[44301600718947]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-JZ23","featured_media":{"alt":null,"id":27630865121379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301605568611,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125619552355,"product_id":8048811212899,"position":1,"created_at":"2026-06-29T16:09:36+08:00","updated_at":"2026-06-29T16:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578","variant_ids":[44301605568611]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-JZ23","featured_media":{"alt":null,"id":27630861385827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac2504f0c99d10e5689ccd33c97bd2abd2832b8b.webp?v=1782720578"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301605765219,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125628956771,"product_id":8048811212899,"position":13,"created_at":"2026-06-29T16:09:44+08:00","updated_at":"2026-06-29T16:09:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586","variant_ids":[44301605765219]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-JZ23","featured_media":{"alt":null,"id":27630871478371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76c0793591c9847faed901d83b0c14c2e59b0700.webp?v=1782720586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301606125667,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125620764771,"product_id":8048811212899,"position":3,"created_at":"2026-06-29T16:09:37+08:00","updated_at":"2026-06-29T16:09:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579","variant_ids":[44301606125667]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-JZ23","featured_media":{"alt":null,"id":27630862565475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ba0418cbbc237f370263818238a2878d0e6a2af.webp?v=1782720579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301606322275,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125625843811,"product_id":8048811212899,"position":10,"created_at":"2026-06-29T16:09:41+08:00","updated_at":"2026-06-29T16:09:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583","variant_ids":[44301606322275]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-JZ23","featured_media":{"alt":null,"id":27630867644515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de5d8f7d01bf49b6f636837eef854c48c286dc46.webp?v=1782720583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301606912099,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125624893539,"product_id":8048811212899,"position":9,"created_at":"2026-06-29T16:09:41+08:00","updated_at":"2026-06-29T16:09:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583","variant_ids":[44301606912099]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-JZ23","featured_media":{"alt":null,"id":27630866727011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/222f03a97731a99af44dc1b5e8030530372d9c15.webp?v=1782720583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301607272547,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125627711587,"product_id":8048811212899,"position":12,"created_at":"2026-06-29T16:09:42+08:00","updated_at":"2026-06-29T16:09:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584","variant_ids":[44301607272547]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - 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":"NST013534I-JZ23","featured_media":{"alt":null,"id":27630869577827,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6529f5cf8576eb66b44e1441aee5c1e88b59dc2b.webp?v=1782720584"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301607600227,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125626761315,"product_id":8048811212899,"position":11,"created_at":"2026-06-29T16:09:42+08:00","updated_at":"2026-06-29T16:09:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584","variant_ids":[44301607600227]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-JZ23","featured_media":{"alt":null,"id":27630868594787,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055fbdd69bc0a8a3601539885dc582d9761c4033.webp?v=1782720584"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301607927907,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125621223523,"product_id":8048811212899,"position":4,"created_at":"2026-06-29T16:09:37+08:00","updated_at":"2026-06-29T16:09:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580","variant_ids":[44301607927907]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-JZ23","featured_media":{"alt":null,"id":27630863056995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13cf4f259e226ac11f6c4fedf7e2d9bff5a532a4.webp?v=1782720580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301608419427,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125621780579,"product_id":8048811212899,"position":5,"created_at":"2026-06-29T16:09:38+08:00","updated_at":"2026-06-29T16:09:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580","variant_ids":[44301608419427]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-JZ23","featured_media":{"alt":null,"id":27630863581283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f0bb371f6657bcbe4d6f05451ad47a22dad746d.webp?v=1782720580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301608747107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125619945571,"product_id":8048811212899,"position":2,"created_at":"2026-06-29T16:09:36+08:00","updated_at":"2026-06-29T16:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578","variant_ids":[44301608747107]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-JZ23","featured_media":{"alt":null,"id":27630861746275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14ec4de135abd7489398541ad7255b6cddf7d64.webp?v=1782720578"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301609599075,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125622599779,"product_id":8048811212899,"position":6,"created_at":"2026-06-29T16:09:39+08:00","updated_at":"2026-06-29T16:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581","variant_ids":[44301609599075]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - 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":"NST01353O8-JZ23","featured_media":{"alt":null,"id":27630864400483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ae039e89cf58eaf2e574ee9719016fe38246ecf.webp?v=1782720581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44301609861219,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125624041571,"product_id":8048811212899,"position":8,"created_at":"2026-06-29T16:09:40+08:00","updated_at":"2026-06-29T16:09:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582","variant_ids":[44301609861219]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-JZ23","featured_media":{"alt":null,"id":27630865875043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d019b6cdd0f5cf71d2acfbdbbdef7a6911c63e2d.webp?v=1782720582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44301600718947,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-JZ23","requires_shipping":true,"taxable":true,"featured_image":{"id":36125623287907,"product_id":8048811212899,"position":7,"created_at":"2026-06-29T16:09:39+08:00","updated_at":"2026-06-29T16:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581","variant_ids":[44301600718947]},"available":true,"name":"iPhone 17 Pro Max SolidX 中信兄弟 BROTHERS 美式滿版LOGO - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-JZ23","featured_media":{"alt":null,"id":27630865121379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b93c68eabcf6681a34a5ae28c7e543d83d1d0d9.webp?v=1782720581"}},"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: "停產"
}