$product = {"id":8035896361059,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 抱緊緊","handle":"iphone-17-pro-solidx-magsafe-rv02","description":null,"published_at":"2026-06-22T16:13:19+08:00","created_at":"2026-06-17T18:04:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sanrio-family","device-iPhone 17 Pro","merge","reseller-sanrio-family"],"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":44265585180771,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591710307,"product_id":8035896361059,"position":8,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754","variant_ids":[44265585180771]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525Z-RV02","featured_media":{"alt":null,"id":27531395596387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598222435,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586827875,"product_id":8035896361059,"position":2,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747","variant_ids":[44265598222435]},"available":true,"name":"iPhone 17 Pro 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":"MNS013526A-RV02","featured_media":{"alt":null,"id":27531390779491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598845027,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594266211,"product_id":8035896361059,"position":12,"created_at":"2026-06-17T18:05:55+08:00","updated_at":"2026-06-17T18:05:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757","variant_ids":[44265598845027]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525Y-RV02","featured_media":{"alt":null,"id":27531398053987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265599533155,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588793955,"product_id":8035896361059,"position":5,"created_at":"2026-06-17T18:05:47+08:00","updated_at":"2026-06-17T18:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749","variant_ids":[44265599533155]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525X-RV02","featured_media":{"alt":null,"id":27531392614499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265600188515,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586139747,"product_id":8035896361059,"position":1,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747","variant_ids":[44265600188515]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525H-RV02","featured_media":{"alt":null,"id":27531389960291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601237091,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593578083,"product_id":8035896361059,"position":11,"created_at":"2026-06-17T18:05:54+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756","variant_ids":[44265601237091]},"available":true,"name":"iPhone 17 Pro 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":"MNS013524I-RV02","featured_media":{"alt":null,"id":27531397464163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601990755,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593348707,"product_id":8035896361059,"position":10,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755","variant_ids":[44265601990755]},"available":true,"name":"iPhone 17 Pro 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":"MNS013524H-RV02","featured_media":{"alt":null,"id":27531397169251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602908259,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590563427,"product_id":8035896361059,"position":7,"created_at":"2026-06-17T18:05:49+08:00","updated_at":"2026-06-17T18:05:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751","variant_ids":[44265602908259]},"available":true,"name":"iPhone 17 Pro 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":"MNS013523O-RV02","featured_media":{"alt":null,"id":27531394351203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603432547,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012589809763,"product_id":8035896361059,"position":6,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750","variant_ids":[44265603432547]},"available":true,"name":"iPhone 17 Pro 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":"MNS013520F-RV02","featured_media":{"alt":null,"id":27531393597539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603924067,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588269667,"product_id":8035896361059,"position":4,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748","variant_ids":[44265603924067]},"available":true,"name":"iPhone 17 Pro 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":"MNS013520B-RV02","featured_media":{"alt":null,"id":27531392090211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604546659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012592431203,"product_id":8035896361059,"position":9,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754","variant_ids":[44265604546659]},"available":true,"name":"iPhone 17 Pro 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":"MNS0135252-RV02","featured_media":{"alt":null,"id":27531396284515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605202019,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594724963,"product_id":8035896361059,"position":13,"created_at":"2026-06-17T18:05:56+08:00","updated_at":"2026-06-17T18:05:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759","variant_ids":[44265605202019]},"available":true,"name":"iPhone 17 Pro 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":"MNS01352O8-RV02","featured_media":{"alt":null,"id":27531398545507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605595235,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587450467,"product_id":8035896361059,"position":3,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748","variant_ids":[44265605595235]},"available":true,"name":"iPhone 17 Pro 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":"MNS0135253-RV02","featured_media":{"alt":null,"id":27531391271011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747","options":["color"],"media":[{"alt":null,"id":27531389960291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747","width":2000},{"alt":null,"id":27531390779491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747","width":2000},{"alt":null,"id":27531391271011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748","width":2000},{"alt":null,"id":27531392090211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748","width":2000},{"alt":null,"id":27531392614499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749","width":2000},{"alt":null,"id":27531393597539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750","width":2000},{"alt":null,"id":27531394351203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751","width":2000},{"alt":null,"id":27531395596387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754","width":2000},{"alt":null,"id":27531396284515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754","width":2000},{"alt":null,"id":27531397169251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755","width":2000},{"alt":null,"id":27531397464163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756","width":2000},{"alt":null,"id":27531398053987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757","width":2000},{"alt":null,"id":27531398545507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265585180771,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591710307,"product_id":8035896361059,"position":8,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754","variant_ids":[44265585180771]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525Z-RV02","featured_media":{"alt":null,"id":27531395596387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598222435,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586827875,"product_id":8035896361059,"position":2,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747","variant_ids":[44265598222435]},"available":true,"name":"iPhone 17 Pro 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":"MNS013526A-RV02","featured_media":{"alt":null,"id":27531390779491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562d98be8bae132a7c3979162c64d3c2c19bb2f8.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598845027,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594266211,"product_id":8035896361059,"position":12,"created_at":"2026-06-17T18:05:55+08:00","updated_at":"2026-06-17T18:05:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757","variant_ids":[44265598845027]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525Y-RV02","featured_media":{"alt":null,"id":27531398053987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b10fe99b8f407299d90630842380b521284b29a.webp?v=1781690757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265599533155,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588793955,"product_id":8035896361059,"position":5,"created_at":"2026-06-17T18:05:47+08:00","updated_at":"2026-06-17T18:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749","variant_ids":[44265599533155]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525X-RV02","featured_media":{"alt":null,"id":27531392614499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3833298d7558e8bcf13b8745c544e67acfb9577.webp?v=1781690749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265600188515,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586139747,"product_id":8035896361059,"position":1,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747","variant_ids":[44265600188515]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525H-RV02","featured_media":{"alt":null,"id":27531389960291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e58a1346823223604df996a3d5400bff9b69a4ed.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601237091,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593578083,"product_id":8035896361059,"position":11,"created_at":"2026-06-17T18:05:54+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756","variant_ids":[44265601237091]},"available":true,"name":"iPhone 17 Pro 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":"MNS013524I-RV02","featured_media":{"alt":null,"id":27531397464163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/093a7821427353c35d46a6d7e66b76adc59a8e2a.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601990755,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593348707,"product_id":8035896361059,"position":10,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755","variant_ids":[44265601990755]},"available":true,"name":"iPhone 17 Pro 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":"MNS013524H-RV02","featured_media":{"alt":null,"id":27531397169251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74e0776d19b4393a5f2b7d192c197f0f91bfd9a.webp?v=1781690755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602908259,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590563427,"product_id":8035896361059,"position":7,"created_at":"2026-06-17T18:05:49+08:00","updated_at":"2026-06-17T18:05:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751","variant_ids":[44265602908259]},"available":true,"name":"iPhone 17 Pro 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":"MNS013523O-RV02","featured_media":{"alt":null,"id":27531394351203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3286ddb42d14cd0149f5ddb266728a1455c7fad1.webp?v=1781690751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603432547,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012589809763,"product_id":8035896361059,"position":6,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750","variant_ids":[44265603432547]},"available":true,"name":"iPhone 17 Pro 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":"MNS013520F-RV02","featured_media":{"alt":null,"id":27531393597539,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3af332c989ddd05acc43c353275aa278d9c0fa.webp?v=1781690750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603924067,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588269667,"product_id":8035896361059,"position":4,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748","variant_ids":[44265603924067]},"available":true,"name":"iPhone 17 Pro 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":"MNS013520B-RV02","featured_media":{"alt":null,"id":27531392090211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2af0963d3a7cfb9c59a033dc02d9623d2c39b33.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604546659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012592431203,"product_id":8035896361059,"position":9,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754","variant_ids":[44265604546659]},"available":true,"name":"iPhone 17 Pro 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":"MNS0135252-RV02","featured_media":{"alt":null,"id":27531396284515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea619adc4fbe90d8944373e42ed79ba82c6cba84.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605202019,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594724963,"product_id":8035896361059,"position":13,"created_at":"2026-06-17T18:05:56+08:00","updated_at":"2026-06-17T18:05:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759","variant_ids":[44265605202019]},"available":true,"name":"iPhone 17 Pro 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":"MNS01352O8-RV02","featured_media":{"alt":null,"id":27531398545507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3126f2efeb68d77c34a4227bbc57ac200b06e061.webp?v=1781690759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605595235,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587450467,"product_id":8035896361059,"position":3,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748","variant_ids":[44265605595235]},"available":true,"name":"iPhone 17 Pro 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":"MNS0135253-RV02","featured_media":{"alt":null,"id":27531391271011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13586734e661fb6b4269f66311ec1fd650e14d95.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265585180771,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV02","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591710307,"product_id":8035896361059,"position":8,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754","variant_ids":[44265585180771]},"available":true,"name":"iPhone 17 Pro 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":"MNS013525Z-RV02","featured_media":{"alt":null,"id":27531395596387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adb6a6b73149a95f920e66b794ccc6c83582bfed.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }