Nine stores in Manhattan and the Bronx have been hit with $200 fines for leaving their doors open on hot days in the hope that the escaping cool air would lure sweaty customers. They are the first to be fined as part of a law enacted in 2008.

Last year, only warnings were given out. So far this year, the city’s Department of Consumer Affairs has inspected 105 stores. Seventy were in compliance, 26 were issued warnings and 9 that had been warned last year were fined, said Kay Sarlin, a department spokeswoman.

Fines start at $200, and go to $400 for any further infractions in the following 18 months. The legislation states that any business larger than 4,000 square feet or part of a chain with five or more stores in the city must keep its doors closed when using air-conditioning.

Ms. Sarlin said four of the stores were in the Bronx: Jeans Plus, 62 East 170th Street; Bronx Kidstown, 4100 East 170th Street; Jimmy Jazz, 101 East 170th Street; and V.I.M., 540 Bergen Avenue.