$product = {"id":7868426813539,"title":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對","handle":"iphone-17-pro-max-solidx-ea91","description":null,"published_at":"2025-09-10T01:22:33+08:00","created_at":"2025-08-26T16:43:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 17 Pro Max","merge","reseller-songsongmeow"],"price":125000,"price_min":125000,"price_max":125000,"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":43635001196643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093072995,"product_id":7868426813539,"position":10,"created_at":"2026-07-08T17:58:12+08:00","updated_at":"2026-07-08T17:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695","variant_ids":[43635001196643]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-EA91","featured_media":{"alt":null,"id":27717886541923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003293795,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213094088803,"product_id":7868426813539,"position":14,"created_at":"2026-07-08T17:58:15+08:00","updated_at":"2026-07-08T17:58:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697","variant_ids":[43635003293795]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-EA91","featured_media":{"alt":null,"id":27717887557731,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003326563,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093302371,"product_id":7868426813539,"position":11,"created_at":"2026-07-08T17:58:13+08:00","updated_at":"2026-07-08T17:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695","variant_ids":[43635003326563]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-EA91","featured_media":{"alt":null,"id":27717886771299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003359331,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092057187,"product_id":7868426813539,"position":5,"created_at":"2026-07-08T17:58:10+08:00","updated_at":"2026-07-08T17:58:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692","variant_ids":[43635003359331]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-EA91","featured_media":{"alt":null,"id":27717885526115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003392099,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093793891,"product_id":7868426813539,"position":13,"created_at":"2026-07-08T17:58:14+08:00","updated_at":"2026-07-08T17:58:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696","variant_ids":[43635003392099]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-EA91","featured_media":{"alt":null,"id":27717887262819,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003424867,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092483171,"product_id":7868426813539,"position":7,"created_at":"2026-07-08T17:58:11+08:00","updated_at":"2026-07-08T17:58:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693","variant_ids":[43635003424867]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-EA91","featured_media":{"alt":null,"id":27717885952099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799204528227,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213091860579,"product_id":7868426813539,"position":4,"created_at":"2026-07-08T17:58:09+08:00","updated_at":"2026-07-08T17:58:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691","variant_ids":[43799204528227]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-EA91","featured_media":{"alt":null,"id":27717885329507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799204560995,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093531747,"product_id":7868426813539,"position":12,"created_at":"2026-07-08T17:58:14+08:00","updated_at":"2026-07-08T17:58:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696","variant_ids":[43799204560995]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-EA91","featured_media":{"alt":null,"id":27717887000675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199487602787,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092286563,"product_id":7868426813539,"position":6,"created_at":"2026-07-08T17:58:10+08:00","updated_at":"2026-07-08T17:58:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692","variant_ids":[44199487602787]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-EA91","featured_media":{"alt":null,"id":27717885755491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199488585827,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213094613091,"product_id":7868426813539,"position":16,"created_at":"2026-07-08T17:58:16+08:00","updated_at":"2026-07-08T17:58:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698","variant_ids":[44199488585827]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-EA91","featured_media":{"alt":null,"id":27717888049251,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199489175651,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092712547,"product_id":7868426813539,"position":8,"created_at":"2026-07-08T17:58:11+08:00","updated_at":"2026-07-08T17:58:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693","variant_ids":[44199489175651]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-EA91","featured_media":{"alt":null,"id":27717886181475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263795294307,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092909155,"product_id":7868426813539,"position":9,"created_at":"2026-07-08T17:58:12+08:00","updated_at":"2026-07-08T17:58:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694","variant_ids":[44263795294307]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-EA91","featured_media":{"alt":null,"id":27717886378083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_aa82b328-db0a-42d0-aa45-4efdde6f0002.png?v=1756197836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_a47b762d-966e-4454-acb7-7cba7b2a20bb.png?v=1779423821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_ad392415-6ae1-4a2b-8d02-a0c5da765150.png?v=1781666200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8c7f8c715a1dd9378ad432f6a376ced83e5e9ee.webp?v=1783504697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_aa82b328-db0a-42d0-aa45-4efdde6f0002.png?v=1756197836","options":["color"],"media":[{"alt":null,"id":25961271066723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_aa82b328-db0a-42d0-aa45-4efdde6f0002.png?v=1756197836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_aa82b328-db0a-42d0-aa45-4efdde6f0002.png?v=1756197836","width":2000},{"alt":null,"id":27381864333411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_a47b762d-966e-4454-acb7-7cba7b2a20bb.png?v=1779423821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_a47b762d-966e-4454-acb7-7cba7b2a20bb.png?v=1779423821","width":2000},{"alt":null,"id":27528941764707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_ad392415-6ae1-4a2b-8d02-a0c5da765150.png?v=1781666200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-EA91_ad392415-6ae1-4a2b-8d02-a0c5da765150.png?v=1781666200","width":2000},{"alt":null,"id":27717885329507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691","width":2000},{"alt":null,"id":27717885526115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692","width":2000},{"alt":null,"id":27717885755491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692","width":2000},{"alt":null,"id":27717885952099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693","width":2000},{"alt":null,"id":27717886181475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693","width":2000},{"alt":null,"id":27717886378083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694","width":2000},{"alt":null,"id":27717886541923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695","width":2000},{"alt":null,"id":27717886771299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695","width":2000},{"alt":null,"id":27717887000675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696","width":2000},{"alt":null,"id":27717887262819,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696","width":2000},{"alt":null,"id":27717887557731,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697","width":2000},{"alt":null,"id":27717887787107,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8c7f8c715a1dd9378ad432f6a376ced83e5e9ee.webp?v=1783504697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8c7f8c715a1dd9378ad432f6a376ced83e5e9ee.webp?v=1783504697","width":2000},{"alt":null,"id":27717888049251,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43635001196643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093072995,"product_id":7868426813539,"position":10,"created_at":"2026-07-08T17:58:12+08:00","updated_at":"2026-07-08T17:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695","variant_ids":[43635001196643]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-EA91","featured_media":{"alt":null,"id":27717886541923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003293795,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213094088803,"product_id":7868426813539,"position":14,"created_at":"2026-07-08T17:58:15+08:00","updated_at":"2026-07-08T17:58:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697","variant_ids":[43635003293795]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-EA91","featured_media":{"alt":null,"id":27717887557731,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/909ee00da0cc59a6781187438b28ac34c4f16ba3.webp?v=1783504697"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003326563,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093302371,"product_id":7868426813539,"position":11,"created_at":"2026-07-08T17:58:13+08:00","updated_at":"2026-07-08T17:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695","variant_ids":[43635003326563]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-EA91","featured_media":{"alt":null,"id":27717886771299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fddb98e9d8819a2cc14f7d36fc21d9e2430f8c2c.webp?v=1783504695"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003359331,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092057187,"product_id":7868426813539,"position":5,"created_at":"2026-07-08T17:58:10+08:00","updated_at":"2026-07-08T17:58:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692","variant_ids":[43635003359331]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-EA91","featured_media":{"alt":null,"id":27717885526115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a9f7579d0ae0ee59f7853bdbaa996fe62ec0756.webp?v=1783504692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003392099,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093793891,"product_id":7868426813539,"position":13,"created_at":"2026-07-08T17:58:14+08:00","updated_at":"2026-07-08T17:58:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696","variant_ids":[43635003392099]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-EA91","featured_media":{"alt":null,"id":27717887262819,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a8ddf3d6ab70d96e0e1fed0c9b6d441724f4064.webp?v=1783504696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635003424867,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092483171,"product_id":7868426813539,"position":7,"created_at":"2026-07-08T17:58:11+08:00","updated_at":"2026-07-08T17:58:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693","variant_ids":[43635003424867]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-EA91","featured_media":{"alt":null,"id":27717885952099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af33cf14647ffae4b30c6493ed1ad33f89f4524.webp?v=1783504693"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799204528227,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213091860579,"product_id":7868426813539,"position":4,"created_at":"2026-07-08T17:58:09+08:00","updated_at":"2026-07-08T17:58:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691","variant_ids":[43799204528227]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-EA91","featured_media":{"alt":null,"id":27717885329507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443f5d4d7f3ba6a203b2e31b14e639467e1e7fb.webp?v=1783504691"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799204560995,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093531747,"product_id":7868426813539,"position":12,"created_at":"2026-07-08T17:58:14+08:00","updated_at":"2026-07-08T17:58:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696","variant_ids":[43799204560995]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-EA91","featured_media":{"alt":null,"id":27717887000675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e2f513912a6afbba6a6520a3a98e0836c3e1ec.webp?v=1783504696"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199487602787,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092286563,"product_id":7868426813539,"position":6,"created_at":"2026-07-08T17:58:10+08:00","updated_at":"2026-07-08T17:58:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692","variant_ids":[44199487602787]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-EA91","featured_media":{"alt":null,"id":27717885755491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac375a957d331f2c79c3beefc505ec9ad37198d.webp?v=1783504692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199488585827,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213094613091,"product_id":7868426813539,"position":16,"created_at":"2026-07-08T17:58:16+08:00","updated_at":"2026-07-08T17:58:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698","variant_ids":[44199488585827]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-EA91","featured_media":{"alt":null,"id":27717888049251,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de05e2c1f98d7348a0a6bdb751a0a62b8c133360.webp?v=1783504698"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199489175651,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092712547,"product_id":7868426813539,"position":8,"created_at":"2026-07-08T17:58:11+08:00","updated_at":"2026-07-08T17:58:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693","variant_ids":[44199489175651]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-EA91","featured_media":{"alt":null,"id":27717886181475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caab2cd1aa53283c8227aec347b8729250c43e64.webp?v=1783504693"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263795294307,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213092909155,"product_id":7868426813539,"position":9,"created_at":"2026-07-08T17:58:12+08:00","updated_at":"2026-07-08T17:58:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694","variant_ids":[44263795294307]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-EA91","featured_media":{"alt":null,"id":27717886378083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2af9a2c05320940722eb44a0c7aeeadbca44aa84.webp?v=1783504694"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43635001196643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-EA91","requires_shipping":true,"taxable":true,"featured_image":{"id":36213093072995,"product_id":7868426813539,"position":10,"created_at":"2026-07-08T17:58:12+08:00","updated_at":"2026-07-08T17:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695","variant_ids":[43635001196643]},"available":true,"name":"iPhone 17 Pro Max SolidX 爽爽貓 by SECOND 糖果派對 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-EA91","featured_media":{"alt":null,"id":27717886541923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176c9742a7c501e32b18d943cedea6142fb0687f.webp?v=1783504695"}},"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: "停產"
}