$product = {"id":8050536611939,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴","handle":"iphone-17-pro-solidx-magsafe-jo123","description":null,"published_at":"2026-07-20T15:09:18+08:00","created_at":"2026-07-01T11:14:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kid","device-iPhone 17 Pro","merge","reseller-kid"],"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":44306681725027,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615696483,"product_id":8050536611939,"position":9,"created_at":"2026-07-01T11:15:33+08:00","updated_at":"2026-07-01T11:15:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735","variant_ids":[44306681725027]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013520F-JO123","featured_media":{"alt":null,"id":27645506748515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682675299,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140613107811,"product_id":8050536611939,"position":2,"created_at":"2026-07-01T11:15:28+08:00","updated_at":"2026-07-01T11:15:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730","variant_ids":[44306682675299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-JO123","featured_media":{"alt":null,"id":27645504159843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682773603,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140614680675,"product_id":8050536611939,"position":6,"created_at":"2026-07-01T11:15:31+08:00","updated_at":"2026-07-01T11:15:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733","variant_ids":[44306682773603]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS01352O8-JO123","featured_media":{"alt":null,"id":27645505699939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682839139,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615860323,"product_id":8050536611939,"position":10,"created_at":"2026-07-01T11:15:33+08:00","updated_at":"2026-07-01T11:15:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735","variant_ids":[44306682839139]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-JO123","featured_media":{"alt":null,"id":27645506912355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682904675,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615008355,"product_id":8050536611939,"position":7,"created_at":"2026-07-01T11:15:31+08:00","updated_at":"2026-07-01T11:15:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733","variant_ids":[44306682904675]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013520B-JO123","featured_media":{"alt":null,"id":27645506027619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682970211,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140613501027,"product_id":8050536611939,"position":3,"created_at":"2026-07-01T11:15:29+08:00","updated_at":"2026-07-01T11:15:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731","variant_ids":[44306682970211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013523O-JO123","featured_media":{"alt":null,"id":27645504553059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683068515,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140612747363,"product_id":8050536611939,"position":1,"created_at":"2026-07-01T11:15:28+08:00","updated_at":"2026-07-01T11:15:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730","variant_ids":[44306683068515]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013524H-JO123","featured_media":{"alt":null,"id":27645503799395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683166819,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615336035,"product_id":8050536611939,"position":8,"created_at":"2026-07-01T11:15:32+08:00","updated_at":"2026-07-01T11:15:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734","variant_ids":[44306683166819]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013524I-JO123","featured_media":{"alt":null,"id":27645506388067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683297891,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616777827,"product_id":8050536611939,"position":13,"created_at":"2026-07-01T11:15:35+08:00","updated_at":"2026-07-01T11:15:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737","variant_ids":[44306683297891]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525H-JO123","featured_media":{"alt":null,"id":27645507829859,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683527267,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616351843,"product_id":8050536611939,"position":12,"created_at":"2026-07-01T11:15:34+08:00","updated_at":"2026-07-01T11:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736","variant_ids":[44306683527267]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525X-JO123","featured_media":{"alt":null,"id":27645507403875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683691107,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140613828707,"product_id":8050536611939,"position":4,"created_at":"2026-07-01T11:15:29+08:00","updated_at":"2026-07-01T11:15:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731","variant_ids":[44306683691107]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525Y-JO123","featured_media":{"alt":null,"id":27645504880739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683887715,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140614156387,"product_id":8050536611939,"position":5,"created_at":"2026-07-01T11:15:30+08:00","updated_at":"2026-07-01T11:15:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732","variant_ids":[44306683887715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525Z-JO123","featured_media":{"alt":null,"id":27645505208419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684084323,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616089699,"product_id":8050536611939,"position":11,"created_at":"2026-07-01T11:15:34+08:00","updated_at":"2026-07-01T11:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736","variant_ids":[44306684084323]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013526A-JO123","featured_media":{"alt":null,"id":27645507108963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730","options":["color"],"media":[{"alt":null,"id":27645503799395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730","width":2000},{"alt":null,"id":27645504159843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730","width":2000},{"alt":null,"id":27645504553059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731","width":2000},{"alt":null,"id":27645504880739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731","width":2000},{"alt":null,"id":27645505208419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732","width":2000},{"alt":null,"id":27645505699939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733","width":2000},{"alt":null,"id":27645506027619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733","width":2000},{"alt":null,"id":27645506388067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734","width":2000},{"alt":null,"id":27645506748515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735","width":2000},{"alt":null,"id":27645506912355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735","width":2000},{"alt":null,"id":27645507108963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736","width":2000},{"alt":null,"id":27645507403875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736","width":2000},{"alt":null,"id":27645507829859,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44306681725027,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615696483,"product_id":8050536611939,"position":9,"created_at":"2026-07-01T11:15:33+08:00","updated_at":"2026-07-01T11:15:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735","variant_ids":[44306681725027]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013520F-JO123","featured_media":{"alt":null,"id":27645506748515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682675299,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140613107811,"product_id":8050536611939,"position":2,"created_at":"2026-07-01T11:15:28+08:00","updated_at":"2026-07-01T11:15:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730","variant_ids":[44306682675299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-JO123","featured_media":{"alt":null,"id":27645504159843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e18036b3eb9a1af153038cad012a29986ad6bcc.webp?v=1782875730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682773603,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140614680675,"product_id":8050536611939,"position":6,"created_at":"2026-07-01T11:15:31+08:00","updated_at":"2026-07-01T11:15:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733","variant_ids":[44306682773603]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS01352O8-JO123","featured_media":{"alt":null,"id":27645505699939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3201ca5a32c806d93f16677dfbc64379f0bab58.webp?v=1782875733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682839139,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615860323,"product_id":8050536611939,"position":10,"created_at":"2026-07-01T11:15:33+08:00","updated_at":"2026-07-01T11:15:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735","variant_ids":[44306682839139]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-JO123","featured_media":{"alt":null,"id":27645506912355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8bca1d8560e30ab3ee3c441a9f47135b508581d.webp?v=1782875735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682904675,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615008355,"product_id":8050536611939,"position":7,"created_at":"2026-07-01T11:15:31+08:00","updated_at":"2026-07-01T11:15:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733","variant_ids":[44306682904675]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013520B-JO123","featured_media":{"alt":null,"id":27645506027619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d77ff3f42d6342c08f257c87d513b694b7669de7.webp?v=1782875733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306682970211,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140613501027,"product_id":8050536611939,"position":3,"created_at":"2026-07-01T11:15:29+08:00","updated_at":"2026-07-01T11:15:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731","variant_ids":[44306682970211]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013523O-JO123","featured_media":{"alt":null,"id":27645504553059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ed4e005e839b7f67e6db545c50da8eb9cc609.webp?v=1782875731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683068515,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140612747363,"product_id":8050536611939,"position":1,"created_at":"2026-07-01T11:15:28+08:00","updated_at":"2026-07-01T11:15:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730","variant_ids":[44306683068515]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013524H-JO123","featured_media":{"alt":null,"id":27645503799395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebeb43f18bcd90bfc2dafbb34f76df808e2b7b13.webp?v=1782875730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683166819,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615336035,"product_id":8050536611939,"position":8,"created_at":"2026-07-01T11:15:32+08:00","updated_at":"2026-07-01T11:15:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734","variant_ids":[44306683166819]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013524I-JO123","featured_media":{"alt":null,"id":27645506388067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f84006484af80fa51e8f8d633eef6a5a4c67c44c.webp?v=1782875734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683297891,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616777827,"product_id":8050536611939,"position":13,"created_at":"2026-07-01T11:15:35+08:00","updated_at":"2026-07-01T11:15:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737","variant_ids":[44306683297891]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525H-JO123","featured_media":{"alt":null,"id":27645507829859,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe7cbb37a0f804b1ed73b79e6c0cc4a9159a041a.webp?v=1782875737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683527267,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616351843,"product_id":8050536611939,"position":12,"created_at":"2026-07-01T11:15:34+08:00","updated_at":"2026-07-01T11:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736","variant_ids":[44306683527267]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525X-JO123","featured_media":{"alt":null,"id":27645507403875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f327e2c29b466937620c975c5bad720f00b46d22.webp?v=1782875736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683691107,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140613828707,"product_id":8050536611939,"position":4,"created_at":"2026-07-01T11:15:29+08:00","updated_at":"2026-07-01T11:15:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731","variant_ids":[44306683691107]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525Y-JO123","featured_media":{"alt":null,"id":27645504880739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad927339aa1fbd430874cabe0f6f40164abb495a.webp?v=1782875731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683887715,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140614156387,"product_id":8050536611939,"position":5,"created_at":"2026-07-01T11:15:30+08:00","updated_at":"2026-07-01T11:15:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732","variant_ids":[44306683887715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013525Z-JO123","featured_media":{"alt":null,"id":27645505208419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c7b2f76da2606f08f887a9af1bafbad94c161e.webp?v=1782875732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684084323,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616089699,"product_id":8050536611939,"position":11,"created_at":"2026-07-01T11:15:34+08:00","updated_at":"2026-07-01T11:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736","variant_ids":[44306684084323]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013526A-JO123","featured_media":{"alt":null,"id":27645507108963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcea5eb94d746c7236e76dd11c1d00fa2312b12.webp?v=1782875736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44306681725027,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO123","requires_shipping":true,"taxable":true,"featured_image":{"id":36140615696483,"product_id":8050536611939,"position":9,"created_at":"2026-07-01T11:15:33+08:00","updated_at":"2026-07-01T11:15:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735","variant_ids":[44306681725027]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 台灣獼猴 - 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":"MNS013520F-JO123","featured_media":{"alt":null,"id":27645506748515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e75b3bd28138c98e9c63589dfdbb3165345df22.webp?v=1782875735"}},"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: "停產" }