How to predict the items a customer will buy in next transaction?



I am new to data science and I did follow some online examples on recommendation engine for movies. So forgive me if I am asking wrong questions.

Consider there is a huge user online shopping transaction data and I want to predict what the customer will buy in his next online shopping.

Is it possible to find this? Theoretically I believe it is possible but I don’t have a clue on machine learning. Can some one just point me in the right direction? If I know the approach, I think I can find a solution to this problem.

Thanks in advance.