You were absolutely correct in your decision. She is your child and you make the rules. I don't think it was rude for her not to speak to the cashier. He should've been speaking to you anyhow, not your child. I would have felt very protective myself if he would've been so rude to my child and reacted like a mama bear. Good for you.