It happens here from time to time as well. Parents leaving children in car to go to the casino.
afterthought: you can buy devices to alert the driver. It's when the driver is away that worries me too, plus people just don't realize how hot a car can get even in a very short time like 10 mins. There is also the need to educate people about these dangers. People also leave their pets in cars too.
I know there are devices to alert parents, but they need something to alert passers-by and they could do that by using a device or devices which measure weight in car seat and also could have a temperature alert system connected to the main alarm system panel somehow. Then it would be silent if the car was running or the air-con was on, but after a certain amount of time it would set off the alarm externally. Not just to the driver's alarm device on the key ring.
They should then have some subsidy system whereby parents can actually afford the device. The main barrier is always going to be that people won't get something installed either because of cost or because they're lazy. Same with specialized car seats per age of child. Still see people driving around here with inadequate child seats or their toddler sitting in the front passenger seat which is highly dangerous as well as illegal.