A simple add-on to let you display buy button on product list pages. This button will change if stock is zero and prevent the product from being added to cart.
This is a CORE file change and will replace your existing files.
Do not use if you do not like to change core files.
If you are happy to make the changes either compare the file with yours and update your file or Simply copy all files into relevant sections.