Law mandates safety measures for stores