$product = {"id":8048508371043,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會","handle":"iphone-17-pro-max-solidx-magsafe-sf66","description":null,"published_at":"2026-06-29T15:16:17+08:00","created_at":"2026-06-29T10:21:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-princess","device-iPhone 17 Pro Max","merge","reseller-disney-princess"],"price":145000,"price_min":145000,"price_max":145000,"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":44300497682531,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165098083,"product_id":8048508371043,"position":6,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732","variant_ids":[44300497682531]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-SF66","featured_media":{"alt":null,"id":27628410011747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504039523,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167424611,"product_id":8048508371043,"position":10,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734","variant_ids":[44300504039523]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-SF66","featured_media":{"alt":null,"id":27628412141667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504399971,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166965859,"product_id":8048508371043,"position":9,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734","variant_ids":[44300504399971]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-SF66","featured_media":{"alt":null,"id":27628411650147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504727651,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163197539,"product_id":8048508371043,"position":1,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729","variant_ids":[44300504727651]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-SF66","featured_media":{"alt":null,"id":27628407947363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504924259,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163951203,"product_id":8048508371043,"position":3,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730","variant_ids":[44300504924259]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-SF66","featured_media":{"alt":null,"id":27628408701027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505120867,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163590755,"product_id":8048508371043,"position":2,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729","variant_ids":[44300505120867]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-SF66","featured_media":{"alt":null,"id":27628408340579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505579619,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165753443,"product_id":8048508371043,"position":7,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733","variant_ids":[44300505579619]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-SF66","featured_media":{"alt":null,"id":27628410568803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506005603,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168637027,"product_id":8048508371043,"position":12,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735","variant_ids":[44300506005603]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-SF66","featured_media":{"alt":null,"id":27628413386851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506595427,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164147811,"product_id":8048508371043,"position":4,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730","variant_ids":[44300506595427]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-SF66","featured_media":{"alt":null,"id":27628408864867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507218019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164704867,"product_id":8048508371043,"position":5,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731","variant_ids":[44300507218019]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-SF66","featured_media":{"alt":null,"id":27628409421923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507447395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169390691,"product_id":8048508371043,"position":13,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735","variant_ids":[44300507447395]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-SF66","featured_media":{"alt":null,"id":27628414140515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508168291,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167981667,"product_id":8048508371043,"position":11,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734","variant_ids":[44300508168291]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-SF66","featured_media":{"alt":null,"id":27628412731491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508921955,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166539875,"product_id":8048508371043,"position":8,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733","variant_ids":[44300508921955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-SF66","featured_media":{"alt":null,"id":27628411289699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729","options":["color"],"media":[{"alt":null,"id":27628407947363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729","width":2000},{"alt":null,"id":27628408340579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729","width":2000},{"alt":null,"id":27628408701027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730","width":2000},{"alt":null,"id":27628408864867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730","width":2000},{"alt":null,"id":27628409421923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731","width":2000},{"alt":null,"id":27628410011747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732","width":2000},{"alt":null,"id":27628410568803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733","width":2000},{"alt":null,"id":27628411289699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733","width":2000},{"alt":null,"id":27628411650147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734","width":2000},{"alt":null,"id":27628412141667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734","width":2000},{"alt":null,"id":27628412731491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734","width":2000},{"alt":null,"id":27628413386851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735","width":2000},{"alt":null,"id":27628414140515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44300497682531,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165098083,"product_id":8048508371043,"position":6,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732","variant_ids":[44300497682531]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-SF66","featured_media":{"alt":null,"id":27628410011747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504039523,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167424611,"product_id":8048508371043,"position":10,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734","variant_ids":[44300504039523]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-SF66","featured_media":{"alt":null,"id":27628412141667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56b04caffff0a4108b87d11c3ec7916a35ebe2b9.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504399971,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166965859,"product_id":8048508371043,"position":9,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734","variant_ids":[44300504399971]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-SF66","featured_media":{"alt":null,"id":27628411650147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/231c7caec7c2f5d3284a3212d8dd8fc7a6536ca0.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504727651,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163197539,"product_id":8048508371043,"position":1,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729","variant_ids":[44300504727651]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-SF66","featured_media":{"alt":null,"id":27628407947363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33404d5a0b59aee1e2c029938bdbdcde3d0e9547.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504924259,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163951203,"product_id":8048508371043,"position":3,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730","variant_ids":[44300504924259]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-SF66","featured_media":{"alt":null,"id":27628408701027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5134a3fbdab04170ac5c2326aa135753ab0c59b.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505120867,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163590755,"product_id":8048508371043,"position":2,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729","variant_ids":[44300505120867]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-SF66","featured_media":{"alt":null,"id":27628408340579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d65ac254174b6e5c4fc9d90ea192d5e2061b053.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505579619,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165753443,"product_id":8048508371043,"position":7,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733","variant_ids":[44300505579619]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-SF66","featured_media":{"alt":null,"id":27628410568803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d315d03ef215b6c37a2be10c8396c81c939f7c6d.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506005603,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168637027,"product_id":8048508371043,"position":12,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735","variant_ids":[44300506005603]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-SF66","featured_media":{"alt":null,"id":27628413386851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82822584f2188f1c327fbe7a6074a44d3e499d75.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506595427,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164147811,"product_id":8048508371043,"position":4,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730","variant_ids":[44300506595427]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-SF66","featured_media":{"alt":null,"id":27628408864867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349d61ac54de512358efcf89461a9e10f1d16e22.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507218019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164704867,"product_id":8048508371043,"position":5,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731","variant_ids":[44300507218019]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-SF66","featured_media":{"alt":null,"id":27628409421923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2783396da98d451af7768c1d8b4e2def0d346bdc.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507447395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169390691,"product_id":8048508371043,"position":13,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735","variant_ids":[44300507447395]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-SF66","featured_media":{"alt":null,"id":27628414140515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f7d751c509b49c0a2c73735f94d21a4cd6c689.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508168291,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167981667,"product_id":8048508371043,"position":11,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734","variant_ids":[44300508168291]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-SF66","featured_media":{"alt":null,"id":27628412731491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438141f530a6ebba5c7f187aee0363381b031c66.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508921955,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166539875,"product_id":8048508371043,"position":8,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733","variant_ids":[44300508921955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-SF66","featured_media":{"alt":null,"id":27628411289699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7374d243ca1369ccf0239db1a6582a34ee8cd65c.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44300497682531,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF66","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165098083,"product_id":8048508371043,"position":6,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732","variant_ids":[44300497682531]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 公主聚會 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-SF66","featured_media":{"alt":null,"id":27628410011747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8850d684bc41f65d3d9b5a3c7dc27c9ec90df81f.webp?v=1782699732"}},"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: "停產"
}