Shampoo- why?

What is the origin of the word “shampoo”?

It was invented when they couldn’t find any real poo.

Dictionary.com says it’s from the Hindu language and means ‘to press’.