If they're not actually recording the audio (just a boolean of whether or not the cashier said "did you find everything you needed?"), they might not need anyone's consent.
Which would require the somehow the audio is "intercepted" to analyze that the greeting was said. Two-party consent state include that action. Storage is another thing, no?