$product = {"id":8041184985187,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 懶散兔與啾先生 霓虹燈","handle":"iphone-17-pro-max-solidx-magsafe-ec60","description":null,"published_at":"2026-07-14T09:37:01+08:00","created_at":"2026-06-23T10:51:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bylobster","device-iPhone 17 Pro Max","merge","reseller-bylobster"],"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":44280016994403,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056231575651,"product_id":8041184985187,"position":3,"created_at":"2026-06-23T10:52:30+08:00","updated_at":"2026-06-23T10:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152","variant_ids":[44280016994403]},"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-EC60","featured_media":{"alt":null,"id":27569081647203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280031707235,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056237375587,"product_id":8041184985187,"position":13,"created_at":"2026-06-23T10:52:38+08:00","updated_at":"2026-06-23T10:52:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160","variant_ids":[44280031707235]},"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-EC60","featured_media":{"alt":null,"id":27569087414371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280032231523,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056234557539,"product_id":8041184985187,"position":8,"created_at":"2026-06-23T10:52:34+08:00","updated_at":"2026-06-23T10:52:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156","variant_ids":[44280032231523]},"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-EC60","featured_media":{"alt":null,"id":27569084661859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033083491,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056236785763,"product_id":8041184985187,"position":12,"created_at":"2026-06-23T10:52:37+08:00","updated_at":"2026-06-23T10:52:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159","variant_ids":[44280033083491]},"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-EC60","featured_media":{"alt":null,"id":27569086824547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033575011,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056230920291,"product_id":8041184985187,"position":2,"created_at":"2026-06-23T10:52:29+08:00","updated_at":"2026-06-23T10:52:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151","variant_ids":[44280033575011]},"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-EC60","featured_media":{"alt":null,"id":27569080828003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033738851,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056235081827,"product_id":8041184985187,"position":9,"created_at":"2026-06-23T10:52:35+08:00","updated_at":"2026-06-23T10:52:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157","variant_ids":[44280033738851]},"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-EC60","featured_media":{"alt":null,"id":27569085120611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033935459,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056232329315,"product_id":8041184985187,"position":4,"created_at":"2026-06-23T10:52:31+08:00","updated_at":"2026-06-23T10:52:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153","variant_ids":[44280033935459]},"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-EC60","featured_media":{"alt":null,"id":27569082433635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034164835,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056235901027,"product_id":8041184985187,"position":10,"created_at":"2026-06-23T10:52:36+08:00","updated_at":"2026-06-23T10:52:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158","variant_ids":[44280034164835]},"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-EC60","featured_media":{"alt":null,"id":27569085939811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034263139,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056232853603,"product_id":8041184985187,"position":5,"created_at":"2026-06-23T10:52:31+08:00","updated_at":"2026-06-23T10:52:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154","variant_ids":[44280034263139]},"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-EC60","featured_media":{"alt":null,"id":27569082957923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034426979,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056234164323,"product_id":8041184985187,"position":7,"created_at":"2026-06-23T10:52:33+08:00","updated_at":"2026-06-23T10:52:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155","variant_ids":[44280034426979]},"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-EC60","featured_media":{"alt":null,"id":27569084203107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034590819,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056236359779,"product_id":8041184985187,"position":11,"created_at":"2026-06-23T10:52:36+08:00","updated_at":"2026-06-23T10:52:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159","variant_ids":[44280034590819]},"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-EC60","featured_media":{"alt":null,"id":27569086431331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034689123,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056230264931,"product_id":8041184985187,"position":1,"created_at":"2026-06-23T10:52:28+08:00","updated_at":"2026-06-23T10:52:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150","variant_ids":[44280034689123]},"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-EC60","featured_media":{"alt":null,"id":27569080336483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034787427,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056233312355,"product_id":8041184985187,"position":6,"created_at":"2026-06-23T10:52:32+08:00","updated_at":"2026-06-23T10:52:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154","variant_ids":[44280034787427]},"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-EC60","featured_media":{"alt":null,"id":27569083383907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150","options":["color"],"media":[{"alt":null,"id":27569080336483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150","width":2000},{"alt":null,"id":27569080828003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151","width":2000},{"alt":null,"id":27569081647203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152","width":2000},{"alt":null,"id":27569082433635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153","width":2000},{"alt":null,"id":27569082957923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154","width":2000},{"alt":null,"id":27569083383907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154","width":2000},{"alt":null,"id":27569084203107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155","width":2000},{"alt":null,"id":27569084661859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156","width":2000},{"alt":null,"id":27569085120611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157","width":2000},{"alt":null,"id":27569085939811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158","width":2000},{"alt":null,"id":27569086431331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159","width":2000},{"alt":null,"id":27569086824547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159","width":2000},{"alt":null,"id":27569087414371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44280016994403,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056231575651,"product_id":8041184985187,"position":3,"created_at":"2026-06-23T10:52:30+08:00","updated_at":"2026-06-23T10:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152","variant_ids":[44280016994403]},"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-EC60","featured_media":{"alt":null,"id":27569081647203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280031707235,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056237375587,"product_id":8041184985187,"position":13,"created_at":"2026-06-23T10:52:38+08:00","updated_at":"2026-06-23T10:52:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160","variant_ids":[44280031707235]},"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-EC60","featured_media":{"alt":null,"id":27569087414371,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc13c5429684eb0e55ccb940e7d21c860bf8a57.webp?v=1782183160"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280032231523,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056234557539,"product_id":8041184985187,"position":8,"created_at":"2026-06-23T10:52:34+08:00","updated_at":"2026-06-23T10:52:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156","variant_ids":[44280032231523]},"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-EC60","featured_media":{"alt":null,"id":27569084661859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de04f10b9f6759e1daac8f9d71905346e2cedd1.webp?v=1782183156"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033083491,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056236785763,"product_id":8041184985187,"position":12,"created_at":"2026-06-23T10:52:37+08:00","updated_at":"2026-06-23T10:52:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159","variant_ids":[44280033083491]},"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-EC60","featured_media":{"alt":null,"id":27569086824547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c29b05954cc59c1fb229d192f180484c5138a537.webp?v=1782183159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033575011,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056230920291,"product_id":8041184985187,"position":2,"created_at":"2026-06-23T10:52:29+08:00","updated_at":"2026-06-23T10:52:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151","variant_ids":[44280033575011]},"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-EC60","featured_media":{"alt":null,"id":27569080828003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fe11cc3745d16ba8d6b65a37547634581d6441.webp?v=1782183151"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033738851,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056235081827,"product_id":8041184985187,"position":9,"created_at":"2026-06-23T10:52:35+08:00","updated_at":"2026-06-23T10:52:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157","variant_ids":[44280033738851]},"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-EC60","featured_media":{"alt":null,"id":27569085120611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6510695c87284331e302c5c121804edb8e221c2d.webp?v=1782183157"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280033935459,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056232329315,"product_id":8041184985187,"position":4,"created_at":"2026-06-23T10:52:31+08:00","updated_at":"2026-06-23T10:52:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153","variant_ids":[44280033935459]},"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-EC60","featured_media":{"alt":null,"id":27569082433635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7d6bc39b647e82a70c0e25198a4becc76504f5.webp?v=1782183153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034164835,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056235901027,"product_id":8041184985187,"position":10,"created_at":"2026-06-23T10:52:36+08:00","updated_at":"2026-06-23T10:52:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158","variant_ids":[44280034164835]},"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-EC60","featured_media":{"alt":null,"id":27569085939811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e073d837f2dce3d4aa34fd21ffe536c0df10d7.webp?v=1782183158"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034263139,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056232853603,"product_id":8041184985187,"position":5,"created_at":"2026-06-23T10:52:31+08:00","updated_at":"2026-06-23T10:52:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154","variant_ids":[44280034263139]},"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-EC60","featured_media":{"alt":null,"id":27569082957923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e8cf427f3e4e82da2eb9d8f13cd8225f23d97ea.webp?v=1782183154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034426979,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056234164323,"product_id":8041184985187,"position":7,"created_at":"2026-06-23T10:52:33+08:00","updated_at":"2026-06-23T10:52:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155","variant_ids":[44280034426979]},"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-EC60","featured_media":{"alt":null,"id":27569084203107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307825c000a7ea8e2cb11dd49d97b364e9a8b080.webp?v=1782183155"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034590819,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056236359779,"product_id":8041184985187,"position":11,"created_at":"2026-06-23T10:52:36+08:00","updated_at":"2026-06-23T10:52:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159","variant_ids":[44280034590819]},"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-EC60","featured_media":{"alt":null,"id":27569086431331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c465b4a8397033cb93ad5a87cececb798e3b4e2a.webp?v=1782183159"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034689123,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056230264931,"product_id":8041184985187,"position":1,"created_at":"2026-06-23T10:52:28+08:00","updated_at":"2026-06-23T10:52:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150","variant_ids":[44280034689123]},"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-EC60","featured_media":{"alt":null,"id":27569080336483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40472a507de35f5d2c3559d86d493140bfc90af1.webp?v=1782183150"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44280034787427,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056233312355,"product_id":8041184985187,"position":6,"created_at":"2026-06-23T10:52:32+08:00","updated_at":"2026-06-23T10:52:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154","variant_ids":[44280034787427]},"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-EC60","featured_media":{"alt":null,"id":27569083383907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f005ad695636120a76c5309a95d1509bf89a04.webp?v=1782183154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44280016994403,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-EC60","requires_shipping":true,"taxable":true,"featured_image":{"id":36056231575651,"product_id":8041184985187,"position":3,"created_at":"2026-06-23T10:52:30+08:00","updated_at":"2026-06-23T10:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152","variant_ids":[44280016994403]},"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-EC60","featured_media":{"alt":null,"id":27569081647203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cdf30508b70294059c94a632906336cfbb03000.webp?v=1782183152"}},"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: "停產"
}