Much of the university requirement is a bit of an anachronism because a lot of the underlying reasoning is nominally based on the scenario of pharmacists manufacturing their own drugs in the backroom, but fortunately there seems to be a lot of political agreement that opening up requirements for theoretical efficiency gains would only enrich aggressive investors without making health noticeably cheaper.
She had to take a bunch of classes at the local branch of the state university system and then pass a certification.
There's a lot more advanced stuff pharmacists are qualified to do. Pills don't require much work, but liquids and powders may need to be mixed. Also they often can prescribe certain things like morning after pills for birth control.
Also pharmacists work in other places besides retail like hospitals.
They are usually the highest paid employees in a store, unless it's a Walmart where the general store manager can make just over six figures.
It's not a terrible gig, with only a 2-year program after your bachelor's.