I thought I'd found the solution in another post of yours, Shan (
http://forum.x-cart.com/viewtopic.php?t=12019). This also dealt with the add to cart button taking people to the product details page rather than to the cart when a product has a zero price, but when I tried that modification I was back to having $0 x n = $0 in the cart again.