$product = {"id":7815636746339,"title":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍","handle":"airpods-pro-2-airpods-case-bundle-front-crossover-design-eg13","description":null,"published_at":"2025-06-11T15:21:43+08:00","created_at":"2025-06-11T14:28:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-AirPods Pro 2","merge","reseller-littlepopcorn"],"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":43444897513571,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012069167203,"product_id":7815636746339,"position":27,"created_at":"2025-06-12T10:06:01+08:00","updated_at":"2025-06-12T10:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963","variant_ids":[43444897513571]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-EG13","featured_media":{"alt":null,"id":25692754903139,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899119203,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01269P2-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068151395,"product_id":7815636746339,"position":25,"created_at":"2025-06-12T10:06:00+08:00","updated_at":"2025-06-12T10:06:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962","variant_ids":[43444899119203]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P2-EG13","featured_media":{"alt":null,"id":25692754477155,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899151971,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0126957-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012070707299,"product_id":7815636746339,"position":28,"created_at":"2025-06-12T10:06:02+08:00","updated_at":"2025-06-12T10:06:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964","variant_ids":[43444899151971]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126957-EG13","featured_media":{"alt":null,"id":25692755492963,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899184739,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01269R4-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012066676835,"product_id":7815636746339,"position":23,"created_at":"2025-06-12T10:05:58+08:00","updated_at":"2025-06-12T10:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960","variant_ids":[43444899184739]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269R4-EG13","featured_media":{"alt":null,"id":25692753657955,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899217507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012066349155,"product_id":7815636746339,"position":22,"created_at":"2025-06-12T10:05:58+08:00","updated_at":"2025-06-12T10:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960","variant_ids":[43444899217507]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-EG13","featured_media":{"alt":null,"id":25692753100899,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899250275,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01269O9-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068708451,"product_id":7815636746339,"position":26,"created_at":"2025-06-12T10:06:00+08:00","updated_at":"2025-06-12T10:06:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962","variant_ids":[43444899250275]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O9-EG13","featured_media":{"alt":null,"id":25692754706531,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899283043,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01269O8-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012067397731,"product_id":7815636746339,"position":24,"created_at":"2025-06-12T10:05:59+08:00","updated_at":"2025-06-12T10:06:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961","variant_ids":[43444899283043]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O8-EG13","featured_media":{"alt":null,"id":25692754051171,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f.webp?v=1749623310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05.webp?v=1749623310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5.webp?v=1749623311","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509.webp?v=1749623311","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2.webp?v=1749623312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8.webp?v=1749623312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f.webp?v=1749623313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_e2f676fc-e9e3-4383-894e-9f5dc02dfb14.webp?v=1749624573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_83c5b2ec-d1ce-4467-b5a2-cdc507b84c80.webp?v=1749624574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_67c1eb73-6a52-4dec-87a6-8e3836e1a383.webp?v=1749624574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_93c0c6a0-ce6c-4fe8-bc0e-f3fc6eb89390.webp?v=1749624575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_b00b3a52-88f3-4c73-a7be-92f3dc026659.webp?v=1749624575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_6a2938e5-e512-44f8-a2b0-bfcc7064d3c0.webp?v=1749624576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_acc46ee3-ef23-4d73-a389-868f413f4043.webp?v=1749624576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_1095c575-c81b-4e5a-8ff4-8758f3a35cc2.webp?v=1749625175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_e9cc6abb-b46d-4634-8fae-916a0ae55620.webp?v=1749625175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_6de63136-1b43-43ff-9f8f-2018b5c0654f.webp?v=1749625176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_19ffad2a-9a19-4649-b65d-788cc438b506.webp?v=1749625176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_0f38b2f1-b8e7-4b38-b2df-cbfb370a5b7b.webp?v=1749625177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_6ebf72df-a6f6-456b-925e-34031feac256.webp?v=1749625177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_6556b12a-c79f-46f6-ba4d-0b59eac29723.webp?v=1749625178","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f.webp?v=1749623310","options":["color"],"media":[{"alt":null,"id":25689560907875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f.webp?v=1749623310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f.webp?v=1749623310","width":2000},{"alt":null,"id":25689561071715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05.webp?v=1749623310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05.webp?v=1749623310","width":2000},{"alt":null,"id":25689561497699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5.webp?v=1749623311"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5.webp?v=1749623311","width":2000},{"alt":null,"id":25689561694307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509.webp?v=1749623311"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509.webp?v=1749623311","width":2000},{"alt":null,"id":25689561989219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2.webp?v=1749623312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2.webp?v=1749623312","width":2000},{"alt":null,"id":25689562120291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8.webp?v=1749623312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8.webp?v=1749623312","width":2000},{"alt":null,"id":25689562480739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f.webp?v=1749623313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f.webp?v=1749623313","width":2000},{"alt":null,"id":25689771245667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_e2f676fc-e9e3-4383-894e-9f5dc02dfb14.webp?v=1749624573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_e2f676fc-e9e3-4383-894e-9f5dc02dfb14.webp?v=1749624573","width":2000},{"alt":null,"id":25689771442275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_83c5b2ec-d1ce-4467-b5a2-cdc507b84c80.webp?v=1749624574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_83c5b2ec-d1ce-4467-b5a2-cdc507b84c80.webp?v=1749624574","width":2000},{"alt":null,"id":25689771573347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_67c1eb73-6a52-4dec-87a6-8e3836e1a383.webp?v=1749624574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_67c1eb73-6a52-4dec-87a6-8e3836e1a383.webp?v=1749624574","width":2000},{"alt":null,"id":25689771835491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_93c0c6a0-ce6c-4fe8-bc0e-f3fc6eb89390.webp?v=1749624575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_93c0c6a0-ce6c-4fe8-bc0e-f3fc6eb89390.webp?v=1749624575","width":2000},{"alt":null,"id":25689772130403,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_b00b3a52-88f3-4c73-a7be-92f3dc026659.webp?v=1749624575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_b00b3a52-88f3-4c73-a7be-92f3dc026659.webp?v=1749624575","width":2000},{"alt":null,"id":25689772425315,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_6a2938e5-e512-44f8-a2b0-bfcc7064d3c0.webp?v=1749624576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_6a2938e5-e512-44f8-a2b0-bfcc7064d3c0.webp?v=1749624576","width":2000},{"alt":null,"id":25689772556387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_acc46ee3-ef23-4d73-a389-868f413f4043.webp?v=1749624576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_acc46ee3-ef23-4d73-a389-868f413f4043.webp?v=1749624576","width":2000},{"alt":null,"id":25689882099811,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_1095c575-c81b-4e5a-8ff4-8758f3a35cc2.webp?v=1749625175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_1095c575-c81b-4e5a-8ff4-8758f3a35cc2.webp?v=1749625175","width":2000},{"alt":null,"id":25689882230883,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_e9cc6abb-b46d-4634-8fae-916a0ae55620.webp?v=1749625175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_e9cc6abb-b46d-4634-8fae-916a0ae55620.webp?v=1749625175","width":2000},{"alt":null,"id":25689882361955,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_6de63136-1b43-43ff-9f8f-2018b5c0654f.webp?v=1749625176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_6de63136-1b43-43ff-9f8f-2018b5c0654f.webp?v=1749625176","width":2000},{"alt":null,"id":25689882493027,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_19ffad2a-9a19-4649-b65d-788cc438b506.webp?v=1749625176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_19ffad2a-9a19-4649-b65d-788cc438b506.webp?v=1749625176","width":2000},{"alt":null,"id":25689882624099,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_0f38b2f1-b8e7-4b38-b2df-cbfb370a5b7b.webp?v=1749625177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_0f38b2f1-b8e7-4b38-b2df-cbfb370a5b7b.webp?v=1749625177","width":2000},{"alt":null,"id":25689882755171,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_6ebf72df-a6f6-456b-925e-34031feac256.webp?v=1749625177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_6ebf72df-a6f6-456b-925e-34031feac256.webp?v=1749625177","width":2000},{"alt":null,"id":25689882984547,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_6556b12a-c79f-46f6-ba4d-0b59eac29723.webp?v=1749625178"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_6556b12a-c79f-46f6-ba4d-0b59eac29723.webp?v=1749625178","width":2000},{"alt":null,"id":25692753100899,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960","width":2000},{"alt":null,"id":25692753657955,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960","width":2000},{"alt":null,"id":25692754051171,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961","width":2000},{"alt":null,"id":25692754477155,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962","width":2000},{"alt":null,"id":25692754706531,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962","width":2000},{"alt":null,"id":25692754903139,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963","width":2000},{"alt":null,"id":25692755492963,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43444897513571,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012069167203,"product_id":7815636746339,"position":27,"created_at":"2025-06-12T10:06:01+08:00","updated_at":"2025-06-12T10:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963","variant_ids":[43444897513571]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-EG13","featured_media":{"alt":null,"id":25692754903139,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899119203,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01269P2-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068151395,"product_id":7815636746339,"position":25,"created_at":"2025-06-12T10:06:00+08:00","updated_at":"2025-06-12T10:06:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962","variant_ids":[43444899119203]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P2-EG13","featured_media":{"alt":null,"id":25692754477155,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89654e15fa6a8d7d0ceafa850a42b5bfee017ac2_715fbf2b-5f21-4364-9898-6616d9b324a5.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899151971,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0126957-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012070707299,"product_id":7815636746339,"position":28,"created_at":"2025-06-12T10:06:02+08:00","updated_at":"2025-06-12T10:06:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964","variant_ids":[43444899151971]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126957-EG13","featured_media":{"alt":null,"id":25692755492963,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc4865014abc0db3e61f4068a3d5a0d7f78125f_2adbc835-fe1a-4170-9e8c-501eb787d7a2.webp?v=1749693964"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899184739,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01269R4-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012066676835,"product_id":7815636746339,"position":23,"created_at":"2025-06-12T10:05:58+08:00","updated_at":"2025-06-12T10:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960","variant_ids":[43444899184739]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269R4-EG13","featured_media":{"alt":null,"id":25692753657955,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f906e70538e530b1c8806bdeae66c956eaa754f_51b96cd2-e779-42ef-bcaf-ef2afd401538.webp?v=1749693960"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899217507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012066349155,"product_id":7815636746339,"position":22,"created_at":"2025-06-12T10:05:58+08:00","updated_at":"2025-06-12T10:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960","variant_ids":[43444899217507]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-EG13","featured_media":{"alt":null,"id":25692753100899,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831c3e35974f4d3f8e20732f927bc1ca777a9509_423fa9ee-a7ad-45d8-818d-3f1d11add3d6.webp?v=1749693960"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899250275,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01269O9-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068708451,"product_id":7815636746339,"position":26,"created_at":"2025-06-12T10:06:00+08:00","updated_at":"2025-06-12T10:06:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962","variant_ids":[43444899250275]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O9-EG13","featured_media":{"alt":null,"id":25692754706531,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52bcf495082d762d558f1e6ea4f4b519911a6ae8_f05d08fa-202a-4f34-b84a-b31042a3f41d.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444899283043,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01269O8-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012067397731,"product_id":7815636746339,"position":24,"created_at":"2025-06-12T10:05:59+08:00","updated_at":"2025-06-12T10:06:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961","variant_ids":[43444899283043]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O8-EG13","featured_media":{"alt":null,"id":25692754051171,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b052abc09aa1ea0c2592262802899bc2646e54b5_04d3eea8-8232-4130-82e5-566209577db9.webp?v=1749693961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43444897513571,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012069167203,"product_id":7815636746339,"position":27,"created_at":"2025-06-12T10:06:01+08:00","updated_at":"2025-06-12T10:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963","variant_ids":[43444897513571]},"available":true,"name":"AirPods Pro 2 AirPods Case 小玉米花 新年恐龍 - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-EG13","featured_media":{"alt":null,"id":25692754903139,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960b44469d9fd7711fae7fa90f15e8da1333fa05_c73db034-c5e7-4574-a41c-6bcfb6b71737.webp?v=1749693963"}},"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: "停產"
}