$product = {"id":8048404922467,"title":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO","handle":"iphone-17-pro-solidx-rj07","description":null,"published_at":"2026-06-29T10:15:24+08:00","created_at":"2026-06-29T09:46:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-rj","device-iPhone 17 Pro","merge","reseller-rj"],"price":125000,"price_min":125000,"price_max":125000,"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":44300172361827,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763001955,"product_id":8048404922467,"position":2,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654","variant_ids":[44300172361827]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-RJ07","featured_media":{"alt":null,"id":27628007456867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181405795,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764509283,"product_id":8048404922467,"position":7,"created_at":"2026-06-29T09:47:34+08:00","updated_at":"2026-06-29T09:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656","variant_ids":[44300181405795]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013526A-RJ07","featured_media":{"alt":null,"id":27628008964195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181831779,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763886691,"product_id":8048404922467,"position":5,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655","variant_ids":[44300181831779]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Z-RJ07","featured_media":{"alt":null,"id":27628008341603,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182257763,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122765131875,"product_id":8048404922467,"position":9,"created_at":"2026-06-29T09:47:35+08:00","updated_at":"2026-06-29T09:47:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657","variant_ids":[44300182257763]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Y-RJ07","featured_media":{"alt":null,"id":27628009980003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182585443,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122766147683,"product_id":8048404922467,"position":12,"created_at":"2026-06-29T09:47:37+08:00","updated_at":"2026-06-29T09:47:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659","variant_ids":[44300182585443]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525X-RJ07","featured_media":{"alt":null,"id":27628010995811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183076963,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122765885539,"product_id":8048404922467,"position":11,"created_at":"2026-06-29T09:47:36+08:00","updated_at":"2026-06-29T09:47:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658","variant_ids":[44300183076963]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525H-RJ07","featured_media":{"alt":null,"id":27628010733667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183437411,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122765525091,"product_id":8048404922467,"position":10,"created_at":"2026-06-29T09:47:36+08:00","updated_at":"2026-06-29T09:47:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658","variant_ids":[44300183437411]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524I-RJ07","featured_media":{"alt":null,"id":27628010373219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183896163,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764148835,"product_id":8048404922467,"position":6,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655","variant_ids":[44300183896163]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524H-RJ07","featured_media":{"alt":null,"id":27628008603747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184289379,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763493475,"product_id":8048404922467,"position":4,"created_at":"2026-06-29T09:47:32+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654","variant_ids":[44300184289379]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013523O-RJ07","featured_media":{"alt":null,"id":27628007948387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184584291,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763264099,"product_id":8048404922467,"position":3,"created_at":"2026-06-29T09:47:32+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654","variant_ids":[44300184584291]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520B-RJ07","featured_media":{"alt":null,"id":27628007719011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184944739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122766377059,"product_id":8048404922467,"position":13,"created_at":"2026-06-29T09:47:37+08:00","updated_at":"2026-06-29T09:47:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659","variant_ids":[44300184944739]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-RJ07","featured_media":{"alt":null,"id":27628011225187,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300185174115,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764738659,"product_id":8048404922467,"position":8,"created_at":"2026-06-29T09:47:34+08:00","updated_at":"2026-06-29T09:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656","variant_ids":[44300185174115]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01352O8-RJ07","featured_media":{"alt":null,"id":27628009586787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300185337955,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762772579,"product_id":8048404922467,"position":1,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653","variant_ids":[44300185337955]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135253-RJ07","featured_media":{"alt":null,"id":27628007227491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653","options":["color"],"media":[{"alt":null,"id":27628007227491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653","width":2000},{"alt":null,"id":27628007456867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654","width":2000},{"alt":null,"id":27628007719011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654","width":2000},{"alt":null,"id":27628007948387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654","width":2000},{"alt":null,"id":27628008341603,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655","width":2000},{"alt":null,"id":27628008603747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655","width":2000},{"alt":null,"id":27628008964195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656","width":2000},{"alt":null,"id":27628009586787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656","width":2000},{"alt":null,"id":27628009980003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657","width":2000},{"alt":null,"id":27628010373219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658","width":2000},{"alt":null,"id":27628010733667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658","width":2000},{"alt":null,"id":27628010995811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659","width":2000},{"alt":null,"id":27628011225187,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44300172361827,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763001955,"product_id":8048404922467,"position":2,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654","variant_ids":[44300172361827]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-RJ07","featured_media":{"alt":null,"id":27628007456867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181405795,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764509283,"product_id":8048404922467,"position":7,"created_at":"2026-06-29T09:47:34+08:00","updated_at":"2026-06-29T09:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656","variant_ids":[44300181405795]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013526A-RJ07","featured_media":{"alt":null,"id":27628008964195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dd77bcbd30b10f8ebacb7f06273840159214aee.webp?v=1782697656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181831779,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763886691,"product_id":8048404922467,"position":5,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655","variant_ids":[44300181831779]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Z-RJ07","featured_media":{"alt":null,"id":27628008341603,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7146e853ed81c9b735b669f7ed311fbe3628991.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182257763,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122765131875,"product_id":8048404922467,"position":9,"created_at":"2026-06-29T09:47:35+08:00","updated_at":"2026-06-29T09:47:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657","variant_ids":[44300182257763]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Y-RJ07","featured_media":{"alt":null,"id":27628009980003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715d56b69ca9990586abdaa3b0a7019a13d384b1.webp?v=1782697657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182585443,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122766147683,"product_id":8048404922467,"position":12,"created_at":"2026-06-29T09:47:37+08:00","updated_at":"2026-06-29T09:47:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659","variant_ids":[44300182585443]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525X-RJ07","featured_media":{"alt":null,"id":27628010995811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2656538af433d5d50ece2548af2a7e576e6adc41.webp?v=1782697659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183076963,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122765885539,"product_id":8048404922467,"position":11,"created_at":"2026-06-29T09:47:36+08:00","updated_at":"2026-06-29T09:47:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658","variant_ids":[44300183076963]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525H-RJ07","featured_media":{"alt":null,"id":27628010733667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da5a9a7e032d791584604db939e639a94c8ef7c4.webp?v=1782697658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183437411,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122765525091,"product_id":8048404922467,"position":10,"created_at":"2026-06-29T09:47:36+08:00","updated_at":"2026-06-29T09:47:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658","variant_ids":[44300183437411]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524I-RJ07","featured_media":{"alt":null,"id":27628010373219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1703f9bf997afe2a718264d97f8f1f5fa6a1d8a9.webp?v=1782697658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183896163,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764148835,"product_id":8048404922467,"position":6,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655","variant_ids":[44300183896163]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524H-RJ07","featured_media":{"alt":null,"id":27628008603747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7056ca48094be85b26af6644576763ba55e9d006.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184289379,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763493475,"product_id":8048404922467,"position":4,"created_at":"2026-06-29T09:47:32+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654","variant_ids":[44300184289379]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013523O-RJ07","featured_media":{"alt":null,"id":27628007948387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89ceab23022e54b930f7e741005d2cb247930ef2.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184584291,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763264099,"product_id":8048404922467,"position":3,"created_at":"2026-06-29T09:47:32+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654","variant_ids":[44300184584291]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520B-RJ07","featured_media":{"alt":null,"id":27628007719011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aa63337f5f1ceebf4c3f5a85d6336d36628d8ba.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184944739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122766377059,"product_id":8048404922467,"position":13,"created_at":"2026-06-29T09:47:37+08:00","updated_at":"2026-06-29T09:47:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659","variant_ids":[44300184944739]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-RJ07","featured_media":{"alt":null,"id":27628011225187,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af123eff2d4c95b240c4e2341dedf735ea29ba5c.webp?v=1782697659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300185174115,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764738659,"product_id":8048404922467,"position":8,"created_at":"2026-06-29T09:47:34+08:00","updated_at":"2026-06-29T09:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656","variant_ids":[44300185174115]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01352O8-RJ07","featured_media":{"alt":null,"id":27628009586787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6c57366bd263bb093f30d699646d77005e750d4.webp?v=1782697656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300185337955,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762772579,"product_id":8048404922467,"position":1,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653","variant_ids":[44300185337955]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135253-RJ07","featured_media":{"alt":null,"id":27628007227491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4cd5f15322d49f51c2e5542e686be1cd575acb.webp?v=1782697653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44300172361827,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-RJ07","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763001955,"product_id":8048404922467,"position":2,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654","variant_ids":[44300172361827]},"available":true,"name":"iPhone 17 Pro SolidX 於是日常了 高調閃光彈-比心NIO - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-RJ07","featured_media":{"alt":null,"id":27628007456867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4771d96a1ab6965277a261150ec04eeb1a52fe1.webp?v=1782697654"}},"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: "停產" }