[phplib] cart set_item() problem From: Claas Hilbrecht (Claas.Hilbrecht <email protected>)
Date: 04/27/00

I want to use the function set_item() to remove an item out of my
shopping cart. I can set the value of my item up/down to different
quantities, but if I set the value to zero the item is not removed from
my cart. The documantation says, the item would be removed if the value
is set to zero! What´s going wrong???

My code:

$var="itemno";
$value=0;
$cart->set_item($var, $value);

Mit freundlichem Gruss
Claas Hilbrecht

Linum Software GmbH
http://www.linum.com
Tel: 05561-971070
Fax: 05561-971071

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>