I'm working on the same thing with very little success so far.
I've been able to show that a product is "out of stock" but still display the add_to_cart button. The problem is, as soon as it adds to the cart, some other script is seeing out of stock products in the cart and deleting them, then showing a "product expired" message.
If I get any further, I'll let you know. If anyone else can at least identify all the files that need changing for this mod, I'd appreciate it.
So far I've changed
/customer/cart.php
/skin1/customer/main/product.tpl
In my opinion, this should be a simple config option in x-cart where you can either allow out of stock purchases or not. It's the one non-feature keeping me from being completely satisfied with x-cart.
__________________
Mike Everland
CountyPaintball.com
|