I recently started working earlier this month as a cashier and I was wondering when it would be appropriate to ask about switching departments.
You might not have to do much more than simply ask an upper manager, if your store's Grocery, GM, or Click List needs the help.
Go for it. Ask around.