[ic] 5.3.1 - Out of stock products

Mike Heins mike at perusion.com
Sat Oct 22 10:29:36 EDT 2005

Quoting Andreas Grau (agrau at esquat.com):
> Out of stock items can be preordered, ie. put into the cart using a 
> quantity of zero (enforced). Zero quantity items are, however, 
> completely removed from the cart later, leaving no trace of preordered 
> items.
> I am tempted to suggest that there should be no automatic removal for 
> zero quantities, but only for qty < 0. This would leave it open to the 
> catalog to mark and handle preorders.
> lib/Vend/Cart.pm may introduce a pack()-sub to kick zero quantities out 
> of the cart if needed. And a catalog.cfg compatibility flag may change 
> toss_cart() to old behaviour as well.

It would seem to make more sense to me to put the items in a separate cart
with a non-zero quantity. After all, you don't order zero of something...

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Making the simple complex, that is easy -- anyone can do that.
But to make the complex simple, awesomely simple, that is
true creativity.  -- Charles Mingus 

More information about the interchange-users mailing list