How can I hide sold out variants without using an app?

Hello! I have been trying to get this to work for a while. I’m still doing my best to learn liquid and am learning as I go. I thought I would reach out about this one for some advice!

Currently, we’re using an app to hide sold-out variants from our site, but I know there are ways to hide them without using an app. The store theme is Archetype Impulse, and so none of the tutorials I have found work for it. I was hoping I could reach out here for some more insight!

Hii, @kaityk
Provide me your store URL and a proper screenshot so,
I can see your problem and give you a proper solution.
Thank You.

I’m also looking for a solution to this (more so that I want to create variants ahead of time, keep their stock at 0 so they aren’t visible, and then when it’s time to make them live, add the appropriate inventory so they’re visible/live).