My kids (4 and 9) have learned to behave at the grocery store. Didn't always used to be the case. We've had some success emphasizing selflessness. Our kids were getting the impression that they were the center of our universe and everything revolved around them. Of course, we love them more...