Home
›
AirPods 1 AirPods Case 小玉米花 新年恐龍
$product = {"id":7815626358883,"title":"AirPods 1 AirPods Case 小玉米花 新年恐龍","handle":"airpods-1-airpods-case-bundle-front-crossover-design-eg13","description":null,"published_at":"2025-06-11T15:27:21+08:00","created_at":"2025-06-11T14:26:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-Airpods 1","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":43444853440611,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01170P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211609699,"product_id":7815626358883,"position":28,"created_at":"2025-06-12T10:07:59+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080","variant_ids":[43444853440611]},"available":true,"name":"AirPods 1 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":"ABT01170P1-EG13","featured_media":{"alt":null,"id":25692827648099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856225891,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01170P2-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012212559971,"product_id":7815626358883,"position":29,"created_at":"2025-06-12T10:07:59+08:00","updated_at":"2025-06-12T10:08:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081","variant_ids":[43444856225891]},"available":true,"name":"AirPods 1 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":"ABT01170P2-EG13","featured_media":{"alt":null,"id":25692828074083,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856258659,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01170O9-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012213936227,"product_id":7815626358883,"position":31,"created_at":"2025-06-12T10:08:01+08:00","updated_at":"2025-06-12T10:08:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082","variant_ids":[43444856258659]},"available":true,"name":"AirPods 1 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":"ABT01170O9-EG13","featured_media":{"alt":null,"id":25692828696675,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856324195,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012214853731,"product_id":7815626358883,"position":32,"created_at":"2025-06-12T10:08:01+08:00","updated_at":"2025-06-12T10:08:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083","variant_ids":[43444856324195]},"available":true,"name":"AirPods 1 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":"ABT01170R4-EG13","featured_media":{"alt":null,"id":25692829188195,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856356963,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211216483,"product_id":7815626358883,"position":27,"created_at":"2025-06-12T10:07:58+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080","variant_ids":[43444856356963]},"available":true,"name":"AirPods 1 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":"ABT0117052-EG13","featured_media":{"alt":null,"id":25692827484259,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856389731,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012210528355,"product_id":7815626358883,"position":26,"created_at":"2025-06-12T10:07:58+08:00","updated_at":"2025-06-12T10:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079","variant_ids":[43444856389731]},"available":true,"name":"AirPods 1 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":"ABT0117057-EG13","featured_media":{"alt":null,"id":25692826894435,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d.webp?v=1749623175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d.webp?v=1749623176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5.webp?v=1749623176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54.webp?v=1749623177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e.webp?v=1749623177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091.webp?v=1749623178","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b.webp?v=1749623179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed.webp?v=1749623179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_c6ad1edc-cfa5-43dc-923d-41ca95043926.webp?v=1749624448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_56a42521-2d7b-4998-825e-ef09ddbaba98.webp?v=1749624449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_5de4a23e-3980-4778-8ced-bb3b3a60447c.webp?v=1749624449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_d9c6e55e-c6a3-4783-b1e8-79a765de0238.webp?v=1749624450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_9616a501-70c7-4207-94d8-b18386083481.webp?v=1749624450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_71f35383-25b1-4154-95ed-6056da452327.webp?v=1749624451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_3161b1c1-c9d6-42ac-84a2-47857669eebe.webp?v=1749624451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_f6e6fd8c-0388-4f17-aa22-8922198f7f15.webp?v=1749624452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_c50485e9-f651-4b0c-bc62-4ae68390bcae.webp?v=1749625224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_8af2a69b-8923-4b3b-bae2-3e48a249fc69.webp?v=1749625224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_d4652463-3508-49c5-88c5-ddf6f96e0314.webp?v=1749625225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_54ade989-b86c-447c-a407-921299f8292a.webp?v=1749625225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_e1bed765-f361-426f-842c-e98f6b4ef101.webp?v=1749625226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_9c9bc0dd-ad99-4809-a02b-cffdb6a02d96.webp?v=1749625227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_ede01df8-11f5-4acc-b240-e818fd5f3ca4.webp?v=1749625227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_49828827-e4fb-481d-8621-db31c1a855b6.webp?v=1749625228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_c5ecf760-3c40-492c-a791-3a500c298809.webp?v=1749694079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_472d7140-91b9-4b8e-be54-1d1b09295993.webp?v=1749694082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d.webp?v=1749623175","options":["color"],"media":[{"alt":null,"id":25689514115171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d.webp?v=1749623175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d.webp?v=1749623175","width":2000},{"alt":null,"id":25689514213475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d.webp?v=1749623176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d.webp?v=1749623176","width":2000},{"alt":null,"id":25689514279011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5.webp?v=1749623176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5.webp?v=1749623176","width":2000},{"alt":null,"id":25689514377315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54.webp?v=1749623177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54.webp?v=1749623177","width":2000},{"alt":null,"id":25689514442851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e.webp?v=1749623177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e.webp?v=1749623177","width":2000},{"alt":null,"id":25689514737763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091.webp?v=1749623178"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091.webp?v=1749623178","width":2000},{"alt":null,"id":25689514999907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b.webp?v=1749623179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b.webp?v=1749623179","width":2000},{"alt":null,"id":25689515196515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed.webp?v=1749623179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed.webp?v=1749623179","width":2000},{"alt":null,"id":25689726582883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_c6ad1edc-cfa5-43dc-923d-41ca95043926.webp?v=1749624448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_c6ad1edc-cfa5-43dc-923d-41ca95043926.webp?v=1749624448","width":2000},{"alt":null,"id":25689726648419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_56a42521-2d7b-4998-825e-ef09ddbaba98.webp?v=1749624449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_56a42521-2d7b-4998-825e-ef09ddbaba98.webp?v=1749624449","width":2000},{"alt":null,"id":25689726746723,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_5de4a23e-3980-4778-8ced-bb3b3a60447c.webp?v=1749624449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_5de4a23e-3980-4778-8ced-bb3b3a60447c.webp?v=1749624449","width":2000},{"alt":null,"id":25689726845027,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_d9c6e55e-c6a3-4783-b1e8-79a765de0238.webp?v=1749624450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_d9c6e55e-c6a3-4783-b1e8-79a765de0238.webp?v=1749624450","width":2000},{"alt":null,"id":25689726943331,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_9616a501-70c7-4207-94d8-b18386083481.webp?v=1749624450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_9616a501-70c7-4207-94d8-b18386083481.webp?v=1749624450","width":2000},{"alt":null,"id":25689727336547,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_71f35383-25b1-4154-95ed-6056da452327.webp?v=1749624451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_71f35383-25b1-4154-95ed-6056da452327.webp?v=1749624451","width":2000},{"alt":null,"id":25689727533155,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_3161b1c1-c9d6-42ac-84a2-47857669eebe.webp?v=1749624451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_3161b1c1-c9d6-42ac-84a2-47857669eebe.webp?v=1749624451","width":2000},{"alt":null,"id":25689727696995,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_f6e6fd8c-0388-4f17-aa22-8922198f7f15.webp?v=1749624452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_f6e6fd8c-0388-4f17-aa22-8922198f7f15.webp?v=1749624452","width":2000},{"alt":null,"id":25689900449891,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_c50485e9-f651-4b0c-bc62-4ae68390bcae.webp?v=1749625224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_c50485e9-f651-4b0c-bc62-4ae68390bcae.webp?v=1749625224","width":2000},{"alt":null,"id":25689900712035,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_8af2a69b-8923-4b3b-bae2-3e48a249fc69.webp?v=1749625224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_8af2a69b-8923-4b3b-bae2-3e48a249fc69.webp?v=1749625224","width":2000},{"alt":null,"id":25689900974179,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_d4652463-3508-49c5-88c5-ddf6f96e0314.webp?v=1749625225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_d4652463-3508-49c5-88c5-ddf6f96e0314.webp?v=1749625225","width":2000},{"alt":null,"id":25689901203555,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_54ade989-b86c-447c-a407-921299f8292a.webp?v=1749625225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_54ade989-b86c-447c-a407-921299f8292a.webp?v=1749625225","width":2000},{"alt":null,"id":25689901432931,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_e1bed765-f361-426f-842c-e98f6b4ef101.webp?v=1749625226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_e1bed765-f361-426f-842c-e98f6b4ef101.webp?v=1749625226","width":2000},{"alt":null,"id":25689901727843,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_9c9bc0dd-ad99-4809-a02b-cffdb6a02d96.webp?v=1749625227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_9c9bc0dd-ad99-4809-a02b-cffdb6a02d96.webp?v=1749625227","width":2000},{"alt":null,"id":25689901891683,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_ede01df8-11f5-4acc-b240-e818fd5f3ca4.webp?v=1749625227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_ede01df8-11f5-4acc-b240-e818fd5f3ca4.webp?v=1749625227","width":2000},{"alt":null,"id":25689902055523,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_49828827-e4fb-481d-8621-db31c1a855b6.webp?v=1749625228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_49828827-e4fb-481d-8621-db31c1a855b6.webp?v=1749625228","width":2000},{"alt":null,"id":25692826697827,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_c5ecf760-3c40-492c-a791-3a500c298809.webp?v=1749694079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7b0402b6750adb455e89d8d8f82bf4154eab5_c5ecf760-3c40-492c-a791-3a500c298809.webp?v=1749694079","width":2000},{"alt":null,"id":25692826894435,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079","width":2000},{"alt":null,"id":25692827484259,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080","width":2000},{"alt":null,"id":25692827648099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080","width":2000},{"alt":null,"id":25692828074083,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081","width":2000},{"alt":null,"id":25692828401763,"position":30,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_472d7140-91b9-4b8e-be54-1d1b09295993.webp?v=1749694082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7baaada8446c788a5dc1a7a2ff156b502a79be54_472d7140-91b9-4b8e-be54-1d1b09295993.webp?v=1749694082","width":2000},{"alt":null,"id":25692828696675,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082","width":2000},{"alt":null,"id":25692829188195,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43444853440611,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01170P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211609699,"product_id":7815626358883,"position":28,"created_at":"2025-06-12T10:07:59+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080","variant_ids":[43444853440611]},"available":true,"name":"AirPods 1 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":"ABT01170P1-EG13","featured_media":{"alt":null,"id":25692827648099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856225891,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01170P2-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012212559971,"product_id":7815626358883,"position":29,"created_at":"2025-06-12T10:07:59+08:00","updated_at":"2025-06-12T10:08:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081","variant_ids":[43444856225891]},"available":true,"name":"AirPods 1 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":"ABT01170P2-EG13","featured_media":{"alt":null,"id":25692828074083,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ccd487eb1774d559e137b2cbf14835af67dd3d_8b62debc-7fb0-4714-b3e0-61f8fdd61545.webp?v=1749694081"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856258659,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01170O9-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012213936227,"product_id":7815626358883,"position":31,"created_at":"2025-06-12T10:08:01+08:00","updated_at":"2025-06-12T10:08:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082","variant_ids":[43444856258659]},"available":true,"name":"AirPods 1 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":"ABT01170O9-EG13","featured_media":{"alt":null,"id":25692828696675,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527de25ee468dedc2dc3e65c3420f52fe84f8091_7b6a3f72-5837-489e-af79-5fc83056c669.webp?v=1749694082"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856324195,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012214853731,"product_id":7815626358883,"position":32,"created_at":"2025-06-12T10:08:01+08:00","updated_at":"2025-06-12T10:08:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083","variant_ids":[43444856324195]},"available":true,"name":"AirPods 1 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":"ABT01170R4-EG13","featured_media":{"alt":null,"id":25692829188195,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b9b75db398935b3b39b1433a554a946352969b_84348eed-8eb2-47c6-a909-ea2b566c2a01.webp?v=1749694083"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856356963,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211216483,"product_id":7815626358883,"position":27,"created_at":"2025-06-12T10:07:58+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080","variant_ids":[43444856356963]},"available":true,"name":"AirPods 1 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":"ABT0117052-EG13","featured_media":{"alt":null,"id":25692827484259,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d16d011988a5b74ae1784caeefb1eb4d13df1e_e07f46fe-8350-4d72-8f78-d3050a9aaa26.webp?v=1749694080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444856389731,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012210528355,"product_id":7815626358883,"position":26,"created_at":"2025-06-12T10:07:58+08:00","updated_at":"2025-06-12T10:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079","variant_ids":[43444856389731]},"available":true,"name":"AirPods 1 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":"ABT0117057-EG13","featured_media":{"alt":null,"id":25692826894435,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4c2def156edb15d1b09d16950a737dea60ebed_d871aed9-dd35-47e2-89eb-cc94c76d64a2.webp?v=1749694079"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43444853440611,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01170P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211609699,"product_id":7815626358883,"position":28,"created_at":"2025-06-12T10:07:59+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080","variant_ids":[43444853440611]},"available":true,"name":"AirPods 1 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":"ABT01170P1-EG13","featured_media":{"alt":null,"id":25692827648099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fecec225c50773cac7120e3c766c3a20ee86c1d_e7c6cdda-ba65-4ab8-8e82-8193ed044514.webp?v=1749694080"}},"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: "停產"
}