There doesn’t seem to be any distinct difference to highlight out of stock options in the dropdown menu. It would be possible by editing the site’s Liquid code, but it’s better for you to switch this to a swatch also so that the above CSS code works with it automatically.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Hide out of stock variants on Canopy Theme | 21 | 164 | November 1, 2025 | |
| Code to Hide variants with 0 stock level | 13 | 239 | March 27, 2025 | |
| Hide specific variants from a product - Dawn 9.0.0 | 3 | 94 | November 14, 2024 | |
| Trying to hide variants that are out of stock | 7 | 133 | January 9, 2026 | |
| Change color of drop-down out of stock variants | 14 | 117 | June 28, 2022 |