$product = {"id":8035626451043,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星","handle":"iphone-17-pro-max-solidx-magsafe-gm24","description":null,"published_at":"2026-06-17T12:22:09+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":44263690403939,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971712099,"product_id":8035626451043,"position":8,"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\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781","variant_ids":[44263690403939]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778776675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696662627,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970270307,"product_id":8035626451043,"position":2,"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\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778","variant_ids":[44263696662627]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777334883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696892003,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972531299,"product_id":8035626451043,"position":11,"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\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783","variant_ids":[44263696892003]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528779595875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697023075,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971417187,"product_id":8035626451043,"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\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780","variant_ids":[44263697023075]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778481763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697285219,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009973219427,"product_id":8035626451043,"position":13,"created_at":"2026-06-17T10:53:02+08:00","updated_at":"2026-06-17T10:53:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784","variant_ids":[44263697285219]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528780284003,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697547363,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970696291,"product_id":8035626451043,"position":4,"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\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779","variant_ids":[44263697547363]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777760867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697907811,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971908707,"product_id":8035626451043,"position":9,"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\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782","variant_ids":[44263697907811]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778973283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698169955,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972891747,"product_id":8035626451043,"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\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783","variant_ids":[44263698169955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528779956323,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698563171,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970925667,"product_id":8035626451043,"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\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779","variant_ids":[44263698563171]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777990243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698661475,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970008163,"product_id":8035626451043,"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\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777","variant_ids":[44263698661475]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777072739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699021923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972301923,"product_id":8035626451043,"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\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782","variant_ids":[44263699021923]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528779366499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699349603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971122275,"product_id":8035626451043,"position":6,"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\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780","variant_ids":[44263699349603]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778186851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699775587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970499683,"product_id":8035626451043,"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\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778","variant_ids":[44263699775587]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777564259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777","options":["color"],"media":[{"alt":null,"id":27528777072739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777","width":2000},{"alt":null,"id":27528777334883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778","width":2000},{"alt":null,"id":27528777564259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778","width":2000},{"alt":null,"id":27528777760867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779","width":2000},{"alt":null,"id":27528777990243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779","width":2000},{"alt":null,"id":27528778186851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780","width":2000},{"alt":null,"id":27528778481763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780","width":2000},{"alt":null,"id":27528778776675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781","width":2000},{"alt":null,"id":27528778973283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782","width":2000},{"alt":null,"id":27528779366499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782","width":2000},{"alt":null,"id":27528779595875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783","width":2000},{"alt":null,"id":27528779956323,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783","width":2000},{"alt":null,"id":27528780284003,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44263690403939,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971712099,"product_id":8035626451043,"position":8,"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\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781","variant_ids":[44263690403939]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778776675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696662627,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970270307,"product_id":8035626451043,"position":2,"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\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778","variant_ids":[44263696662627]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777334883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcd054047b026a5e8149767960bad7a950f8eb4.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263696892003,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972531299,"product_id":8035626451043,"position":11,"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\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783","variant_ids":[44263696892003]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528779595875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0951c530e5ac8f7aa327f5c0fc3c33634279f55.webp?v=1781664783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697023075,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971417187,"product_id":8035626451043,"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\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780","variant_ids":[44263697023075]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778481763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cce8d44b1abcda9ff970d4d7d3f602ef97b7d1.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697285219,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009973219427,"product_id":8035626451043,"position":13,"created_at":"2026-06-17T10:53:02+08:00","updated_at":"2026-06-17T10:53:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784","variant_ids":[44263697285219]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528780284003,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/949400f9fabb018110612cddff3c3bf5847ec160.webp?v=1781664784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697547363,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970696291,"product_id":8035626451043,"position":4,"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\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779","variant_ids":[44263697547363]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777760867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65b4d406a8f30f3c451025b658868617d16e99e.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263697907811,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971908707,"product_id":8035626451043,"position":9,"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\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782","variant_ids":[44263697907811]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778973283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a892ef6bb03ba9a6ce4606e01e50b3cb86d9f08.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698169955,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972891747,"product_id":8035626451043,"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\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783","variant_ids":[44263698169955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528779956323,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/384d24bf6c1ace1cea4dc84947f1a0a918caed0b.webp?v=1781664783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698563171,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970925667,"product_id":8035626451043,"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\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779","variant_ids":[44263698563171]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777990243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cd68cb7db79bf3e5b951714ee7ee642fba3b5c1.webp?v=1781664779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263698661475,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970008163,"product_id":8035626451043,"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\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777","variant_ids":[44263698661475]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777072739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d7f0904b7ef899e6720d296b6ceb386ef3b1f32.webp?v=1781664777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699021923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009972301923,"product_id":8035626451043,"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\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782","variant_ids":[44263699021923]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528779366499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251785bdf5cb83f784adce496ac9c012125f0c05.webp?v=1781664782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699349603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971122275,"product_id":8035626451043,"position":6,"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\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780","variant_ids":[44263699349603]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778186851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88cb63f03c56ea776281058782ca2a216e80825d.webp?v=1781664780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263699775587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009970499683,"product_id":8035626451043,"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\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778","variant_ids":[44263699775587]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528777564259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fb56902aa7d542f0413e82b9df7ce2f857224cc.webp?v=1781664778"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44263690403939,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-GM24","requires_shipping":true,"taxable":true,"featured_image":{"id":36009971712099,"product_id":8035626451043,"position":8,"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\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781","variant_ids":[44263690403939]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) German Football Association DFB 四星 - 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-GM24","featured_media":{"alt":null,"id":27528778776675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3f53456b09ac30b15106edb9cc2b7a6fd3459c.webp?v=1781664781"}},"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: "停產"
}