how can I hide variants on the product page whose quantity in the store is 0. I would just like to display variants that are in stock.
Go to Settings > Product > Inventory and flag Hide out of stock items from the catalog
Note that this works if product is Out of Stock, not only 0 as availability