Customers like to believe that businesses understand them. The incorporation of mobile into the store allows tracking of their previous purchases and search history to target each customer as an individual with customized recommendations and repeatable baskets.Furthermore, mobile apps with inbuilt machine learning algorithms can remind users when they are likely to run out of groceries and help them prepare the to-buy list automatically. Customer scans reciepts on App, App stores analyzes data and user gets notifications on low inventory, automated shopping lists every month/weekly and nearest store suggestions. Buying patterns can be analyzed for diet and health products recommendations etc.
Reference : https://blog.aspiresys.com/retail/building-a-better-in-store-grocery-experience/