Before the spelling "shampoo" became regularized in English, you could see it spelled "champoe."
The modern meaning of "shampoo" as "washing the hair" dates to 1860. You can read a detailed history about shampoo in this Wikipedia article: Shampoo.
Photo by Kerry Lannert at Flickr.