$product = {"id":7815651983459,"title":"AirPods 3 AirPods Case 小玉米花 新年恐龍","handle":"airpods-3-airpods-case-bundle-front-crossover-design-eg13","description":null,"published_at":"2025-06-11T15:13:17+08:00","created_at":"2025-06-11T14:31:51+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":43444961607779,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008020615267,"product_id":7815651983459,"position":20,"created_at":"2025-06-11T15:00:04+08:00","updated_at":"2025-06-11T15:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205","variant_ids":[43444961607779]},"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-EG13","featured_media":{"alt":null,"id":25689894125667,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444965965923,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008022483043,"product_id":7815651983459,"position":24,"created_at":"2025-06-11T15:00:06+08:00","updated_at":"2025-06-11T15:00:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208","variant_ids":[43444965965923]},"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-EG13","featured_media":{"alt":null,"id":25689895043171,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444965998691,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01245O9-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008020123747,"product_id":7815651983459,"position":19,"created_at":"2025-06-11T15:00:03+08:00","updated_at":"2025-06-11T15:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205","variant_ids":[43444965998691]},"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-EG13","featured_media":{"alt":null,"id":25689893896291,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444966064227,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01245R4-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008021925987,"product_id":7815651983459,"position":23,"created_at":"2025-06-11T15:00:05+08:00","updated_at":"2025-06-11T15:00:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207","variant_ids":[43444966064227]},"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-EG13","featured_media":{"alt":null,"id":25689894846563,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444966096995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0124552-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008019271779,"product_id":7815651983459,"position":17,"created_at":"2025-06-11T15:00:02+08:00","updated_at":"2025-06-11T15:00:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204","variant_ids":[43444966096995]},"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-EG13","featured_media":{"alt":null,"id":25689893568611,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444966162531,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01245O8-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008021008483,"product_id":7815651983459,"position":21,"created_at":"2025-06-11T15:00:04+08:00","updated_at":"2025-06-11T15:00:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206","variant_ids":[43444966162531]},"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-EG13","featured_media":{"alt":null,"id":25689894355043,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1.webp?v=1749623516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811.webp?v=1749623516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a.webp?v=1749623517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802.webp?v=1749623517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf.webp?v=1749623518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a.webp?v=1749623519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c.webp?v=1749623519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a.webp?v=1749623520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_b4860d12-bcb6-4c6d-be73-dfd1ecee93cc.webp?v=1749624763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_9c29d481-eea3-431e-8e4a-b0494c341aef.webp?v=1749624764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_4b1fb422-2944-486f-8e0a-69f807556cd0.webp?v=1749624764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_f44c4d17-c887-4788-af23-4f5f26d85744.webp?v=1749624765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_529f2089-2807-4016-ac47-1aff22ec30ac.webp?v=1749624765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_82183fd8-0bdb-4413-9c80-5c28b3b16539.webp?v=1749624766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_950421da-4d03-46ed-90cf-786c5efb45a9.webp?v=1749624766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_9a48c9fe-a3d0-426f-9dae-6c9eaf851ed5.webp?v=1749624767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_7175fbe6-1420-4598-8cec-8b78b3a248c4.webp?v=1749625204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_a10bc03e-0c6b-4c1d-8fab-2c3c01208b91.webp?v=1749625207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_7d70db38-9a4c-4fc4-96dd-1350ba20232b.webp?v=1749694029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_2f7e59dd-7306-46d6-9cbc-d43a5bc4fcdd.webp?v=1749694030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_8bb11e7f-1f41-4913-b6b1-1c66d1024719.webp?v=1749694030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_ed4b5cb2-13fd-44d3-8dc1-03ef8b5bae97.webp?v=1749694031","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_75d30543-1f4f-4de5-b978-752c4c86498c.webp?v=1749694032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_fc4e88bf-ad82-41c6-ba7e-122978601a1f.webp?v=1749694032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_0780aba7-13c4-4cbd-8b96-13d4b7282d4e.webp?v=1749694032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_0eada045-9c19-4444-959a-388bc9c9567a.webp?v=1749694033"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1.webp?v=1749623516","options":["color"],"media":[{"alt":null,"id":25689634177123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1.webp?v=1749623516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1.webp?v=1749623516","width":2000},{"alt":null,"id":25689634537571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811.webp?v=1749623516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811.webp?v=1749623516","width":2000},{"alt":null,"id":25689634734179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a.webp?v=1749623517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a.webp?v=1749623517","width":2000},{"alt":null,"id":25689634930787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802.webp?v=1749623517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802.webp?v=1749623517","width":2000},{"alt":null,"id":25689635061859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf.webp?v=1749623518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf.webp?v=1749623518","width":2000},{"alt":null,"id":25689635258467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a.webp?v=1749623519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a.webp?v=1749623519","width":2000},{"alt":null,"id":25689635520611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c.webp?v=1749623519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c.webp?v=1749623519","width":2000},{"alt":null,"id":25689635717219,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a.webp?v=1749623520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a.webp?v=1749623520","width":2000},{"alt":null,"id":25689844023395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_b4860d12-bcb6-4c6d-be73-dfd1ecee93cc.webp?v=1749624763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_b4860d12-bcb6-4c6d-be73-dfd1ecee93cc.webp?v=1749624763","width":2000},{"alt":null,"id":25689844318307,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_9c29d481-eea3-431e-8e4a-b0494c341aef.webp?v=1749624764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_9c29d481-eea3-431e-8e4a-b0494c341aef.webp?v=1749624764","width":2000},{"alt":null,"id":25689844580451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_4b1fb422-2944-486f-8e0a-69f807556cd0.webp?v=1749624764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_4b1fb422-2944-486f-8e0a-69f807556cd0.webp?v=1749624764","width":2000},{"alt":null,"id":25689844777059,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_f44c4d17-c887-4788-af23-4f5f26d85744.webp?v=1749624765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_f44c4d17-c887-4788-af23-4f5f26d85744.webp?v=1749624765","width":2000},{"alt":null,"id":25689845006435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_529f2089-2807-4016-ac47-1aff22ec30ac.webp?v=1749624765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_529f2089-2807-4016-ac47-1aff22ec30ac.webp?v=1749624765","width":2000},{"alt":null,"id":25689845137507,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_82183fd8-0bdb-4413-9c80-5c28b3b16539.webp?v=1749624766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_82183fd8-0bdb-4413-9c80-5c28b3b16539.webp?v=1749624766","width":2000},{"alt":null,"id":25689845432419,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_950421da-4d03-46ed-90cf-786c5efb45a9.webp?v=1749624766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_950421da-4d03-46ed-90cf-786c5efb45a9.webp?v=1749624766","width":2000},{"alt":null,"id":25689845596259,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_9a48c9fe-a3d0-426f-9dae-6c9eaf851ed5.webp?v=1749624767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_9a48c9fe-a3d0-426f-9dae-6c9eaf851ed5.webp?v=1749624767","width":2000},{"alt":null,"id":25689893568611,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204","width":2000},{"alt":null,"id":25689893732451,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_7175fbe6-1420-4598-8cec-8b78b3a248c4.webp?v=1749625204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_7175fbe6-1420-4598-8cec-8b78b3a248c4.webp?v=1749625204","width":2000},{"alt":null,"id":25689893896291,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205","width":2000},{"alt":null,"id":25689894125667,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205","width":2000},{"alt":null,"id":25689894355043,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206","width":2000},{"alt":null,"id":25689894617187,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_a10bc03e-0c6b-4c1d-8fab-2c3c01208b91.webp?v=1749625207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_a10bc03e-0c6b-4c1d-8fab-2c3c01208b91.webp?v=1749625207","width":2000},{"alt":null,"id":25689894846563,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207","width":2000},{"alt":null,"id":25689895043171,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208","width":2000},{"alt":null,"id":25692795437155,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_7d70db38-9a4c-4fc4-96dd-1350ba20232b.webp?v=1749694029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_7d70db38-9a4c-4fc4-96dd-1350ba20232b.webp?v=1749694029","width":2000},{"alt":null,"id":25692796190819,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_2f7e59dd-7306-46d6-9cbc-d43a5bc4fcdd.webp?v=1749694030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_2f7e59dd-7306-46d6-9cbc-d43a5bc4fcdd.webp?v=1749694030","width":2000},{"alt":null,"id":25692796682339,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_8bb11e7f-1f41-4913-b6b1-1c66d1024719.webp?v=1749694030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_8bb11e7f-1f41-4913-b6b1-1c66d1024719.webp?v=1749694030","width":2000},{"alt":null,"id":25692796911715,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_ed4b5cb2-13fd-44d3-8dc1-03ef8b5bae97.webp?v=1749694031"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586f87064d6e14664ac20f6a3bc4e365403a148c_ed4b5cb2-13fd-44d3-8dc1-03ef8b5bae97.webp?v=1749694031","width":2000},{"alt":null,"id":25692797108323,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_75d30543-1f4f-4de5-b978-752c4c86498c.webp?v=1749694032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_75d30543-1f4f-4de5-b978-752c4c86498c.webp?v=1749694032","width":2000},{"alt":null,"id":25692797632611,"position":30,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_fc4e88bf-ad82-41c6-ba7e-122978601a1f.webp?v=1749694032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_fc4e88bf-ad82-41c6-ba7e-122978601a1f.webp?v=1749694032","width":2000},{"alt":null,"id":25692797829219,"position":31,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_0780aba7-13c4-4cbd-8b96-13d4b7282d4e.webp?v=1749694032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8744cb41bf56eef70ccf655cb60a5d0d2b7802_0780aba7-13c4-4cbd-8b96-13d4b7282d4e.webp?v=1749694032","width":2000},{"alt":null,"id":25692798287971,"position":32,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_0eada045-9c19-4444-959a-388bc9c9567a.webp?v=1749694033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_0eada045-9c19-4444-959a-388bc9c9567a.webp?v=1749694033","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43444961607779,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008020615267,"product_id":7815651983459,"position":20,"created_at":"2025-06-11T15:00:04+08:00","updated_at":"2025-06-11T15:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205","variant_ids":[43444961607779]},"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-EG13","featured_media":{"alt":null,"id":25689894125667,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444965965923,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008022483043,"product_id":7815651983459,"position":24,"created_at":"2025-06-11T15:00:06+08:00","updated_at":"2025-06-11T15:00:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208","variant_ids":[43444965965923]},"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-EG13","featured_media":{"alt":null,"id":25689895043171,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f796ad897cf6915557a39645eaef5f7d71f5d36a_ec7e2329-32e1-48da-8621-6326b4b4fb6a.webp?v=1749625208"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444965998691,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01245O9-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008020123747,"product_id":7815651983459,"position":19,"created_at":"2025-06-11T15:00:03+08:00","updated_at":"2025-06-11T15:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205","variant_ids":[43444965998691]},"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-EG13","featured_media":{"alt":null,"id":25689893896291,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7e5b7b930f0d254c97f823568e1f1077183811_fa1f2ecb-3376-4a8d-b75a-326318b5ba8e.webp?v=1749625205"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444966064227,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01245R4-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008021925987,"product_id":7815651983459,"position":23,"created_at":"2025-06-11T15:00:05+08:00","updated_at":"2025-06-11T15:00:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207","variant_ids":[43444966064227]},"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-EG13","featured_media":{"alt":null,"id":25689894846563,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/895c42df32484994f06fc645ab85fa630ba2c0b1_778b9836-ab3c-482f-9d1c-19c0fb64519b.webp?v=1749625207"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444966096995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0124552-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008019271779,"product_id":7815651983459,"position":17,"created_at":"2025-06-11T15:00:02+08:00","updated_at":"2025-06-11T15:00:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204","variant_ids":[43444966096995]},"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-EG13","featured_media":{"alt":null,"id":25689893568611,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6778de72b0189eda89a4fe35c8a51ef7d16d2ddf_6d9e6d68-3338-4330-9ae1-114fff4fccc7.webp?v=1749625204"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444966162531,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01245O8-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008021008483,"product_id":7815651983459,"position":21,"created_at":"2025-06-11T15:00:04+08:00","updated_at":"2025-06-11T15:00:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206","variant_ids":[43444966162531]},"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-EG13","featured_media":{"alt":null,"id":25689894355043,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74537db8b81d6401d82125d397aafbf60b85013a_291e06e7-6436-4391-9460-15567e0b7d16.webp?v=1749625206"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43444961607779,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-EG13","requires_shipping":true,"taxable":true,"featured_image":{"id":34008020615267,"product_id":7815651983459,"position":20,"created_at":"2025-06-11T15:00:04+08:00","updated_at":"2025-06-11T15:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205","variant_ids":[43444961607779]},"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-EG13","featured_media":{"alt":null,"id":25689894125667,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd36ca83626705836bcb806980fda0dde48c823a_d0d7a3c8-4db6-4f56-8829-c9496d148eb9.webp?v=1749625205"}},"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: "停產" }