Show Product Out Of Stock In Grid List

How can I get the site to show when a product is out of stock in the grid list. I have tried the suggestion made in set


but it seems to have no effect. Could it be due to changes in cscart since 2017 ? Hoping someone can guide me on the modern way of achieving this.

What CS-Cart version and theme do you use?