From Middle English botere; equivalent to boat + -er. The use of the term for a straw hat stems from the fact that straw hats were the preferred head covering during sunny boat trips on canals and rivers.
Practice speaking and memorizing "boater" and many other words and sentences in English.