Our daughter used to have tantrums whenever we would get to the checkout counter at the store because she wanted a treat. We learned to prepare her by telling her in the car as we approached the store: "Mommy is going to buy some good food and a treat when we go to the store. If there is no crying at the checkout, we'll eat that treat when we get home."