I learnt to my cost that you need to wait till after you have printed the receipt before pointing out the mistake. If you point it out before checking out, you have to pay the correct price, but if you point it out when you have a receipt, you will be refunded the entire price.