Pilgrim's hat

The shield of Gossel, Germany features Saint James wearing a pilgrim's hat with the scallop shell on the front brim

A pilgrim's hat, cockel hat or traveller's hat is a wide-brimmed hat used to keep off the sun.

Examples of pilgrim's hats with scallops on them.