$product = {"id":7868360032355,"title":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman","handle":"iphone-17-pro-solidx-pm84","description":null,"published_at":"2025-09-10T01:38:17+08:00","created_at":"2025-08-26T16:20:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-iPhone 17 Pro","merge","reseller-nba"],"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":43634607194211,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066503360611,"product_id":7868360032355,"position":10,"created_at":"2026-06-23T19:34:12+08:00","updated_at":"2026-06-23T19:34:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454","variant_ids":[43634607194211]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579347927139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609291363,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066524758115,"product_id":7868360032355,"position":13,"created_at":"2026-06-23T19:34:15+08:00","updated_at":"2026-06-23T19:34:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457","variant_ids":[43634609291363]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579369619555,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609324131,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066466496611,"product_id":7868360032355,"position":3,"created_at":"2026-06-23T19:34:08+08:00","updated_at":"2026-06-23T19:34:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450","variant_ids":[43634609324131]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579311063139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609356899,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066520006755,"product_id":7868360032355,"position":12,"created_at":"2026-06-23T19:34:14+08:00","updated_at":"2026-06-23T19:34:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456","variant_ids":[43634609356899]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579364114531,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609389667,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066472099939,"product_id":7868360032355,"position":4,"created_at":"2026-06-23T19:34:09+08:00","updated_at":"2026-06-23T19:34:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451","variant_ids":[43634609389667]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579316994147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609422435,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066496905315,"product_id":7868360032355,"position":9,"created_at":"2026-06-23T19:34:11+08:00","updated_at":"2026-06-23T19:34:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453","variant_ids":[43634609422435]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579340980323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798355607651,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066531213411,"product_id":7868360032355,"position":14,"created_at":"2026-06-23T19:34:16+08:00","updated_at":"2026-06-23T19:34:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458","variant_ids":[43798355607651]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579375845475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798355640419,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066481733731,"product_id":7868360032355,"position":6,"created_at":"2026-06-23T19:34:10+08:00","updated_at":"2026-06-23T19:34:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452","variant_ids":[43798355640419]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579325612131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200489779299,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066490646627,"product_id":7868360032355,"position":8,"created_at":"2026-06-23T19:34:11+08:00","updated_at":"2026-06-23T19:34:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453","variant_ids":[44200489779299]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579334000739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200490238051,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066485403747,"product_id":7868360032355,"position":7,"created_at":"2026-06-23T19:34:10+08:00","updated_at":"2026-06-23T19:34:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452","variant_ids":[44200490238051]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579330330723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200490991715,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066462892131,"product_id":7868360032355,"position":2,"created_at":"2026-06-23T19:34:07+08:00","updated_at":"2026-06-23T19:34:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449","variant_ids":[44200490991715]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579307229283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200492040291,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066477539427,"product_id":7868360032355,"position":5,"created_at":"2026-06-23T19:34:09+08:00","updated_at":"2026-06-23T19:34:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451","variant_ids":[44200492040291]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579322630243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264276623459,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066510110819,"product_id":7868360032355,"position":11,"created_at":"2026-06-23T19:34:13+08:00","updated_at":"2026-06-23T19:34:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455","variant_ids":[44264276623459]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579353923683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM84.png?v=1756196435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM84.png?v=1756196435","options":["color"],"media":[{"alt":null,"id":25961161228387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM84.png?v=1756196435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM84.png?v=1756196435","width":2000},{"alt":null,"id":27579307229283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449","width":2000},{"alt":null,"id":27579311063139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450","width":2000},{"alt":null,"id":27579316994147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451","width":2000},{"alt":null,"id":27579322630243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451","width":2000},{"alt":null,"id":27579325612131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452","width":2000},{"alt":null,"id":27579330330723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452","width":2000},{"alt":null,"id":27579334000739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453","width":2000},{"alt":null,"id":27579340980323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453","width":2000},{"alt":null,"id":27579347927139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454","width":2000},{"alt":null,"id":27579353923683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455","width":2000},{"alt":null,"id":27579364114531,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456","width":2000},{"alt":null,"id":27579369619555,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457","width":2000},{"alt":null,"id":27579375845475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43634607194211,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066503360611,"product_id":7868360032355,"position":10,"created_at":"2026-06-23T19:34:12+08:00","updated_at":"2026-06-23T19:34:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454","variant_ids":[43634607194211]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579347927139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609291363,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066524758115,"product_id":7868360032355,"position":13,"created_at":"2026-06-23T19:34:15+08:00","updated_at":"2026-06-23T19:34:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457","variant_ids":[43634609291363]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579369619555,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69d15005ac32a8792bef190351e4f2291da869.webp?v=1782214457"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609324131,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066466496611,"product_id":7868360032355,"position":3,"created_at":"2026-06-23T19:34:08+08:00","updated_at":"2026-06-23T19:34:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450","variant_ids":[43634609324131]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579311063139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/397ea6298dc11c8184581c241e96318ef05c7a85.webp?v=1782214450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609356899,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066520006755,"product_id":7868360032355,"position":12,"created_at":"2026-06-23T19:34:14+08:00","updated_at":"2026-06-23T19:34:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456","variant_ids":[43634609356899]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579364114531,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67976930bbad585a3014d22cc3d60b6048344644.webp?v=1782214456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609389667,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066472099939,"product_id":7868360032355,"position":4,"created_at":"2026-06-23T19:34:09+08:00","updated_at":"2026-06-23T19:34:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451","variant_ids":[43634609389667]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579316994147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72514c33d22d21333828954a0220b0f006f794ea.webp?v=1782214451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634609422435,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066496905315,"product_id":7868360032355,"position":9,"created_at":"2026-06-23T19:34:11+08:00","updated_at":"2026-06-23T19:34:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453","variant_ids":[43634609422435]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579340980323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0717b0feb02c522596fddcb768452cc1d53c85cf.webp?v=1782214453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798355607651,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066531213411,"product_id":7868360032355,"position":14,"created_at":"2026-06-23T19:34:16+08:00","updated_at":"2026-06-23T19:34:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458","variant_ids":[43798355607651]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579375845475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ff505b3c02efe394194c514f5c979e15d7eafe.webp?v=1782214458"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798355640419,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066481733731,"product_id":7868360032355,"position":6,"created_at":"2026-06-23T19:34:10+08:00","updated_at":"2026-06-23T19:34:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452","variant_ids":[43798355640419]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579325612131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa7de4c2aa310eee0bdb5d50defca088a44166b.webp?v=1782214452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200489779299,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066490646627,"product_id":7868360032355,"position":8,"created_at":"2026-06-23T19:34:11+08:00","updated_at":"2026-06-23T19:34:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453","variant_ids":[44200489779299]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579334000739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64845b744f28d245dda8a30b3b05393b7ec679fc.webp?v=1782214453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200490238051,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066485403747,"product_id":7868360032355,"position":7,"created_at":"2026-06-23T19:34:10+08:00","updated_at":"2026-06-23T19:34:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452","variant_ids":[44200490238051]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579330330723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41721cfe92474901dfa9765ea4fbc2c7d8308f98.webp?v=1782214452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200490991715,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066462892131,"product_id":7868360032355,"position":2,"created_at":"2026-06-23T19:34:07+08:00","updated_at":"2026-06-23T19:34:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449","variant_ids":[44200490991715]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579307229283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29bb192969b6b0344ca1ca0a9bd237d16544b110.webp?v=1782214449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200492040291,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066477539427,"product_id":7868360032355,"position":5,"created_at":"2026-06-23T19:34:09+08:00","updated_at":"2026-06-23T19:34:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451","variant_ids":[44200492040291]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579322630243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45cbd33c33d916a3cc26e187734e6b2d6151ee2.webp?v=1782214451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264276623459,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066510110819,"product_id":7868360032355,"position":11,"created_at":"2026-06-23T19:34:13+08:00","updated_at":"2026-06-23T19:34:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455","variant_ids":[44264276623459]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579353923683,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c2b8bf0cee5c91e0bc350aeee6b5781f44db302.webp?v=1782214455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43634607194211,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PM84","requires_shipping":true,"taxable":true,"featured_image":{"id":36066503360611,"product_id":7868360032355,"position":10,"created_at":"2026-06-23T19:34:12+08:00","updated_at":"2026-06-23T19:34:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454","variant_ids":[43634607194211]},"available":true,"name":"iPhone 17 Pro SolidX NBA Logo-NBA 75週年 NBA 75th Anniversary Logoman - 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-PM84","featured_media":{"alt":null,"id":27579347927139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/988837b48317c2570d8806ad0f02213b947f1759.webp?v=1782214454"}},"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: "停產"
}