for example, to look up the cart quantity where recID is "22" you could use this code:
$yourCartName->ConditionalTotal("Quantity", "recID", "22")
where yourCartName is the name of your cart object.
I think I understand this one; what I need is something like this:
Does that make sense??