$product = {"id":7988602568803,"title":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent","handle":"airpods-4-airpods-case-vr09","description":null,"published_at":"2026-04-02T15:01:18+08:00","created_at":"2026-03-31T14:34:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-vangoghmuseum","device-AirPods 4","merge","reseller-vangoghmuseum"],"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":44092237512803,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"ABT013403P-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613492835,"product_id":7988602568803,"position":18,"created_at":"2026-04-02T11:23:54+08:00","updated_at":"2026-04-02T11:23:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236","variant_ids":[44092237512803]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013403P-VR09","featured_media":{"alt":null,"id":27113235087459,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238200931,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"ABT013403O-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613853283,"product_id":7988602568803,"position":20,"created_at":"2026-04-02T11:23:55+08:00","updated_at":"2026-04-02T11:23:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237","variant_ids":[44092238200931]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013403O-VR09","featured_media":{"alt":null,"id":27113235447907,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238233699,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01340P2-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613656675,"product_id":7988602568803,"position":19,"created_at":"2026-04-02T11:23:55+08:00","updated_at":"2026-04-02T11:23:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237","variant_ids":[44092238233699]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - 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":"ABT01340P2-VR09","featured_media":{"alt":null,"id":27113235251299,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238266467,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"ABT013400A-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614967395,"product_id":7988602568803,"position":24,"created_at":"2026-04-02T11:23:57+08:00","updated_at":"2026-04-02T11:23:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239","variant_ids":[44092238266467]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013400A-VR09","featured_media":{"alt":null,"id":27113236562019,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238299235,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01340O8-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614770787,"product_id":7988602568803,"position":23,"created_at":"2026-04-02T11:23:57+08:00","updated_at":"2026-04-02T11:23:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239","variant_ids":[44092238299235]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - 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":"ABT01340O8-VR09","featured_media":{"alt":null,"id":27113236365411,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238332003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0134052-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614246499,"product_id":7988602568803,"position":22,"created_at":"2026-04-02T11:23:56+08:00","updated_at":"2026-04-02T11:23:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238","variant_ids":[44092238332003]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0134052-VR09","featured_media":{"alt":null,"id":27113235906659,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238364771,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01340R4-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613328995,"product_id":7988602568803,"position":17,"created_at":"2026-04-02T11:23:53+08:00","updated_at":"2026-04-02T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235","variant_ids":[44092238364771]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01340R4-VR09","featured_media":{"alt":null,"id":27113234923619,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238397539,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"ABT013400B-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614017123,"product_id":7988602568803,"position":21,"created_at":"2026-04-02T11:23:56+08:00","updated_at":"2026-04-02T11:23:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237","variant_ids":[44092238397539]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013400B-VR09","featured_media":{"alt":null,"id":27113235611747,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d.webp?v=1774938896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88.webp?v=1774938896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55.webp?v=1774938897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a.webp?v=1774938897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e.webp?v=1774938898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a.webp?v=1774938898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2.webp?v=1774938899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9.webp?v=1774938899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_5fb063ac-d5ff-4747-93bf-e34d5edf2b59.webp?v=1775019263","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_3948b9de-905f-4716-9133-7207cbaafc8e.webp?v=1775019264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_b5825bc6-1838-49f6-9cd7-349a444d0622.webp?v=1775019264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_9b81a990-749e-4201-9f5c-3bc5c08aadc4.webp?v=1775019265","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_64a42097-2da6-48f4-8219-50ecd7d30a27.webp?v=1775019265","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_35b2573c-d05b-4b4f-83cc-18c605e33792.webp?v=1775019266","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_5e419ea3-9033-4d94-b829-b9a95b848d77.webp?v=1775019267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_2e50f1c8-4a0e-4d1d-877a-99f17fe5746a.webp?v=1775019267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d.webp?v=1774938896","options":["color"],"media":[{"alt":null,"id":27102139318371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d.webp?v=1774938896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d.webp?v=1774938896","width":2000},{"alt":null,"id":27102139449443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88.webp?v=1774938896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88.webp?v=1774938896","width":2000},{"alt":null,"id":27102139646051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55.webp?v=1774938897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55.webp?v=1774938897","width":2000},{"alt":null,"id":27102139777123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a.webp?v=1774938897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a.webp?v=1774938897","width":2000},{"alt":null,"id":27102139973731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e.webp?v=1774938898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e.webp?v=1774938898","width":2000},{"alt":null,"id":27102140137571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a.webp?v=1774938898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a.webp?v=1774938898","width":2000},{"alt":null,"id":27102140301411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2.webp?v=1774938899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2.webp?v=1774938899","width":2000},{"alt":null,"id":27102140465251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9.webp?v=1774938899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9.webp?v=1774938899","width":2000},{"alt":null,"id":27107457990755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_5fb063ac-d5ff-4747-93bf-e34d5edf2b59.webp?v=1775019263"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_5fb063ac-d5ff-4747-93bf-e34d5edf2b59.webp?v=1775019263","width":2000},{"alt":null,"id":27107458121827,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_3948b9de-905f-4716-9133-7207cbaafc8e.webp?v=1775019264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_3948b9de-905f-4716-9133-7207cbaafc8e.webp?v=1775019264","width":2000},{"alt":null,"id":27107458318435,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_b5825bc6-1838-49f6-9cd7-349a444d0622.webp?v=1775019264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_b5825bc6-1838-49f6-9cd7-349a444d0622.webp?v=1775019264","width":2000},{"alt":null,"id":27107458515043,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_9b81a990-749e-4201-9f5c-3bc5c08aadc4.webp?v=1775019265"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_9b81a990-749e-4201-9f5c-3bc5c08aadc4.webp?v=1775019265","width":2000},{"alt":null,"id":27107458744419,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_64a42097-2da6-48f4-8219-50ecd7d30a27.webp?v=1775019265"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_64a42097-2da6-48f4-8219-50ecd7d30a27.webp?v=1775019265","width":2000},{"alt":null,"id":27107458908259,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_35b2573c-d05b-4b4f-83cc-18c605e33792.webp?v=1775019266"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_35b2573c-d05b-4b4f-83cc-18c605e33792.webp?v=1775019266","width":2000},{"alt":null,"id":27107459104867,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_5e419ea3-9033-4d94-b829-b9a95b848d77.webp?v=1775019267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_5e419ea3-9033-4d94-b829-b9a95b848d77.webp?v=1775019267","width":2000},{"alt":null,"id":27107459399779,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_2e50f1c8-4a0e-4d1d-877a-99f17fe5746a.webp?v=1775019267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_2e50f1c8-4a0e-4d1d-877a-99f17fe5746a.webp?v=1775019267","width":2000},{"alt":null,"id":27113234923619,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235","width":2000},{"alt":null,"id":27113235087459,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236","width":2000},{"alt":null,"id":27113235251299,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237","width":2000},{"alt":null,"id":27113235447907,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237","width":2000},{"alt":null,"id":27113235611747,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237","width":2000},{"alt":null,"id":27113235906659,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238","width":2000},{"alt":null,"id":27113236365411,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239","width":2000},{"alt":null,"id":27113236562019,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44092237512803,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"ABT013403P-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613492835,"product_id":7988602568803,"position":18,"created_at":"2026-04-02T11:23:54+08:00","updated_at":"2026-04-02T11:23:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236","variant_ids":[44092237512803]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013403P-VR09","featured_media":{"alt":null,"id":27113235087459,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238200931,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"ABT013403O-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613853283,"product_id":7988602568803,"position":20,"created_at":"2026-04-02T11:23:55+08:00","updated_at":"2026-04-02T11:23:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237","variant_ids":[44092238200931]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013403O-VR09","featured_media":{"alt":null,"id":27113235447907,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b7f9000b63fea1ab9faa374fa66e4c959cc585a_e59e836d-7133-4947-859e-4d3f5bc99af1.webp?v=1775100237"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238233699,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01340P2-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613656675,"product_id":7988602568803,"position":19,"created_at":"2026-04-02T11:23:55+08:00","updated_at":"2026-04-02T11:23:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237","variant_ids":[44092238233699]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - 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":"ABT01340P2-VR09","featured_media":{"alt":null,"id":27113235251299,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a5d74e5cc3a7d91e5f9e35d3acedbf3741f61a_41c7777c-2293-40e0-8aec-0c462ba8176f.webp?v=1775100237"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238266467,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"ABT013400A-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614967395,"product_id":7988602568803,"position":24,"created_at":"2026-04-02T11:23:57+08:00","updated_at":"2026-04-02T11:23:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239","variant_ids":[44092238266467]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013400A-VR09","featured_media":{"alt":null,"id":27113236562019,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189fe8f18ab60d01b383b5c9e2706f6b8e0edf88_9b7e71b6-61f8-4cfe-98d3-600e945499e4.webp?v=1775100239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238299235,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01340O8-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614770787,"product_id":7988602568803,"position":23,"created_at":"2026-04-02T11:23:57+08:00","updated_at":"2026-04-02T11:23:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239","variant_ids":[44092238299235]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - 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":"ABT01340O8-VR09","featured_media":{"alt":null,"id":27113236365411,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/748885c2e209181d2941289ba00d539bc8f29ce9_dc009284-e4f0-4b13-be76-ffd6910833a6.webp?v=1775100239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238332003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0134052-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614246499,"product_id":7988602568803,"position":22,"created_at":"2026-04-02T11:23:56+08:00","updated_at":"2026-04-02T11:23:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238","variant_ids":[44092238332003]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0134052-VR09","featured_media":{"alt":null,"id":27113235906659,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d076b7b0256f59cd8a763c2608fdbae8f31a6d4e_581d52fc-d759-473d-be37-ab9a03ccb85d.webp?v=1775100238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238364771,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01340R4-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613328995,"product_id":7988602568803,"position":17,"created_at":"2026-04-02T11:23:53+08:00","updated_at":"2026-04-02T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235","variant_ids":[44092238364771]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01340R4-VR09","featured_media":{"alt":null,"id":27113234923619,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/123810ddfbac4294b30a935f489a528fa3919bc2_e6d0e987-d317-47d2-a9e2-bde605fabe68.webp?v=1775100235"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092238397539,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"ABT013400B-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580614017123,"product_id":7988602568803,"position":21,"created_at":"2026-04-02T11:23:56+08:00","updated_at":"2026-04-02T11:23:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237","variant_ids":[44092238397539]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013400B-VR09","featured_media":{"alt":null,"id":27113235611747,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c8982bcbe68bb67105f3bbfd55e6bc55d65fe55_e381b65b-8db7-40b8-8894-4eb34d4e06ac.webp?v=1775100237"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44092237512803,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"ABT013403P-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580613492835,"product_id":7988602568803,"position":18,"created_at":"2026-04-02T11:23:54+08:00","updated_at":"2026-04-02T11:23:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236","variant_ids":[44092237512803]},"available":true,"name":"AirPods 4 AirPods Case 梵谷博物館 Amandier en fleurs - Transparent - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT013403P-VR09","featured_media":{"alt":null,"id":27113235087459,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c1557323b8ef91a8a8333ade75f8bc2290d243d_880ee010-4537-4c6e-97eb-de8a92329f5c.webp?v=1775100236"}},"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: "停產"
}