$product = {"id":8048508010595,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 愛麗兒喜歡","handle":"iphone-17-pro-max-solidx-magsafe-sf52","description":null,"published_at":"2026-06-29T15:16:21+08:00","created_at":"2026-06-29T10:21:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-princess","device-iPhone 17 Pro Max","merge","reseller-disney-princess"],"price":145000,"price_min":145000,"price_max":145000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":44300495061091,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161329763,"product_id":8048508010595,"position":11,"created_at":"2026-06-29T10:21:57+08:00","updated_at":"2026-06-29T10:21:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719","variant_ids":[44300495061091]},"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-SF52","featured_media":{"alt":null,"id":27628406079587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502433891,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160936547,"product_id":8048508010595,"position":7,"created_at":"2026-06-29T10:21:55+08:00","updated_at":"2026-06-29T10:21:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717","variant_ids":[44300502433891]},"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-SF52","featured_media":{"alt":null,"id":27628405686371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502499427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160674403,"product_id":8048508010595,"position":4,"created_at":"2026-06-29T10:21:53+08:00","updated_at":"2026-06-29T10:21:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715","variant_ids":[44300502499427]},"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-SF52","featured_media":{"alt":null,"id":27628405424227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502532195,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161231459,"product_id":8048508010595,"position":10,"created_at":"2026-06-29T10:21:56+08:00","updated_at":"2026-06-29T10:21:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718","variant_ids":[44300502532195]},"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-SF52","featured_media":{"alt":null,"id":27628405981283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502564963,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161428067,"product_id":8048508010595,"position":12,"created_at":"2026-06-29T10:21:57+08:00","updated_at":"2026-06-29T10:21:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719","variant_ids":[44300502564963]},"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-SF52","featured_media":{"alt":null,"id":27628406177891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502597731,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161002083,"product_id":8048508010595,"position":8,"created_at":"2026-06-29T10:21:55+08:00","updated_at":"2026-06-29T10:21:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717","variant_ids":[44300502597731]},"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-SF52","featured_media":{"alt":null,"id":27628405751907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502663267,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160608867,"product_id":8048508010595,"position":3,"created_at":"2026-06-29T10:21:53+08:00","updated_at":"2026-06-29T10:21:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715","variant_ids":[44300502663267]},"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-SF52","featured_media":{"alt":null,"id":27628405358691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502728803,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160477795,"product_id":8048508010595,"position":1,"created_at":"2026-06-29T10:21:52+08:00","updated_at":"2026-06-29T10:21:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714","variant_ids":[44300502728803]},"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-SF52","featured_media":{"alt":null,"id":27628405227619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502794339,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161133155,"product_id":8048508010595,"position":9,"created_at":"2026-06-29T10:21:56+08:00","updated_at":"2026-06-29T10:21:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718","variant_ids":[44300502794339]},"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-SF52","featured_media":{"alt":null,"id":27628405882979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502859875,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161559139,"product_id":8048508010595,"position":13,"created_at":"2026-06-29T10:21:58+08:00","updated_at":"2026-06-29T10:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720","variant_ids":[44300502859875]},"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-SF52","featured_media":{"alt":null,"id":27628406341731,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502892643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160543331,"product_id":8048508010595,"position":2,"created_at":"2026-06-29T10:21:52+08:00","updated_at":"2026-06-29T10:21:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714","variant_ids":[44300502892643]},"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-SF52","featured_media":{"alt":null,"id":27628405293155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502958179,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160772707,"product_id":8048508010595,"position":5,"created_at":"2026-06-29T10:21:54+08:00","updated_at":"2026-06-29T10:21:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716","variant_ids":[44300502958179]},"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-SF52","featured_media":{"alt":null,"id":27628405522531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502990947,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160838243,"product_id":8048508010595,"position":6,"created_at":"2026-06-29T10:21:54+08:00","updated_at":"2026-06-29T10:21:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716","variant_ids":[44300502990947]},"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-SF52","featured_media":{"alt":null,"id":27628405588067,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714","options":["color"],"media":[{"alt":null,"id":27628405227619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714","width":2000},{"alt":null,"id":27628405293155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714","width":2000},{"alt":null,"id":27628405358691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715","width":2000},{"alt":null,"id":27628405424227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715","width":2000},{"alt":null,"id":27628405522531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716","width":2000},{"alt":null,"id":27628405588067,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716","width":2000},{"alt":null,"id":27628405686371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717","width":2000},{"alt":null,"id":27628405751907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717","width":2000},{"alt":null,"id":27628405882979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718","width":2000},{"alt":null,"id":27628405981283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718","width":2000},{"alt":null,"id":27628406079587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719","width":2000},{"alt":null,"id":27628406177891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719","width":2000},{"alt":null,"id":27628406341731,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44300495061091,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161329763,"product_id":8048508010595,"position":11,"created_at":"2026-06-29T10:21:57+08:00","updated_at":"2026-06-29T10:21:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719","variant_ids":[44300495061091]},"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-SF52","featured_media":{"alt":null,"id":27628406079587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502433891,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160936547,"product_id":8048508010595,"position":7,"created_at":"2026-06-29T10:21:55+08:00","updated_at":"2026-06-29T10:21:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717","variant_ids":[44300502433891]},"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-SF52","featured_media":{"alt":null,"id":27628405686371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b10d817f4546270d3297e000e649859fbd32.webp?v=1782699717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502499427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160674403,"product_id":8048508010595,"position":4,"created_at":"2026-06-29T10:21:53+08:00","updated_at":"2026-06-29T10:21:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715","variant_ids":[44300502499427]},"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-SF52","featured_media":{"alt":null,"id":27628405424227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4589747614793bb0435a14f784c68cf89a652e13.webp?v=1782699715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502532195,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161231459,"product_id":8048508010595,"position":10,"created_at":"2026-06-29T10:21:56+08:00","updated_at":"2026-06-29T10:21:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718","variant_ids":[44300502532195]},"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-SF52","featured_media":{"alt":null,"id":27628405981283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5030e188eee9c801e796b1560e5b0c167fb1d6b.webp?v=1782699718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502564963,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161428067,"product_id":8048508010595,"position":12,"created_at":"2026-06-29T10:21:57+08:00","updated_at":"2026-06-29T10:21:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719","variant_ids":[44300502564963]},"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-SF52","featured_media":{"alt":null,"id":27628406177891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb727f5e165bf9b465cea159a59745907dc49fc.webp?v=1782699719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502597731,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161002083,"product_id":8048508010595,"position":8,"created_at":"2026-06-29T10:21:55+08:00","updated_at":"2026-06-29T10:21:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717","variant_ids":[44300502597731]},"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-SF52","featured_media":{"alt":null,"id":27628405751907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef480a00ed6c56ac570d22c08d58384c162e85a7.webp?v=1782699717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502663267,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160608867,"product_id":8048508010595,"position":3,"created_at":"2026-06-29T10:21:53+08:00","updated_at":"2026-06-29T10:21:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715","variant_ids":[44300502663267]},"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-SF52","featured_media":{"alt":null,"id":27628405358691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235708244eca57596f01b3ce18c33f27072d00a0.webp?v=1782699715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502728803,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160477795,"product_id":8048508010595,"position":1,"created_at":"2026-06-29T10:21:52+08:00","updated_at":"2026-06-29T10:21:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714","variant_ids":[44300502728803]},"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-SF52","featured_media":{"alt":null,"id":27628405227619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afc2ac5c2bb118fae4c651256fd737c216742841.webp?v=1782699714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502794339,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161133155,"product_id":8048508010595,"position":9,"created_at":"2026-06-29T10:21:56+08:00","updated_at":"2026-06-29T10:21:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718","variant_ids":[44300502794339]},"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-SF52","featured_media":{"alt":null,"id":27628405882979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a03bd38d7e43fc224ba05216e311631501a881.webp?v=1782699718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502859875,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161559139,"product_id":8048508010595,"position":13,"created_at":"2026-06-29T10:21:58+08:00","updated_at":"2026-06-29T10:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720","variant_ids":[44300502859875]},"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-SF52","featured_media":{"alt":null,"id":27628406341731,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9d679be6cd516c07c6067aee66eafdc95cdf73d.webp?v=1782699720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502892643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160543331,"product_id":8048508010595,"position":2,"created_at":"2026-06-29T10:21:52+08:00","updated_at":"2026-06-29T10:21:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714","variant_ids":[44300502892643]},"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-SF52","featured_media":{"alt":null,"id":27628405293155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fd3be40201ee8a22d1bebcd95f50b45db6ecd4.webp?v=1782699714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502958179,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160772707,"product_id":8048508010595,"position":5,"created_at":"2026-06-29T10:21:54+08:00","updated_at":"2026-06-29T10:21:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716","variant_ids":[44300502958179]},"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-SF52","featured_media":{"alt":null,"id":27628405522531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c35fd901162d3a2c8371087af272cb7ec9829d2d.webp?v=1782699716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300502990947,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123160838243,"product_id":8048508010595,"position":6,"created_at":"2026-06-29T10:21:54+08:00","updated_at":"2026-06-29T10:21:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716","variant_ids":[44300502990947]},"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-SF52","featured_media":{"alt":null,"id":27628405588067,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c92c933d200dbfbc3ddaa87f99653b7ca069efe.webp?v=1782699716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44300495061091,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF52","requires_shipping":true,"taxable":true,"featured_image":{"id":36123161329763,"product_id":8048508010595,"position":11,"created_at":"2026-06-29T10:21:57+08:00","updated_at":"2026-06-29T10:21:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719","variant_ids":[44300495061091]},"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-SF52","featured_media":{"alt":null,"id":27628406079587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d711846d321236b7a0c18f50e3112d8a602eb96.webp?v=1782699719"}},"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: "停產"
}