$product = {"id":8048508272739,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 迪士尼公主系列 璀璨寶石","handle":"iphone-17-pro-max-solidx-magsafe-sf62","description":null,"published_at":"2026-06-29T15:16:18+08:00","created_at":"2026-06-29T10:21:22+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":44300497420387,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162312803,"product_id":8048508272739,"position":1,"created_at":"2026-06-29T10:22:03+08:00","updated_at":"2026-06-29T10:22:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725","variant_ids":[44300497420387]},"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-SF62","featured_media":{"alt":null,"id":27628407062627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503253091,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164934243,"product_id":8048508272739,"position":11,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731","variant_ids":[44300503253091]},"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-SF62","featured_media":{"alt":null,"id":27628409651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503416931,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162443875,"product_id":8048508272739,"position":2,"created_at":"2026-06-29T10:22:04+08:00","updated_at":"2026-06-29T10:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726","variant_ids":[44300503416931]},"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-SF62","featured_media":{"alt":null,"id":27628407193699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503580771,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164082275,"product_id":8048508272739,"position":9,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730","variant_ids":[44300503580771]},"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-SF62","featured_media":{"alt":null,"id":27628408799331,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503711843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162869859,"product_id":8048508272739,"position":5,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728","variant_ids":[44300503711843]},"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-SF62","featured_media":{"alt":null,"id":27628407586915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503842915,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166113891,"product_id":8048508272739,"position":13,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732","variant_ids":[44300503842915]},"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-SF62","featured_media":{"alt":null,"id":27628410830947,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504137827,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163721827,"product_id":8048508272739,"position":8,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729","variant_ids":[44300504137827]},"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-SF62","featured_media":{"alt":null,"id":27628408471651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504498275,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165425763,"product_id":8048508272739,"position":12,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732","variant_ids":[44300504498275]},"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-SF62","featured_media":{"alt":null,"id":27628410175587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505350243,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163033699,"product_id":8048508272739,"position":6,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728","variant_ids":[44300505350243]},"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-SF62","featured_media":{"alt":null,"id":27628407783523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505776227,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162574947,"product_id":8048508272739,"position":3,"created_at":"2026-06-29T10:22:05+08:00","updated_at":"2026-06-29T10:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727","variant_ids":[44300505776227]},"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-SF62","featured_media":{"alt":null,"id":27628407324771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506398819,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164573795,"product_id":8048508272739,"position":10,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731","variant_ids":[44300506398819]},"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-SF62","featured_media":{"alt":null,"id":27628409258083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507021411,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162706019,"product_id":8048508272739,"position":4,"created_at":"2026-06-29T10:22:05+08:00","updated_at":"2026-06-29T10:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727","variant_ids":[44300507021411]},"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-SF62","featured_media":{"alt":null,"id":27628407455843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507283555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163394147,"product_id":8048508272739,"position":7,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729","variant_ids":[44300507283555]},"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-SF62","featured_media":{"alt":null,"id":27628408143971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725","options":["color"],"media":[{"alt":null,"id":27628407062627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725","width":2000},{"alt":null,"id":27628407193699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726","width":2000},{"alt":null,"id":27628407324771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727","width":2000},{"alt":null,"id":27628407455843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727","width":2000},{"alt":null,"id":27628407586915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728","width":2000},{"alt":null,"id":27628407783523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728","width":2000},{"alt":null,"id":27628408143971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729","width":2000},{"alt":null,"id":27628408471651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729","width":2000},{"alt":null,"id":27628408799331,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730","width":2000},{"alt":null,"id":27628409258083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731","width":2000},{"alt":null,"id":27628409651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731","width":2000},{"alt":null,"id":27628410175587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732","width":2000},{"alt":null,"id":27628410830947,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44300497420387,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162312803,"product_id":8048508272739,"position":1,"created_at":"2026-06-29T10:22:03+08:00","updated_at":"2026-06-29T10:22:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725","variant_ids":[44300497420387]},"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-SF62","featured_media":{"alt":null,"id":27628407062627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503253091,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164934243,"product_id":8048508272739,"position":11,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731","variant_ids":[44300503253091]},"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-SF62","featured_media":{"alt":null,"id":27628409651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/453e81707104f983bee5533f79a26e23dec1444a.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503416931,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162443875,"product_id":8048508272739,"position":2,"created_at":"2026-06-29T10:22:04+08:00","updated_at":"2026-06-29T10:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726","variant_ids":[44300503416931]},"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-SF62","featured_media":{"alt":null,"id":27628407193699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ab4e3de66340f716aa91ad6b14d2cc8a9dce3f.webp?v=1782699726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503580771,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164082275,"product_id":8048508272739,"position":9,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730","variant_ids":[44300503580771]},"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-SF62","featured_media":{"alt":null,"id":27628408799331,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/509ead5672ff96156f169aaed5ee85c47731455b.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503711843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162869859,"product_id":8048508272739,"position":5,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728","variant_ids":[44300503711843]},"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-SF62","featured_media":{"alt":null,"id":27628407586915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d06b325860cf121c00df62640c3b54fc0eaa85c.webp?v=1782699728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300503842915,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166113891,"product_id":8048508272739,"position":13,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732","variant_ids":[44300503842915]},"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-SF62","featured_media":{"alt":null,"id":27628410830947,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77e2bcf9ecd89899333051c9eba82ef457573bc.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504137827,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163721827,"product_id":8048508272739,"position":8,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729","variant_ids":[44300504137827]},"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-SF62","featured_media":{"alt":null,"id":27628408471651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a59632270f5414d22d0ab9f6e416e76b9656c84c.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504498275,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165425763,"product_id":8048508272739,"position":12,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732","variant_ids":[44300504498275]},"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-SF62","featured_media":{"alt":null,"id":27628410175587,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/605977fb273218fecc18cba7550d0e5f069a07ab.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505350243,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163033699,"product_id":8048508272739,"position":6,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728","variant_ids":[44300505350243]},"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-SF62","featured_media":{"alt":null,"id":27628407783523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d7b43e58899ac2fbe5f31aebb2a47de50afc26.webp?v=1782699728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505776227,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162574947,"product_id":8048508272739,"position":3,"created_at":"2026-06-29T10:22:05+08:00","updated_at":"2026-06-29T10:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727","variant_ids":[44300505776227]},"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-SF62","featured_media":{"alt":null,"id":27628407324771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d621164775a3c65e483a7c97a0c9d8f28597b8a.webp?v=1782699727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506398819,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164573795,"product_id":8048508272739,"position":10,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731","variant_ids":[44300506398819]},"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-SF62","featured_media":{"alt":null,"id":27628409258083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020cc9684d7c92d23733ad61597e91e0466d2b7b.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507021411,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162706019,"product_id":8048508272739,"position":4,"created_at":"2026-06-29T10:22:05+08:00","updated_at":"2026-06-29T10:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727","variant_ids":[44300507021411]},"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-SF62","featured_media":{"alt":null,"id":27628407455843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b1ba0298884e6167c99d0cf393675e5339202d.webp?v=1782699727"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507283555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163394147,"product_id":8048508272739,"position":7,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729","variant_ids":[44300507283555]},"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-SF62","featured_media":{"alt":null,"id":27628408143971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f94799778a3bd633af199e2d7fab779e8c078d.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44300497420387,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-SF62","requires_shipping":true,"taxable":true,"featured_image":{"id":36123162312803,"product_id":8048508272739,"position":1,"created_at":"2026-06-29T10:22:03+08:00","updated_at":"2026-06-29T10:22:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725","variant_ids":[44300497420387]},"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-SF62","featured_media":{"alt":null,"id":27628407062627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/399c0b095ba7d760faa5266dcddd3635e99a5a4b.webp?v=1782699725"}},"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: "停產"
}