$product = {"id":7815648346211,"title":"AirPods 3 AirPods Case 小玉米花 金盞花","handle":"airpods-3-airpods-case-bundle-front-crossover-design-eg12","description":null,"published_at":"2025-06-11T15:15:26+08:00","created_at":"2025-06-11T14:30:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-Airpods 3","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":43444945322083,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011902607459,"product_id":7815648346211,"position":28,"created_at":"2025-06-12T10:03:09+08:00","updated_at":"2025-06-12T10:03:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791","variant_ids":[43444945322083]},"available":true,"name":"AirPods 3 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":"ABT01245P1-EG12","featured_media":{"alt":null,"id":25692668199011,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948140131,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011900903523,"product_id":7815648346211,"position":26,"created_at":"2025-06-12T10:03:08+08:00","updated_at":"2025-06-12T10:03:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789","variant_ids":[43444948140131]},"available":true,"name":"AirPods 3 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":"ABT01245P2-EG12","featured_media":{"alt":null,"id":25692667379811,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948172899,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01245O9-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011904278627,"product_id":7815648346211,"position":31,"created_at":"2025-06-12T10:03:11+08:00","updated_at":"2025-06-12T10:03:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793","variant_ids":[43444948172899]},"available":true,"name":"AirPods 3 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":"ABT01245O9-EG12","featured_media":{"alt":null,"id":25692669182051,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948238435,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01245R4-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011905130595,"product_id":7815648346211,"position":32,"created_at":"2025-06-12T10:03:12+08:00","updated_at":"2025-06-12T10:03:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794","variant_ids":[43444948238435]},"available":true,"name":"AirPods 3 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":"ABT01245R4-EG12","featured_media":{"alt":null,"id":25692669476963,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948271203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0124552-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011903393891,"product_id":7815648346211,"position":29,"created_at":"2025-06-12T10:03:10+08:00","updated_at":"2025-06-12T10:03:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792","variant_ids":[43444948271203]},"available":true,"name":"AirPods 3 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":"ABT0124552-EG12","featured_media":{"alt":null,"id":25692668461155,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948336739,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01245O8-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011901984867,"product_id":7815648346211,"position":27,"created_at":"2025-06-12T10:03:09+08:00","updated_at":"2025-06-12T10:03:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791","variant_ids":[43444948336739]},"available":true,"name":"AirPods 3 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":"ABT01245O8-EG12","featured_media":{"alt":null,"id":25692667838563,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22.webp?v=1749623464","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df.webp?v=1749623465","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65.webp?v=1749623465","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2.webp?v=1749623466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f.webp?v=1749623467","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1.webp?v=1749623467","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d.webp?v=1749623468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602.webp?v=1749623468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_9793f76a-bc87-4186-b262-85f0b0a43b4e.webp?v=1749624714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_a3a680fa-81e6-4c14-9784-7d14d95f3956.webp?v=1749624715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_7fe28a0e-8a48-4fc5-936b-c1c2cb72ed45.webp?v=1749624715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_29327a34-2bd8-43be-b58f-d8899dcaa3e3.webp?v=1749624716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_5ac7e078-e622-4a32-9866-4cc3a2dd4f44.webp?v=1749624717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_448d5cce-35d5-48cf-84d2-646369c9c921.webp?v=1749624717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_5212b24c-9de6-4392-ad4a-712bc31aac30.webp?v=1749624718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_68a1e6ae-ccf3-4357-9e1b-cd9d819146ba.webp?v=1749624719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_2ac81f6d-6d4e-405e-abf6-1a806e2c9250.webp?v=1749625442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_ae498a7f-4277-46f1-a85f-6d110c8905d3.webp?v=1749625442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_76d843fb-fcab-462c-8099-1af0d208af5b.webp?v=1749625443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_6674435c-ed72-4a4a-a714-ed04c4a55b44.webp?v=1749625443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_ced978ee-0438-46f1-ae44-c5fa4c918354.webp?v=1749625444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_16db15ce-5157-471c-b6d1-4847e0dca430.webp?v=1749625445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_e945fdac-1d8d-48b1-b3cc-80974f9606d9.webp?v=1749625445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_f4a52b45-267a-4895-9eb9-dfa20ea81ba3.webp?v=1749625446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_54e5f22b-2454-41dd-9cb1-d43919b77566.webp?v=1749693789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_a10da0d6-2a29-45f4-83f9-234f91068678.webp?v=1749693792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22.webp?v=1749623464","options":["color"],"media":[{"alt":null,"id":25689614712931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22.webp?v=1749623464"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22.webp?v=1749623464","width":2000},{"alt":null,"id":25689614909539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df.webp?v=1749623465"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df.webp?v=1749623465","width":2000},{"alt":null,"id":25689615106147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65.webp?v=1749623465"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65.webp?v=1749623465","width":2000},{"alt":null,"id":25689615237219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2.webp?v=1749623466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2.webp?v=1749623466","width":2000},{"alt":null,"id":25689615401059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f.webp?v=1749623467"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f.webp?v=1749623467","width":2000},{"alt":null,"id":25689615499363,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1.webp?v=1749623467"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1.webp?v=1749623467","width":2000},{"alt":null,"id":25689615695971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d.webp?v=1749623468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d.webp?v=1749623468","width":2000},{"alt":null,"id":25689615761507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602.webp?v=1749623468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602.webp?v=1749623468","width":2000},{"alt":null,"id":25689824395363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_9793f76a-bc87-4186-b262-85f0b0a43b4e.webp?v=1749624714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_9793f76a-bc87-4186-b262-85f0b0a43b4e.webp?v=1749624714","width":2000},{"alt":null,"id":25689824526435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_a3a680fa-81e6-4c14-9784-7d14d95f3956.webp?v=1749624715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_a3a680fa-81e6-4c14-9784-7d14d95f3956.webp?v=1749624715","width":2000},{"alt":null,"id":25689824755811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_7fe28a0e-8a48-4fc5-936b-c1c2cb72ed45.webp?v=1749624715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_7fe28a0e-8a48-4fc5-936b-c1c2cb72ed45.webp?v=1749624715","width":2000},{"alt":null,"id":25689825017955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_29327a34-2bd8-43be-b58f-d8899dcaa3e3.webp?v=1749624716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_29327a34-2bd8-43be-b58f-d8899dcaa3e3.webp?v=1749624716","width":2000},{"alt":null,"id":25689825214563,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_5ac7e078-e622-4a32-9866-4cc3a2dd4f44.webp?v=1749624717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_5ac7e078-e622-4a32-9866-4cc3a2dd4f44.webp?v=1749624717","width":2000},{"alt":null,"id":25689825378403,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_448d5cce-35d5-48cf-84d2-646369c9c921.webp?v=1749624717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_448d5cce-35d5-48cf-84d2-646369c9c921.webp?v=1749624717","width":2000},{"alt":null,"id":25689825509475,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_5212b24c-9de6-4392-ad4a-712bc31aac30.webp?v=1749624718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_5212b24c-9de6-4392-ad4a-712bc31aac30.webp?v=1749624718","width":2000},{"alt":null,"id":25689825673315,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_68a1e6ae-ccf3-4357-9e1b-cd9d819146ba.webp?v=1749624719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_68a1e6ae-ccf3-4357-9e1b-cd9d819146ba.webp?v=1749624719","width":2000},{"alt":null,"id":25689982861411,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_2ac81f6d-6d4e-405e-abf6-1a806e2c9250.webp?v=1749625442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_2ac81f6d-6d4e-405e-abf6-1a806e2c9250.webp?v=1749625442","width":2000},{"alt":null,"id":25689983156323,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_ae498a7f-4277-46f1-a85f-6d110c8905d3.webp?v=1749625442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_ae498a7f-4277-46f1-a85f-6d110c8905d3.webp?v=1749625442","width":2000},{"alt":null,"id":25689983385699,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_76d843fb-fcab-462c-8099-1af0d208af5b.webp?v=1749625443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_76d843fb-fcab-462c-8099-1af0d208af5b.webp?v=1749625443","width":2000},{"alt":null,"id":25689983549539,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_6674435c-ed72-4a4a-a714-ed04c4a55b44.webp?v=1749625443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_6674435c-ed72-4a4a-a714-ed04c4a55b44.webp?v=1749625443","width":2000},{"alt":null,"id":25689983746147,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_ced978ee-0438-46f1-ae44-c5fa4c918354.webp?v=1749625444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_ced978ee-0438-46f1-ae44-c5fa4c918354.webp?v=1749625444","width":2000},{"alt":null,"id":25689983942755,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_16db15ce-5157-471c-b6d1-4847e0dca430.webp?v=1749625445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_16db15ce-5157-471c-b6d1-4847e0dca430.webp?v=1749625445","width":2000},{"alt":null,"id":25689984073827,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_e945fdac-1d8d-48b1-b3cc-80974f9606d9.webp?v=1749625445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_e945fdac-1d8d-48b1-b3cc-80974f9606d9.webp?v=1749625445","width":2000},{"alt":null,"id":25689984204899,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_f4a52b45-267a-4895-9eb9-dfa20ea81ba3.webp?v=1749625446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_f4a52b45-267a-4895-9eb9-dfa20ea81ba3.webp?v=1749625446","width":2000},{"alt":null,"id":25692667052131,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_54e5f22b-2454-41dd-9cb1-d43919b77566.webp?v=1749693789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acdc19c64bd28bbd1dce010add585f6aeaf70602_54e5f22b-2454-41dd-9cb1-d43919b77566.webp?v=1749693789","width":2000},{"alt":null,"id":25692667379811,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789","width":2000},{"alt":null,"id":25692667838563,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791","width":2000},{"alt":null,"id":25692668199011,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791","width":2000},{"alt":null,"id":25692668461155,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792","width":2000},{"alt":null,"id":25692668887139,"position":30,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_a10da0d6-2a29-45f4-83f9-234f91068678.webp?v=1749693792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a828df5d9dfa41965f9c54bb3fc3d20f7386f1_a10da0d6-2a29-45f4-83f9-234f91068678.webp?v=1749693792","width":2000},{"alt":null,"id":25692669182051,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793","width":2000},{"alt":null,"id":25692669476963,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43444945322083,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011902607459,"product_id":7815648346211,"position":28,"created_at":"2025-06-12T10:03:09+08:00","updated_at":"2025-06-12T10:03:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791","variant_ids":[43444945322083]},"available":true,"name":"AirPods 3 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":"ABT01245P1-EG12","featured_media":{"alt":null,"id":25692668199011,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948140131,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011900903523,"product_id":7815648346211,"position":26,"created_at":"2025-06-12T10:03:08+08:00","updated_at":"2025-06-12T10:03:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789","variant_ids":[43444948140131]},"available":true,"name":"AirPods 3 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":"ABT01245P2-EG12","featured_media":{"alt":null,"id":25692667379811,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aa7f55a8d551e0e9717f5a692a82bc72aa6b46f_cf485fda-f58f-4d0e-a5a9-218c3546ee02.webp?v=1749693789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948172899,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01245O9-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011904278627,"product_id":7815648346211,"position":31,"created_at":"2025-06-12T10:03:11+08:00","updated_at":"2025-06-12T10:03:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793","variant_ids":[43444948172899]},"available":true,"name":"AirPods 3 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":"ABT01245O9-EG12","featured_media":{"alt":null,"id":25692669182051,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2293b0ec6497beeadb7778db278be984b8eaf8df_46a4f433-1ab7-48a2-b2f9-acc327dd2e09.webp?v=1749693793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948238435,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01245R4-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011905130595,"product_id":7815648346211,"position":32,"created_at":"2025-06-12T10:03:12+08:00","updated_at":"2025-06-12T10:03:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794","variant_ids":[43444948238435]},"available":true,"name":"AirPods 3 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":"ABT01245R4-EG12","featured_media":{"alt":null,"id":25692669476963,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505988ea6c479e302c9609029eb0fcff55d943a2_069c510f-369f-46fb-80eb-dedcbbba3f4e.webp?v=1749693794"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948271203,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0124552-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011903393891,"product_id":7815648346211,"position":29,"created_at":"2025-06-12T10:03:10+08:00","updated_at":"2025-06-12T10:03:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792","variant_ids":[43444948271203]},"available":true,"name":"AirPods 3 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":"ABT0124552-EG12","featured_media":{"alt":null,"id":25692668461155,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64807701bc302cfe629e4135863bd1731a33cf22_65940332-8d48-4c63-b082-c7095c302366.webp?v=1749693792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444948336739,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01245O8-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011901984867,"product_id":7815648346211,"position":27,"created_at":"2025-06-12T10:03:09+08:00","updated_at":"2025-06-12T10:03:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791","variant_ids":[43444948336739]},"available":true,"name":"AirPods 3 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":"ABT01245O8-EG12","featured_media":{"alt":null,"id":25692667838563,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f9a17f16e78b2db54fe379de98a481245b9c65_840869b3-b904-49c0-8c77-a1358e795f39.webp?v=1749693791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43444945322083,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34011902607459,"product_id":7815648346211,"position":28,"created_at":"2025-06-12T10:03:09+08:00","updated_at":"2025-06-12T10:03:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791","variant_ids":[43444945322083]},"available":true,"name":"AirPods 3 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":"ABT01245P1-EG12","featured_media":{"alt":null,"id":25692668199011,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac24ef45408400bd6deb3652721ffd7bc6bc144d_effafa69-f646-4ef7-af63-7efd7ca39be8.webp?v=1749693791"}},"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: "停產" }