Home
›
AirPods 2 AirPods Case 小玉米花 金盞花
$product = {"id":7815625834595,"title":"AirPods 2 AirPods Case 小玉米花 金盞花","handle":"airpods-2-airpods-case-bundle-front-crossover-design-eg12","description":null,"published_at":"2025-06-11T15:27:37+08:00","created_at":"2025-06-11T14:26:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-Airpods 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":43444850688099,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01170P1-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012070084707,"product_id":7815625834595,"position":32,"created_at":"2025-06-12T10:06:02+08:00","updated_at":"2025-06-12T10:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963","variant_ids":[43444850688099]},"available":true,"name":"AirPods 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":"ABT01170P1-EG12","featured_media":{"alt":null,"id":25692755296355,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853637219,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01170P2-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068085859,"product_id":7815625834595,"position":29,"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\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962","variant_ids":[43444853637219]},"available":true,"name":"AirPods 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":"ABT01170P2-EG12","featured_media":{"alt":null,"id":25692754444387,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853669987,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01170O9-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012064907363,"product_id":7815625834595,"position":25,"created_at":"2025-06-12T10:05:57+08:00","updated_at":"2025-06-12T10:05:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959","variant_ids":[43444853669987]},"available":true,"name":"AirPods 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":"ABT01170O9-EG12","featured_media":{"alt":null,"id":25692752511075,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853735523,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012067168355,"product_id":7815625834595,"position":28,"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\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961","variant_ids":[43444853735523]},"available":true,"name":"AirPods 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":"ABT01170R4-EG12","featured_media":{"alt":null,"id":25692753920099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853768291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012069265507,"product_id":7815625834595,"position":31,"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\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963","variant_ids":[43444853768291]},"available":true,"name":"AirPods 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":"ABT0117052-EG12","featured_media":{"alt":null,"id":25692754968675,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853801059,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068675683,"product_id":7815625834595,"position":30,"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\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962","variant_ids":[43444853801059]},"available":true,"name":"AirPods 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":"ABT0117057-EG12","featured_media":{"alt":null,"id":25692754739299,"position":30,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d.webp?v=1749623166","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d.webp?v=1749623167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c.webp?v=1749623167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b.webp?v=1749623168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d.webp?v=1749623168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b.webp?v=1749623169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426.webp?v=1749623170","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498.webp?v=1749623170","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_04fba067-2052-4db0-96f9-1a714302dbac.webp?v=1749624441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_1094500c-d4bb-4883-9137-182b5f7e9db6.webp?v=1749624442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_9728a24c-4fe1-4aa7-a8f5-032a2497ee74.webp?v=1749624442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_75039753-3bf4-485a-935c-3223cdb29060.webp?v=1749624443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_d86befab-b848-4d06-b610-85111221e3cc.webp?v=1749624443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_8ada121c-6b04-43ee-9c1f-868ebe162543.webp?v=1749624444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_e43babf8-a0e2-47c3-a790-d9357802bd3c.webp?v=1749624444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_ccc082e1-8d49-479a-a026-03ee0ba48d0d.webp?v=1749624445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_3b71c159-9de2-49c7-b6ca-5ce3f5fc8273.webp?v=1749625535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_464df150-5b72-4dbd-ac30-252b4276161d.webp?v=1749625536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_0909c0ae-14b3-448b-b6ed-a217f1645cf0.webp?v=1749625536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_c95d9183-29fc-42bd-9db5-72c577f1249c.webp?v=1749625537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_11da85bf-d084-4035-8d26-53a83941f608.webp?v=1749625537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_a969a901-bfd8-4d9e-9213-bafbc8939fcb.webp?v=1749625538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_4679954f-8411-4c71-b1af-b5ca7a05ca68.webp?v=1749625538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_1c500916-7a2d-4d6b-a927-de2272853d90.webp?v=1749625539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_70e8edce-e04c-4496-be2a-5b8db5224e7c.webp?v=1749693960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_26b86966-20ee-4a58-95c9-e33906f3fe97.webp?v=1749693960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d.webp?v=1749623166","options":["color"],"media":[{"alt":null,"id":25689510510691,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d.webp?v=1749623166"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d.webp?v=1749623166","width":2000},{"alt":null,"id":25689510838371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d.webp?v=1749623167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d.webp?v=1749623167","width":2000},{"alt":null,"id":25689511264355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c.webp?v=1749623167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c.webp?v=1749623167","width":2000},{"alt":null,"id":25689511624803,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b.webp?v=1749623168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b.webp?v=1749623168","width":2000},{"alt":null,"id":25689511919715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d.webp?v=1749623168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d.webp?v=1749623168","width":2000},{"alt":null,"id":25689512411235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b.webp?v=1749623169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b.webp?v=1749623169","width":2000},{"alt":null,"id":25689512640611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426.webp?v=1749623170"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426.webp?v=1749623170","width":2000},{"alt":null,"id":25689512935523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498.webp?v=1749623170"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498.webp?v=1749623170","width":2000},{"alt":null,"id":25689723207779,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_04fba067-2052-4db0-96f9-1a714302dbac.webp?v=1749624441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_04fba067-2052-4db0-96f9-1a714302dbac.webp?v=1749624441","width":2000},{"alt":null,"id":25689723568227,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_1094500c-d4bb-4883-9137-182b5f7e9db6.webp?v=1749624442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_1094500c-d4bb-4883-9137-182b5f7e9db6.webp?v=1749624442","width":2000},{"alt":null,"id":25689723928675,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_9728a24c-4fe1-4aa7-a8f5-032a2497ee74.webp?v=1749624442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_9728a24c-4fe1-4aa7-a8f5-032a2497ee74.webp?v=1749624442","width":2000},{"alt":null,"id":25689724190819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_75039753-3bf4-485a-935c-3223cdb29060.webp?v=1749624443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_75039753-3bf4-485a-935c-3223cdb29060.webp?v=1749624443","width":2000},{"alt":null,"id":25689724649571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_d86befab-b848-4d06-b610-85111221e3cc.webp?v=1749624443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_d86befab-b848-4d06-b610-85111221e3cc.webp?v=1749624443","width":2000},{"alt":null,"id":25689725075555,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_8ada121c-6b04-43ee-9c1f-868ebe162543.webp?v=1749624444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_8ada121c-6b04-43ee-9c1f-868ebe162543.webp?v=1749624444","width":2000},{"alt":null,"id":25689725370467,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_e43babf8-a0e2-47c3-a790-d9357802bd3c.webp?v=1749624444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_e43babf8-a0e2-47c3-a790-d9357802bd3c.webp?v=1749624444","width":2000},{"alt":null,"id":25689725632611,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_ccc082e1-8d49-479a-a026-03ee0ba48d0d.webp?v=1749624445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_ccc082e1-8d49-479a-a026-03ee0ba48d0d.webp?v=1749624445","width":2000},{"alt":null,"id":25690015105123,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_3b71c159-9de2-49c7-b6ca-5ce3f5fc8273.webp?v=1749625535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_3b71c159-9de2-49c7-b6ca-5ce3f5fc8273.webp?v=1749625535","width":2000},{"alt":null,"id":25690015268963,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_464df150-5b72-4dbd-ac30-252b4276161d.webp?v=1749625536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_464df150-5b72-4dbd-ac30-252b4276161d.webp?v=1749625536","width":2000},{"alt":null,"id":25690015367267,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_0909c0ae-14b3-448b-b6ed-a217f1645cf0.webp?v=1749625536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_0909c0ae-14b3-448b-b6ed-a217f1645cf0.webp?v=1749625536","width":2000},{"alt":null,"id":25690015465571,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_c95d9183-29fc-42bd-9db5-72c577f1249c.webp?v=1749625537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_c95d9183-29fc-42bd-9db5-72c577f1249c.webp?v=1749625537","width":2000},{"alt":null,"id":25690015596643,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_11da85bf-d084-4035-8d26-53a83941f608.webp?v=1749625537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_11da85bf-d084-4035-8d26-53a83941f608.webp?v=1749625537","width":2000},{"alt":null,"id":25690015727715,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_a969a901-bfd8-4d9e-9213-bafbc8939fcb.webp?v=1749625538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_a969a901-bfd8-4d9e-9213-bafbc8939fcb.webp?v=1749625538","width":2000},{"alt":null,"id":25690015989859,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_4679954f-8411-4c71-b1af-b5ca7a05ca68.webp?v=1749625538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_4679954f-8411-4c71-b1af-b5ca7a05ca68.webp?v=1749625538","width":2000},{"alt":null,"id":25690016252003,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_1c500916-7a2d-4d6b-a927-de2272853d90.webp?v=1749625539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_1c500916-7a2d-4d6b-a927-de2272853d90.webp?v=1749625539","width":2000},{"alt":null,"id":25692752511075,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959","width":2000},{"alt":null,"id":25692752969827,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_70e8edce-e04c-4496-be2a-5b8db5224e7c.webp?v=1749693960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1816c5ad2a245e5ab7e8a67bf6059d60a03ee84b_70e8edce-e04c-4496-be2a-5b8db5224e7c.webp?v=1749693960","width":2000},{"alt":null,"id":25692753330275,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_26b86966-20ee-4a58-95c9-e33906f3fe97.webp?v=1749693960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97edd93474a08776e2bde2b58d6f381238c7091c_26b86966-20ee-4a58-95c9-e33906f3fe97.webp?v=1749693960","width":2000},{"alt":null,"id":25692753920099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961","width":2000},{"alt":null,"id":25692754444387,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962","width":2000},{"alt":null,"id":25692754739299,"position":30,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962","width":2000},{"alt":null,"id":25692754968675,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963","width":2000},{"alt":null,"id":25692755296355,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43444850688099,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01170P1-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012070084707,"product_id":7815625834595,"position":32,"created_at":"2025-06-12T10:06:02+08:00","updated_at":"2025-06-12T10:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963","variant_ids":[43444850688099]},"available":true,"name":"AirPods 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":"ABT01170P1-EG12","featured_media":{"alt":null,"id":25692755296355,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853637219,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01170P2-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068085859,"product_id":7815625834595,"position":29,"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\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962","variant_ids":[43444853637219]},"available":true,"name":"AirPods 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":"ABT01170P2-EG12","featured_media":{"alt":null,"id":25692754444387,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c31a9cc4f7875088f3e1f5df4bb52cc061022498_03dda0c9-f039-4d55-9664-414ed62e7060.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853669987,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01170O9-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012064907363,"product_id":7815625834595,"position":25,"created_at":"2025-06-12T10:05:57+08:00","updated_at":"2025-06-12T10:05:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959","variant_ids":[43444853669987]},"available":true,"name":"AirPods 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":"ABT01170O9-EG12","featured_media":{"alt":null,"id":25692752511075,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5a3536d8497bd0370d65735b5f12b1584eaa81d_e6f3d3c2-5d35-44ff-9b92-7e077b948e53.webp?v=1749693959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853735523,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01170R4-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012067168355,"product_id":7815625834595,"position":28,"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\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961","variant_ids":[43444853735523]},"available":true,"name":"AirPods 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":"ABT01170R4-EG12","featured_media":{"alt":null,"id":25692753920099,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4634ceb6728992bd9feb8882c3d88e37bb0c1b_c217c4c2-e52f-4d9a-aba2-78bbd6d7eb64.webp?v=1749693961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853768291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0117052-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012069265507,"product_id":7815625834595,"position":31,"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\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963","variant_ids":[43444853768291]},"available":true,"name":"AirPods 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":"ABT0117052-EG12","featured_media":{"alt":null,"id":25692754968675,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed114a106bd49d2e628da0c023a6be111b104426_9be3455c-c5d1-4b08-bf34-7298288a65b4.webp?v=1749693963"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444853801059,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0117057-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012068675683,"product_id":7815625834595,"position":30,"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\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962","variant_ids":[43444853801059]},"available":true,"name":"AirPods 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":"ABT0117057-EG12","featured_media":{"alt":null,"id":25692754739299,"position":30,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2148c7edc00073fc18c82c2ba7f5529c7f81d_67053bed-72d3-4aeb-883a-d50fb12c7284.webp?v=1749693962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43444850688099,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01170P1-EG12","requires_shipping":true,"taxable":true,"featured_image":{"id":34012070084707,"product_id":7815625834595,"position":32,"created_at":"2025-06-12T10:06:02+08:00","updated_at":"2025-06-12T10:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.webp?v=1749693963","variant_ids":[43444850688099]},"available":true,"name":"AirPods 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":"ABT01170P1-EG12","featured_media":{"alt":null,"id":25692755296355,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a257d424e1489039e0b89927702b33bd6d1d31d_ecdfd499-2517-423d-9c40-9f51dcf2633b.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: "停產"
}