Watching for hidden items is part of her job, so I'm not surprised she was spoken to about this, but I would have thought that unless she has a history of inattention that training would be more appropriate than a warning.
Does her manager/supervisor do any regular training, or test purchases to help the staff know what to look for? If not, that is something she should raise with them.