@davecb You only need to catch the dog doing it once and use a high enough zap and they won't do it again. What is this nonsense about dogs not correlating what they did to the punishment. That's not true at all. They will stay away from the trash if the punishment is sufficiently high.
OP is...