Maybe some German law?? Or just common practice in Germany?
Edit: I think I confused your response with parent. I understand price/kg is a thing although I didn't knew it was mandated by law. What I don't understand is being forced to use some odd unit like price per 500g.