$product = {"id":6983681146979,"title":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics","handle":"airpods-pro-2-airpods-case-pm19","description":"","published_at":"2023-08-02T22:09:52+08:00","created_at":"2023-07-28T12:38:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-AirPods Pro 2","merge","reseller-nba"],"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":40596618575971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233853027,"product_id":6983681146979,"position":23,"created_at":"2026-07-02T12:10:46+08:00","updated_at":"2026-07-02T12:10:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448","variant_ids":[40596618575971]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Black","public_title":"Black","options":["Black"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-PM19","featured_media":{"alt":null,"id":27657107308643,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618641507,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0126957-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237654115,"product_id":6983681146979,"position":29,"created_at":"2026-07-02T12:10:54+08:00","updated_at":"2026-07-02T12:10:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456","variant_ids":[40596618641507]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126957-PM19","featured_media":{"alt":null,"id":27657111109731,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618707043,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01269O8-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236965987,"product_id":6983681146979,"position":27,"created_at":"2026-07-02T12:10:52+08:00","updated_at":"2026-07-02T12:10:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454","variant_ids":[40596618707043]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O8-PM19","featured_media":{"alt":null,"id":27657110421603,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618772579,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01269O9-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236277859,"product_id":6983681146979,"position":26,"created_at":"2026-07-02T12:10:50+08:00","updated_at":"2026-07-02T12:10:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452","variant_ids":[40596618772579]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O9-PM19","featured_media":{"alt":null,"id":27657109700707,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618870883,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152235229283,"product_id":6983681146979,"position":25,"created_at":"2026-07-02T12:10:49+08:00","updated_at":"2026-07-02T12:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451","variant_ids":[40596618870883]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-PM19","featured_media":{"alt":null,"id":27657109078115,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618903651,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01269P2-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152234082403,"product_id":6983681146979,"position":24,"created_at":"2026-07-02T12:10:48+08:00","updated_at":"2026-07-02T12:10:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450","variant_ids":[40596618903651]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P2-PM19","featured_media":{"alt":null,"id":27657107538019,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618936419,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01269R4-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237293667,"product_id":6983681146979,"position":28,"created_at":"2026-07-02T12:10:53+08:00","updated_at":"2026-07-02T12:10:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456","variant_ids":[40596618936419]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269R4-PM19","featured_media":{"alt":null,"id":27657110814819,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM19.png?v=1737530194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170.webp?v=1782202769","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2.webp?v=1782202770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658.webp?v=1782202771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37.webp?v=1782202772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e.webp?v=1782202773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765.webp?v=1782202773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a.webp?v=1782202774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d949c1b6-f299-4363-83cf-e6799275c6b6.webp?v=1782956815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_4ecf38dd-d613-4b15-a8af-cc8a48e522cc.webp?v=1782956816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_a4df991f-13c0-4b6b-b11f-7644d603cf68.webp?v=1782956816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_b1589faf-a4cc-4d88-b2ff-168997088aca.webp?v=1782956817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_c77da440-97ce-4058-bffb-b8ed1b21e307.webp?v=1782956818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_c57b30e5-3f85-4346-849a-b7b370bc3546.webp?v=1782956820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_70df7b13-cdac-4cc9-bb88-4ff2735c5f85.webp?v=1782956821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_1b62306a-1398-47c9-88ed-4747b83f356c.webp?v=1782961058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_b6f938ee-fa00-41f1-a986-f0e522da37ea.webp?v=1782961059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_1a6c55db-e193-4413-a127-543f68ddf415.webp?v=1782961060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_8d6dd1ea-f1c2-4032-83c8-832252816155.webp?v=1782961061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_b68f05b3-f405-4152-bf61-5abb1a636234.webp?v=1782961062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_bb6a0ec4-4e84-4515-8065-d7bc7a7e9548.webp?v=1782961063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_5e3c2cd0-480c-4566-b9c6-593e11cea550.webp?v=1782961064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM19.png?v=1737530194","options":["color"],"media":[{"alt":null,"id":22636834127971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM19.png?v=1737530194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/AirPodsCaseTPE-52-269-PM19.png?v=1737530194","width":2000},{"alt":null,"id":27574100197475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170.webp?v=1782202769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170.webp?v=1782202769","width":2000},{"alt":null,"id":27574101573731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2.webp?v=1782202770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2.webp?v=1782202770","width":2000},{"alt":null,"id":27574103212131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658.webp?v=1782202771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658.webp?v=1782202771","width":2000},{"alt":null,"id":27574104031331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37.webp?v=1782202772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37.webp?v=1782202772","width":2000},{"alt":null,"id":27574104981603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e.webp?v=1782202773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e.webp?v=1782202773","width":2000},{"alt":null,"id":27574105669731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765.webp?v=1782202773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765.webp?v=1782202773","width":2000},{"alt":null,"id":27574106816611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a.webp?v=1782202774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a.webp?v=1782202774","width":2000},{"alt":null,"id":27655634288739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d949c1b6-f299-4363-83cf-e6799275c6b6.webp?v=1782956815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d949c1b6-f299-4363-83cf-e6799275c6b6.webp?v=1782956815","width":2000},{"alt":null,"id":27655634813027,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_4ecf38dd-d613-4b15-a8af-cc8a48e522cc.webp?v=1782956816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_4ecf38dd-d613-4b15-a8af-cc8a48e522cc.webp?v=1782956816","width":2000},{"alt":null,"id":27655635206243,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_a4df991f-13c0-4b6b-b11f-7644d603cf68.webp?v=1782956816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_a4df991f-13c0-4b6b-b11f-7644d603cf68.webp?v=1782956816","width":2000},{"alt":null,"id":27655635599459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_b1589faf-a4cc-4d88-b2ff-168997088aca.webp?v=1782956817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_b1589faf-a4cc-4d88-b2ff-168997088aca.webp?v=1782956817","width":2000},{"alt":null,"id":27655635861603,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_c77da440-97ce-4058-bffb-b8ed1b21e307.webp?v=1782956818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_c77da440-97ce-4058-bffb-b8ed1b21e307.webp?v=1782956818","width":2000},{"alt":null,"id":27655636058211,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_c57b30e5-3f85-4346-849a-b7b370bc3546.webp?v=1782956820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_c57b30e5-3f85-4346-849a-b7b370bc3546.webp?v=1782956820","width":2000},{"alt":null,"id":27655636287587,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_70df7b13-cdac-4cc9-bb88-4ff2735c5f85.webp?v=1782956821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_70df7b13-cdac-4cc9-bb88-4ff2735c5f85.webp?v=1782956821","width":2000},{"alt":null,"id":27656650850403,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_1b62306a-1398-47c9-88ed-4747b83f356c.webp?v=1782961058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_1b62306a-1398-47c9-88ed-4747b83f356c.webp?v=1782961058","width":2000},{"alt":null,"id":27656651047011,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_b6f938ee-fa00-41f1-a986-f0e522da37ea.webp?v=1782961059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_b6f938ee-fa00-41f1-a986-f0e522da37ea.webp?v=1782961059","width":2000},{"alt":null,"id":27656651538531,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_1a6c55db-e193-4413-a127-543f68ddf415.webp?v=1782961060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_1a6c55db-e193-4413-a127-543f68ddf415.webp?v=1782961060","width":2000},{"alt":null,"id":27656652095587,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_8d6dd1ea-f1c2-4032-83c8-832252816155.webp?v=1782961061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_8d6dd1ea-f1c2-4032-83c8-832252816155.webp?v=1782961061","width":2000},{"alt":null,"id":27656652914787,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_b68f05b3-f405-4152-bf61-5abb1a636234.webp?v=1782961062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_b68f05b3-f405-4152-bf61-5abb1a636234.webp?v=1782961062","width":2000},{"alt":null,"id":27656653930595,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_bb6a0ec4-4e84-4515-8065-d7bc7a7e9548.webp?v=1782961063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_bb6a0ec4-4e84-4515-8065-d7bc7a7e9548.webp?v=1782961063","width":2000},{"alt":null,"id":27656654946403,"position":22,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_5e3c2cd0-480c-4566-b9c6-593e11cea550.webp?v=1782961064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_5e3c2cd0-480c-4566-b9c6-593e11cea550.webp?v=1782961064","width":2000},{"alt":null,"id":27657107308643,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448","width":2000},{"alt":null,"id":27657107538019,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450","width":2000},{"alt":null,"id":27657109078115,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451","width":2000},{"alt":null,"id":27657109700707,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452","width":2000},{"alt":null,"id":27657110421603,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454","width":2000},{"alt":null,"id":27657110814819,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456","width":2000},{"alt":null,"id":27657111109731,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":40596618575971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233853027,"product_id":6983681146979,"position":23,"created_at":"2026-07-02T12:10:46+08:00","updated_at":"2026-07-02T12:10:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448","variant_ids":[40596618575971]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Black","public_title":"Black","options":["Black"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-PM19","featured_media":{"alt":null,"id":27657107308643,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618641507,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"ABT0126957-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237654115,"product_id":6983681146979,"position":29,"created_at":"2026-07-02T12:10:54+08:00","updated_at":"2026-07-02T12:10:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456","variant_ids":[40596618641507]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126957-PM19","featured_media":{"alt":null,"id":27657111109731,"position":29,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4fb7366809cb56aa6f27760422d03417b81bff2_0285b8c0-4c2a-45f9-be1d-8a0ece9ae7e4.webp?v=1782965456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618707043,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01269O8-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236965987,"product_id":6983681146979,"position":27,"created_at":"2026-07-02T12:10:52+08:00","updated_at":"2026-07-02T12:10:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454","variant_ids":[40596618707043]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O8-PM19","featured_media":{"alt":null,"id":27657110421603,"position":27,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2419b3da5f5335a0c98f6af69d8f39ebda1658_bdc88296-849e-4950-a93f-d9824d489314.webp?v=1782965454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618772579,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01269O9-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152236277859,"product_id":6983681146979,"position":26,"created_at":"2026-07-02T12:10:50+08:00","updated_at":"2026-07-02T12:10:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452","variant_ids":[40596618772579]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269O9-PM19","featured_media":{"alt":null,"id":27657109700707,"position":26,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d8925de1ba9900ed89ce6e251329831cfab765_00c4c720-8f5a-4be6-a696-8454902fe44b.webp?v=1782965452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618870883,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01269P1-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152235229283,"product_id":6983681146979,"position":25,"created_at":"2026-07-02T12:10:49+08:00","updated_at":"2026-07-02T12:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451","variant_ids":[40596618870883]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P1-PM19","featured_media":{"alt":null,"id":27657109078115,"position":25,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0491b95d4585d5adb4632269051ebc7713dcbc1a_3389cc95-6ca2-450c-a125-6b6495b34f52.webp?v=1782965451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618903651,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01269P2-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152234082403,"product_id":6983681146979,"position":24,"created_at":"2026-07-02T12:10:48+08:00","updated_at":"2026-07-02T12:10:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450","variant_ids":[40596618903651]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269P2-PM19","featured_media":{"alt":null,"id":27657107538019,"position":24,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/576cf238e135132819cf90ca165d0048128dd46e_30df53a9-ea53-4424-afa3-9921e7862ee9.webp?v=1782965450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40596618936419,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01269R4-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152237293667,"product_id":6983681146979,"position":28,"created_at":"2026-07-02T12:10:53+08:00","updated_at":"2026-07-02T12:10:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456","variant_ids":[40596618936419]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01269R4-PM19","featured_media":{"alt":null,"id":27657110814819,"position":28,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e86dc5e464375dfd59aadf68a52afbbe76ce2170_8b67ac76-be30-4192-b9d4-2dbcbcb5a153.webp?v=1782965456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40596618575971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0126952-PM19","requires_shipping":true,"taxable":true,"featured_image":{"id":36152233853027,"product_id":6983681146979,"position":23,"created_at":"2026-07-02T12:10:46+08:00","updated_at":"2026-07-02T12:10:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448","variant_ids":[40596618575971]},"available":true,"name":"AirPods Pro 2 AirPods Case NBA Logo-波士頓塞爾提克 Boston Celtics - Black","public_title":"Black","options":["Black"],"price":75000,"weight":850,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0126952-PM19","featured_media":{"alt":null,"id":27657107308643,"position":23,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97d0f05680bf88ba6aba5f85a583ec6ed21cdb37_d1b3f3fe-4000-45a6-b5cf-9b9f02494247.webp?v=1782965448"}},"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: "停產" }