To avoid this all together, have your groceries delivered. If that’s not possible, try using a basket, not a cart, when you shop. It will cut down on what you need to take home with you and force you to prioritize the groceries you buy. You can also try visiting your close-by store more often and picking up only what you need each time, like much of Europe already does.