The law on parking in parent and child spaces at supermarkets

Is it a crime? Will you get fined?