a simple way to remove the "add to cart" button from productinfo if quantity is = 0
1 file to edit (product_info.php)
Legend: 
Download

Report
I had some issues with getting the products_new.php No Buy Button to work in the last version. Turns out it needed to call p.products_quantity in the SQL query.
Dont forget to change products_new.php !!!!!
This file contains all previous changes needed to remove the buy now / add to cart etc, and the change to products_new.php
Thanx to adx,
he told me there was another bug in advanced search. The problem was the same than in last modification, the listing request must be modified to incorporate the product quantity.
cf package file for install
Well done (for this time)
Many apologizes,
i forgot the index.php update :p
The fact is that for testing quantities, we need the column value in the product listing ;), so we have to modify the listing request too
Here is the last text file
There is another file to modify : product_listing.php located in /catalog/includes/modules/.
I added some lines to the original text file from cpidk to explain what to do in the same way.
Can be seen at http://www.promosat.fr
a simple way to remove the "add to cart" button from productinfo if quantity is = 0
1 file to edit (product_info.php)