private static void processBasketNode(CBasket bk) { int cnt = bk.GetBasketItemCount(); bk.ClearItem(); for (int i = 0; i < cnt; i++) { CBasketItem bi = bk.GetBasketItem(i); if (bi.Quantity > 0) { bk.AddItem(bi); } } }