Display “Out of stock” on category pages

If an item is out of stock there is no indication of this on the category page. Customers need to visit the individual product page to discover the availability. This code adds a line to the category page to say an item is out of stock. Change the message if you prefer “Sold out” or some other term. A css class called .out-of-stock has been included to allow for customising the styling.