well i was trying to make a simple code that checked if the product.avail was 0, then make it 1, so people could order out of stock products, but i've found somewhat of a workaround and allowed backordering to occur
More details on the backorder mod here:
http://forum.x-cart.com/viewtopic.php?p=116961#116961