$product = {"id":8035626418275,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold","handle":"iphone-17-pro-max-solidx-magsafe-gm23","description":null,"published_at":"2026-06-17T12:22:10+08:00","created_at":"2026-06-17T10:52:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-dfb","device-iPhone 17 Pro Max","merge","reseller-dfb"],"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":44263690338403,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972007011,"product_id":8035626418275,"position":10,"created_at":"2026-06-17T10:53:00+08:00","updated_at":"2026-06-17T10:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782","variant_ids":[44263690338403]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779071587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696466019,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970958435,"product_id":8035626418275,"position":6,"created_at":"2026-06-17T10:52:57+08:00","updated_at":"2026-06-17T10:52:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779","variant_ids":[44263696466019]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778023011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696629859,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970565219,"product_id":8035626418275,"position":4,"created_at":"2026-06-17T10:52:56+08:00","updated_at":"2026-06-17T10:52:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778","variant_ids":[44263696629859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777629795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696859235,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970761827,"product_id":8035626418275,"position":5,"created_at":"2026-06-17T10:52:57+08:00","updated_at":"2026-06-17T10:52:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779","variant_ids":[44263696859235]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777826403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697055843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970106467,"product_id":8035626418275,"position":2,"created_at":"2026-06-17T10:52:55+08:00","updated_at":"2026-06-17T10:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777","variant_ids":[44263697055843]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777171043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697350755,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971187811,"product_id":8035626418275,"position":7,"created_at":"2026-06-17T10:52:58+08:00","updated_at":"2026-06-17T10:53:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780","variant_ids":[44263697350755]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778252387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697481827,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971810403,"product_id":8035626418275,"position":9,"created_at":"2026-06-17T10:52:59+08:00","updated_at":"2026-06-17T10:53:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781","variant_ids":[44263697481827]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778874979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697842275,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009969909859,"product_id":8035626418275,"position":1,"created_at":"2026-06-17T10:52:55+08:00","updated_at":"2026-06-17T10:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777","variant_ids":[44263697842275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528776974435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698104419,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971482723,"product_id":8035626418275,"position":8,"created_at":"2026-06-17T10:52:58+08:00","updated_at":"2026-06-17T10:53:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780","variant_ids":[44263698104419]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778547299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698432099,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970335843,"product_id":8035626418275,"position":3,"created_at":"2026-06-17T10:52:56+08:00","updated_at":"2026-06-17T10:52:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778","variant_ids":[44263698432099]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777400419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698792547,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972334691,"product_id":8035626418275,"position":11,"created_at":"2026-06-17T10:53:00+08:00","updated_at":"2026-06-17T10:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782","variant_ids":[44263698792547]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779399267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699087459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972826211,"product_id":8035626418275,"position":13,"created_at":"2026-06-17T10:53:01+08:00","updated_at":"2026-06-17T10:53:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784","variant_ids":[44263699087459]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779825251,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699447907,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972662371,"product_id":8035626418275,"position":12,"created_at":"2026-06-17T10:53:01+08:00","updated_at":"2026-06-17T10:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783","variant_ids":[44263699447907]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779694179,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777","options":["color"],"media":[{"alt":null,"id":27528776974435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777","width":2000},{"alt":null,"id":27528777171043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777","width":2000},{"alt":null,"id":27528777400419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778","width":2000},{"alt":null,"id":27528777629795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778","width":2000},{"alt":null,"id":27528777826403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779","width":2000},{"alt":null,"id":27528778023011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779","width":2000},{"alt":null,"id":27528778252387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780","width":2000},{"alt":null,"id":27528778547299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780","width":2000},{"alt":null,"id":27528778874979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781","width":2000},{"alt":null,"id":27528779071587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782","width":2000},{"alt":null,"id":27528779399267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782","width":2000},{"alt":null,"id":27528779694179,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783","width":2000},{"alt":null,"id":27528779825251,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44263690338403,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972007011,"product_id":8035626418275,"position":10,"created_at":"2026-06-17T10:53:00+08:00","updated_at":"2026-06-17T10:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782","variant_ids":[44263690338403]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779071587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696466019,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970958435,"product_id":8035626418275,"position":6,"created_at":"2026-06-17T10:52:57+08:00","updated_at":"2026-06-17T10:52:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779","variant_ids":[44263696466019]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778023011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51ac305f9ea3fe57181a68a869abe9fe8c514040.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696629859,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970565219,"product_id":8035626418275,"position":4,"created_at":"2026-06-17T10:52:56+08:00","updated_at":"2026-06-17T10:52:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778","variant_ids":[44263696629859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777629795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bc94468286ac1a26876eb98670876fb19f3349.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696859235,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970761827,"product_id":8035626418275,"position":5,"created_at":"2026-06-17T10:52:57+08:00","updated_at":"2026-06-17T10:52:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779","variant_ids":[44263696859235]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777826403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae6036d778e5be1e54c269672f6e3ccb26c4f16.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697055843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970106467,"product_id":8035626418275,"position":2,"created_at":"2026-06-17T10:52:55+08:00","updated_at":"2026-06-17T10:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777","variant_ids":[44263697055843]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777171043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a4994f737ca1b175b25c54ef208f0a349d05e60.webp?v=1781664777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697350755,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971187811,"product_id":8035626418275,"position":7,"created_at":"2026-06-17T10:52:58+08:00","updated_at":"2026-06-17T10:53:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780","variant_ids":[44263697350755]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778252387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c623fdee475b2a752d7ada1f6715babb02eda5b.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697481827,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971810403,"product_id":8035626418275,"position":9,"created_at":"2026-06-17T10:52:59+08:00","updated_at":"2026-06-17T10:53:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781","variant_ids":[44263697481827]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778874979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73b1e07849ad14f04b3bb81ef51193b781f88ce.webp?v=1781664781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697842275,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009969909859,"product_id":8035626418275,"position":1,"created_at":"2026-06-17T10:52:55+08:00","updated_at":"2026-06-17T10:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777","variant_ids":[44263697842275]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528776974435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b89a1ef0bedc7e27f9e504fd60d9bc41b5ef07.webp?v=1781664777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698104419,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971482723,"product_id":8035626418275,"position":8,"created_at":"2026-06-17T10:52:58+08:00","updated_at":"2026-06-17T10:53:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780","variant_ids":[44263698104419]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528778547299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4c0a671fddb475d44a408db0e107098f2ed926.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698432099,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970335843,"product_id":8035626418275,"position":3,"created_at":"2026-06-17T10:52:56+08:00","updated_at":"2026-06-17T10:52:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778","variant_ids":[44263698432099]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528777400419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13bfa711b3d02936534dadadc6fc8cca00283bb9.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698792547,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972334691,"product_id":8035626418275,"position":11,"created_at":"2026-06-17T10:53:00+08:00","updated_at":"2026-06-17T10:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782","variant_ids":[44263698792547]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779399267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56be8ea587818fc2c548ac9ecbe37828e8824b63.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699087459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972826211,"product_id":8035626418275,"position":13,"created_at":"2026-06-17T10:53:01+08:00","updated_at":"2026-06-17T10:53:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784","variant_ids":[44263699087459]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779825251,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2da8983d12b3efee71a2eebbc37462fba5038557.webp?v=1781664784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699447907,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972662371,"product_id":8035626418275,"position":12,"created_at":"2026-06-17T10:53:01+08:00","updated_at":"2026-06-17T10:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783","variant_ids":[44263699447907]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779694179,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d9e716f20254441aed3b769c1149b9df8640d76.webp?v=1781664783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44263690338403,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM23","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972007011,"product_id":8035626418275,"position":10,"created_at":"2026-06-17T10:53:00+08:00","updated_at":"2026-06-17T10:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782","variant_ids":[44263690338403]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association Schwarz Rot Gold - 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-GM23","featured_media":{"alt":null,"id":27528779071587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c986740014bd5252e984fb7fb921998270a800b.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}