Two kinds of product
A Telegram shop sells both kinds. Some products are a finite pile you can count: eleven candles on a shelf. Others are made when ordered, or are a file that never runs out. Counting the first protects you from overselling. Counting the second invents a limit that does not exist and stops sales at zero for no reason.
The failure worth avoiding
A product created without a stock decision can end up counted at zero, which presents it as sold out while you are perfectly able to make another. Nothing errors, nobody is told, and the buyer simply leaves. That is the expensive version of this setting, because it looks like no demand rather than like a misconfiguration.
Why sold-out items stay on the shelf
An out-of-stock product remains visible in your Telegram storefront instead of disappearing. That is deliberate: a buyer searching for it finds it and learns it is temporarily gone, rather than concluding you never sold it. Hiding it also loses the link anybody shared.
Variants count separately
Stock is held per variant, so the medium selling out does not take the large with it. If you track stock at the product level on something that has sizes, you end up either overselling one size or hiding all of them.
Keeping the numbers true
Stock in the shop is only honest if you update it when something leaves by another route: a market stall, a phone order, a friend. The CSV import is the practical way to do that in bulk, since reimporting your sheet corrects stock across the catalogue at once rather than product by product.