Allow customers to select out-of-stock variants by adjusting the Sold out options portion of your product page template settings.
- In the theme editor (Customize), open the Theme settings
- Open Products
- Scroll down to Sold out options then select Selectable from the dropdown
- Save