Shopify does not allow individual variants to be hidden. They allow entire product to be hidden. The app hides a product once total inventory (inventory of all the variants of the product) of the product are reached to inventory-threshold defined in the app.