All corporate towns may pass laws to require articles usually sold by dry or heaped measure, to be sold by weight, within their corporate limits.