Shopping cart seat?

My baby is 7 months & I was wondering if he'd be able to sit in the seat of a shopping cart? He can sit up on his own.