Ice cream vendors have always relied on music as a marketing tool. At the end of the 1800s, ice cream pushcart owners sang little verses “in praise of their lemon ice cream and vanilla too” to attract customers, according to the paper “Ding Ding!: The Commodity Aesthetic of Ice Cream Music,” by the ethnomusicologist Daniel T. Neely.
Source: The company that has a monopoly on ice cream truck music