Be it further enacted, That the mayor and council of said city be and are hereby empowered and authorized to regulate by ordinances the selling, weighing, measuring of hay, wood, ice, coal, coke, and all other articles and commodities sold by weight or measure; to require dealers to keep honest weights and measures, to give full and honest weight and measures; to provide for the inspection and regulation of such weights and measures; to provide that the marshal and policeman of said city shall have the power and authority to stop wagons or drays loaded with any of such articles and commodities and have the same measured or weighed; and see if the articles or commodities thereon are of full weight or measure; and to prescribe penalties for any violation of this section or ordinance adopted effectuating the same. The provisions of this section shall also apply to persons who reside without the limits of the city, bringing any of said articles or commodities in said city for sale.