Michigan in the 90s had a similar rule. Customer gets 10x the overcharge (up to $5 max). I can guarantee you they fixed the price immediately.
Where I live there’s no such rule I can tell you no one is correcting the price when I point out that I got overcharged (they usually shrug with “it does that sometimes”).
"It does that sometimes." I guess for some reason the minimum wage cashier was not fully invested in maximizing the customer experience.