$product = {"id":6983680884835,"title":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks","handle":"airpods-pro-2-airpods-case-pm14","description":"","published_at":"2023-08-02T22:09:51+08:00","created_at":"2023-07-28T12:38:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-AirPods Pro 2","merge","reseller-nba"],"price":75000,"price_min":75000,"price_max":75000,"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":40596615856227,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152235163747,"product_id":6983680884835,"position":25,"created_at":"2026-07-02T12:10:49+08:00","updated_at":"2026-07-02T12:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451","variant_ids":[40596615856227]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Black","public_title":"Black","options":["Black"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-PM14","featured_media":{"alt":null,"id":27657108619363,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596615921763,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0126957-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236245091,"product_id":6983680884835,"position":26,"created_at":"2026-07-02T12:10:50+08:00","updated_at":"2026-07-02T12:10:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453","variant_ids":[40596615921763]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126957-PM14","featured_media":{"alt":null,"id":27657109667939,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616020067,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01269O8-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233885795,"product_id":6983680884835,"position":24,"created_at":"2026-07-02T12:10:48+08:00","updated_at":"2026-07-02T12:10:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450","variant_ids":[40596616020067]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O8-PM14","featured_media":{"alt":null,"id":27657107374179,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616118371,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01269O9-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237326435,"product_id":6983680884835,"position":28,"created_at":"2026-07-02T12:10:53+08:00","updated_at":"2026-07-02T12:10:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455","variant_ids":[40596616118371]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O9-PM14","featured_media":{"alt":null,"id":27657110945891,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616314979,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236834915,"product_id":6983680884835,"position":27,"created_at":"2026-07-02T12:10:52+08:00","updated_at":"2026-07-02T12:10:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454","variant_ids":[40596616314979]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-PM14","featured_media":{"alt":null,"id":27657110323299,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616413283,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01269P2-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237785187,"product_id":6983680884835,"position":29,"created_at":"2026-07-02T12:10:54+08:00","updated_at":"2026-07-02T12:10:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456","variant_ids":[40596616413283]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P2-PM14","featured_media":{"alt":null,"id":27657111273571,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616478819,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01269R4-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233525347,"product_id":6983680884835,"position":23,"created_at":"2026-07-02T12:10:46+08:00","updated_at":"2026-07-02T12:10:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448","variant_ids":[40596616478819]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269R4-PM14","featured_media":{"alt":null,"id":27657106980963,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM14.png?v=1737530198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c.webp?v=1782202769","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82.webp?v=1782202770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9.webp?v=1782202771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7.webp?v=1782202772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa.webp?v=1782202772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939.webp?v=1782202773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255.webp?v=1782202774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_57e73f76-5186-446f-b5da-81519ecaadf4.webp?v=1782956811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_1ce23b34-6a22-4835-ac1b-58b3cbdead8d.webp?v=1782956812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_75eb9ffc-7e69-4e27-9d4c-bd23ca7827e7.webp?v=1782956813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_20d36f52-7078-4d07-897b-a969ef35a3e2.webp?v=1782956815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_530a151f-8bff-4642-9b17-44a506bb25cf.webp?v=1782956816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_467dd67a-224a-4f20-9f89-bb00948da45d.webp?v=1782956817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_bcdaf0dc-c68e-4387-9657-4e8f150b8e09.webp?v=1782956818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_258143d7-59d9-4e69-8b73-362084495fb4.webp?v=1782961060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_2c71de59-9dc5-4aa0-bdf4-577c08eca237.webp?v=1782961061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_7bc8d757-6a94-4096-b281-c19b1c1b492d.webp?v=1782961062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_301530b2-c46c-4d52-ab76-0f3ba880690b.webp?v=1782961063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_c9412c51-b234-4ee5-b4b4-c4e63d2e1a24.webp?v=1782961064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_73afc43d-c6b9-44bf-878b-9c06d6cfa738.webp?v=1782961064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_8ca1d933-daba-43cc-bd7e-9cf262feaa4c.webp?v=1782961066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM14.png?v=1737530198","options":["color"],"media":[{"alt":null,"id":22636833505379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM14.png?v=1737530198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM14.png?v=1737530198","width":2000},{"alt":null,"id":27574099902563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c.webp?v=1782202769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c.webp?v=1782202769","width":2000},{"alt":null,"id":27574101704803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82.webp?v=1782202770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82.webp?v=1782202770","width":2000},{"alt":null,"id":27574103441507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9.webp?v=1782202771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9.webp?v=1782202771","width":2000},{"alt":null,"id":27574104195171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7.webp?v=1782202772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7.webp?v=1782202772","width":2000},{"alt":null,"id":27574105014371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa.webp?v=1782202772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa.webp?v=1782202772","width":2000},{"alt":null,"id":27574105604195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939.webp?v=1782202773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939.webp?v=1782202773","width":2000},{"alt":null,"id":27574106652771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255.webp?v=1782202774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255.webp?v=1782202774","width":2000},{"alt":null,"id":27655632650339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_57e73f76-5186-446f-b5da-81519ecaadf4.webp?v=1782956811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_57e73f76-5186-446f-b5da-81519ecaadf4.webp?v=1782956811","width":2000},{"alt":null,"id":27655633240163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_1ce23b34-6a22-4835-ac1b-58b3cbdead8d.webp?v=1782956812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_1ce23b34-6a22-4835-ac1b-58b3cbdead8d.webp?v=1782956812","width":2000},{"alt":null,"id":27655633862755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_75eb9ffc-7e69-4e27-9d4c-bd23ca7827e7.webp?v=1782956813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_75eb9ffc-7e69-4e27-9d4c-bd23ca7827e7.webp?v=1782956813","width":2000},{"alt":null,"id":27655634387043,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_20d36f52-7078-4d07-897b-a969ef35a3e2.webp?v=1782956815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_20d36f52-7078-4d07-897b-a969ef35a3e2.webp?v=1782956815","width":2000},{"alt":null,"id":27655635009635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_530a151f-8bff-4642-9b17-44a506bb25cf.webp?v=1782956816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_530a151f-8bff-4642-9b17-44a506bb25cf.webp?v=1782956816","width":2000},{"alt":null,"id":27655635468387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_467dd67a-224a-4f20-9f89-bb00948da45d.webp?v=1782956817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_467dd67a-224a-4f20-9f89-bb00948da45d.webp?v=1782956817","width":2000},{"alt":null,"id":27655635763299,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_bcdaf0dc-c68e-4387-9657-4e8f150b8e09.webp?v=1782956818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_bcdaf0dc-c68e-4387-9657-4e8f150b8e09.webp?v=1782956818","width":2000},{"alt":null,"id":27656651505763,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_258143d7-59d9-4e69-8b73-362084495fb4.webp?v=1782961060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_258143d7-59d9-4e69-8b73-362084495fb4.webp?v=1782961060","width":2000},{"alt":null,"id":27656652128355,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_2c71de59-9dc5-4aa0-bdf4-577c08eca237.webp?v=1782961061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_2c71de59-9dc5-4aa0-bdf4-577c08eca237.webp?v=1782961061","width":2000},{"alt":null,"id":27656652882019,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_7bc8d757-6a94-4096-b281-c19b1c1b492d.webp?v=1782961062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_7bc8d757-6a94-4096-b281-c19b1c1b492d.webp?v=1782961062","width":2000},{"alt":null,"id":27656654061667,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_301530b2-c46c-4d52-ab76-0f3ba880690b.webp?v=1782961063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_301530b2-c46c-4d52-ab76-0f3ba880690b.webp?v=1782961063","width":2000},{"alt":null,"id":27656655077475,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_c9412c51-b234-4ee5-b4b4-c4e63d2e1a24.webp?v=1782961064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_c9412c51-b234-4ee5-b4b4-c4e63d2e1a24.webp?v=1782961064","width":2000},{"alt":null,"id":27656655896675,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_73afc43d-c6b9-44bf-878b-9c06d6cfa738.webp?v=1782961064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_73afc43d-c6b9-44bf-878b-9c06d6cfa738.webp?v=1782961064","width":2000},{"alt":null,"id":27656656388195,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_8ca1d933-daba-43cc-bd7e-9cf262feaa4c.webp?v=1782961066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_8ca1d933-daba-43cc-bd7e-9cf262feaa4c.webp?v=1782961066","width":2000},{"alt":null,"id":27657106980963,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448","width":2000},{"alt":null,"id":27657107374179,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450","width":2000},{"alt":null,"id":27657108619363,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451","width":2000},{"alt":null,"id":27657109667939,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453","width":2000},{"alt":null,"id":27657110323299,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454","width":2000},{"alt":null,"id":27657110945891,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455","width":2000},{"alt":null,"id":27657111273571,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""};
$isMerge = null;
$variants = [{"id":40596615856227,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152235163747,"product_id":6983680884835,"position":25,"created_at":"2026-07-02T12:10:49+08:00","updated_at":"2026-07-02T12:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451","variant_ids":[40596615856227]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Black","public_title":"Black","options":["Black"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-PM14","featured_media":{"alt":null,"id":27657108619363,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596615921763,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0126957-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236245091,"product_id":6983680884835,"position":26,"created_at":"2026-07-02T12:10:50+08:00","updated_at":"2026-07-02T12:10:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453","variant_ids":[40596615921763]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126957-PM14","featured_media":{"alt":null,"id":27657109667939,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919a823435eee037b40b184a710a10c6d4799a82_cb29c510-3937-4575-8446-2bef811a9995.webp?v=1782965453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616020067,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01269O8-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233885795,"product_id":6983680884835,"position":24,"created_at":"2026-07-02T12:10:48+08:00","updated_at":"2026-07-02T12:10:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450","variant_ids":[40596616020067]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O8-PM14","featured_media":{"alt":null,"id":27657107374179,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2feff502dde621a350707f168c7c79a05c0fca9c_7e6b71ac-0c80-4e8b-a2b0-615a0d28b758.webp?v=1782965450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616118371,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01269O9-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237326435,"product_id":6983680884835,"position":28,"created_at":"2026-07-02T12:10:53+08:00","updated_at":"2026-07-02T12:10:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455","variant_ids":[40596616118371]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O9-PM14","featured_media":{"alt":null,"id":27657110945891,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3918be45117242230ba621fe6f30edd433575cfa_4ebec93c-8f97-4b04-9a9d-4866b4f79ac0.webp?v=1782965455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616314979,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236834915,"product_id":6983680884835,"position":27,"created_at":"2026-07-02T12:10:52+08:00","updated_at":"2026-07-02T12:10:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454","variant_ids":[40596616314979]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-PM14","featured_media":{"alt":null,"id":27657110323299,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c113931cb79b75230c2e6720075a7fe39b880255_2e615def-a88c-4e59-ba61-7cc42ed40f29.webp?v=1782965454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616413283,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01269P2-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237785187,"product_id":6983680884835,"position":29,"created_at":"2026-07-02T12:10:54+08:00","updated_at":"2026-07-02T12:10:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456","variant_ids":[40596616413283]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P2-PM14","featured_media":{"alt":null,"id":27657111273571,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2622b03e67ab03f9bd4c03a605be43c046dfb1d9_29f412fe-8cd1-45d4-bec9-0e0bd0ff7cd9.webp?v=1782965456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596616478819,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01269R4-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233525347,"product_id":6983680884835,"position":23,"created_at":"2026-07-02T12:10:46+08:00","updated_at":"2026-07-02T12:10:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448","variant_ids":[40596616478819]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269R4-PM14","featured_media":{"alt":null,"id":27657106980963,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57a9aec29f0b05d8adbcccd24789afd9507c0939_788f42c1-e451-4a8a-ad73-a47f3efd56e9.webp?v=1782965448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":40596615856227,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152235163747,"product_id":6983680884835,"position":25,"created_at":"2026-07-02T12:10:49+08:00","updated_at":"2026-07-02T12:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451","variant_ids":[40596615856227]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - Black","public_title":"Black","options":["Black"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-PM14","featured_media":{"alt":null,"id":27657108619363,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a7d73cb347a719fecf36149bb7a0d1fe7a867a7_93f155e6-d466-4416-9bc8-f89a1fd3abdd.webp?v=1782965451"}},"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: "停產"
}