The manufacturers would have to publish the contents for each UPC in a machine readable format.
Then the retailers would have to publish daily prices, again in a machine redable format.
...and the world would be a much nicer place for the consumer. Everyone could build apps on top of that, you could compare retailers, comparable items could be crowdsourced (eg, 1L of 3.5% fat milk and a list of all UPCs for that), shopping list apps could calculate the cheapest options to choose the cheapest store, or in cases with multiple stores in a cluster, tell you what to buy where, etc.
And the best thing is, that nobody actually regulates any prices or item sizes, just the consumer gets more informed.