If retailers defy the law, they will get slapped with a $500 fine.