Cities of the second class and villages shall have power to (1) provide for the inspection and weighing of hay, grain, and coal, and the measuring of wood and fuel to be used in the city or village, (2) regulate and prescribe the place or places for sale of hay, coal, and wood, and (3) fix the fees and duties of persons authorized to perform inspections under this section.